@bexis2/bexis2-core-ui 0.4.81 → 0.4.82
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 +4 -0
- package/dist/components/Table/TableContent.svelte +35 -13
- package/dist/components/Table/TableFilterServer.svelte +3 -0
- package/dist/components/Table/TableFilterServer.svelte.d.ts +1 -0
- package/dist/components/Table/TablePaginationServer.svelte +7 -3
- package/dist/components/Table/TablePaginationServer.svelte.d.ts +1 -0
- package/package.json +1 -1
- package/src/lib/components/Table/TableContent.svelte +57 -24
- package/src/lib/components/Table/TableFilterServer.svelte +3 -0
- package/src/lib/components/Table/TablePaginationServer.svelte +9 -3
- package/dist/__package_types_tmp__/TableView.svelte.d.ts +0 -23
- package/dist/__package_types_tmp__/components/CodeEditor/CodeEditor.svelte.d.ts +0 -32
- package/dist/__package_types_tmp__/components/Facets/Facets.svelte.d.ts +0 -27
- package/dist/__package_types_tmp__/components/Facets/ShowMore.svelte.d.ts +0 -19
- package/dist/__package_types_tmp__/components/File/FileIcon.svelte.d.ts +0 -23
- package/dist/__package_types_tmp__/components/File/FileInfo.svelte.d.ts +0 -27
- package/dist/__package_types_tmp__/components/File/FileUploader.svelte.d.ts +0 -28
- package/dist/__package_types_tmp__/components/ListView.svelte.d.ts +0 -14
- package/dist/__package_types_tmp__/components/Table/ColumnsMenu.svelte.d.ts +0 -21
- package/dist/__package_types_tmp__/components/Table/Table.svelte.d.ts +0 -19
- package/dist/__package_types_tmp__/components/Table/TableContent.svelte.d.ts +0 -19
- package/dist/__package_types_tmp__/components/Table/TableFilter.svelte.d.ts +0 -23
- package/dist/__package_types_tmp__/components/Table/TableFilterServer.svelte.d.ts +0 -23
- package/dist/__package_types_tmp__/components/Table/TablePagination.svelte.d.ts +0 -19
- package/dist/__package_types_tmp__/components/Table/TablePaginationServer.svelte.d.ts +0 -20
- package/dist/__package_types_tmp__/components/Table/filter.d.ts +0 -4
- package/dist/__package_types_tmp__/components/Table/utils.d.ts +0 -34
- package/dist/__package_types_tmp__/components/form/Checkbox.svelte.d.ts +0 -26
- package/dist/__package_types_tmp__/components/form/CheckboxKvPList.svelte.d.ts +0 -24
- package/dist/__package_types_tmp__/components/form/CheckboxList.svelte.d.ts +0 -22
- package/dist/__package_types_tmp__/components/form/DateInput.svelte.d.ts +0 -28
- package/dist/__package_types_tmp__/components/form/Dropdown.svelte.d.ts +0 -47
- package/dist/__package_types_tmp__/components/form/DropdownKvP.svelte.d.ts +0 -49
- package/dist/__package_types_tmp__/components/form/InputContainer.svelte.d.ts +0 -23
- package/dist/__package_types_tmp__/components/form/MultiSelect.svelte.d.ts +0 -81
- package/dist/__package_types_tmp__/components/form/NumberInput.svelte.d.ts +0 -31
- package/dist/__package_types_tmp__/components/form/TextArea.svelte.d.ts +0 -29
- package/dist/__package_types_tmp__/components/form/TextInput.svelte.d.ts +0 -29
- package/dist/__package_types_tmp__/components/page/Alert.svelte.d.ts +0 -22
- package/dist/__package_types_tmp__/components/page/BackToTop.svelte.d.ts +0 -23
- package/dist/__package_types_tmp__/components/page/Docs.svelte.d.ts +0 -18
- package/dist/__package_types_tmp__/components/page/ErrorMessage.svelte.d.ts +0 -16
- package/dist/__package_types_tmp__/components/page/Footer.svelte.d.ts +0 -14
- package/dist/__package_types_tmp__/components/page/GoToTop.svelte.d.ts +0 -23
- package/dist/__package_types_tmp__/components/page/Header.svelte.d.ts +0 -14
- package/dist/__package_types_tmp__/components/page/HelpPopUp.svelte.d.ts +0 -16
- package/dist/__package_types_tmp__/components/page/Notification.svelte.d.ts +0 -14
- package/dist/__package_types_tmp__/components/page/Page.svelte.d.ts +0 -30
- package/dist/__package_types_tmp__/components/page/PageCaller.d.ts +0 -3
- package/dist/__package_types_tmp__/components/page/Spinner.svelte.d.ts +0 -19
- package/dist/__package_types_tmp__/components/page/TablePlaceholder.svelte.d.ts +0 -17
- package/dist/__package_types_tmp__/components/page/breadcrumb/Breadcrumb.svelte.d.ts +0 -16
- package/dist/__package_types_tmp__/components/page/breadcrumb/BreadcrumbDataCaller.d.ts +0 -1
- package/dist/__package_types_tmp__/components/page/menu/Menu.svelte.d.ts +0 -14
- package/dist/__package_types_tmp__/components/page/menu/MenuAccountBar.svelte.d.ts +0 -17
- package/dist/__package_types_tmp__/components/page/menu/MenuBar.svelte.d.ts +0 -17
- package/dist/__package_types_tmp__/components/page/menu/MenuDataCaller.d.ts +0 -1
- package/dist/__package_types_tmp__/components/page/menu/MenuItem.svelte.d.ts +0 -18
- package/dist/__package_types_tmp__/components/page/menu/MenuSublist.svelte.d.ts +0 -17
- package/dist/__package_types_tmp__/components/page/menu/SettingsBar.svelte.d.ts +0 -17
- package/dist/__package_types_tmp__/components/toggle/Toggle.svelte.d.ts +0 -31
- package/dist/__package_types_tmp__/index.d.ts +0 -48
- package/dist/__package_types_tmp__/models/Enums.d.ts +0 -51
- package/dist/__package_types_tmp__/models/Models.d.ts +0 -196
- package/dist/__package_types_tmp__/models/Page.d.ts +0 -32
- package/dist/__package_types_tmp__/services/Api.d.ts +0 -7
- package/dist/__package_types_tmp__/services/BaseCaller.d.ts +0 -1
- package/dist/__package_types_tmp__/stores/apiStores.d.ts +0 -8
- package/dist/__package_types_tmp__/stores/pageStores.d.ts +0 -34
- package/dist/__package_types_tmp__/themes/theme-bexis2.d.ts +0 -2
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/** @typedef {typeof __propDef.props} GoToTopProps */
|
|
2
|
-
/** @typedef {typeof __propDef.events} GoToTopEvents */
|
|
3
|
-
/** @typedef {typeof __propDef.slots} GoToTopSlots */
|
|
4
|
-
export default class GoToTop extends SvelteComponent<{
|
|
5
|
-
showAtPixel?: number | undefined;
|
|
6
|
-
}, {
|
|
7
|
-
[evt: string]: CustomEvent<any>;
|
|
8
|
-
}, {}> {
|
|
9
|
-
}
|
|
10
|
-
export type GoToTopProps = typeof __propDef.props;
|
|
11
|
-
export type GoToTopEvents = typeof __propDef.events;
|
|
12
|
-
export type GoToTopSlots = typeof __propDef.slots;
|
|
13
|
-
import { SvelteComponent } from "svelte";
|
|
14
|
-
declare const __propDef: {
|
|
15
|
-
props: {
|
|
16
|
-
showAtPixel?: number | undefined;
|
|
17
|
-
};
|
|
18
|
-
events: {
|
|
19
|
-
[evt: string]: CustomEvent<any>;
|
|
20
|
-
};
|
|
21
|
-
slots: {};
|
|
22
|
-
};
|
|
23
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent } 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 HeaderProps = typeof __propDef.props;
|
|
10
|
-
export type HeaderEvents = typeof __propDef.events;
|
|
11
|
-
export type HeaderSlots = typeof __propDef.slots;
|
|
12
|
-
export default class Header extends SvelteComponent<HeaderProps, HeaderEvents, HeaderSlots> {
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
active?: boolean;
|
|
5
|
-
};
|
|
6
|
-
events: {
|
|
7
|
-
[evt: string]: CustomEvent<any>;
|
|
8
|
-
};
|
|
9
|
-
slots: {};
|
|
10
|
-
};
|
|
11
|
-
export type HelpPopUpProps = typeof __propDef.props;
|
|
12
|
-
export type HelpPopUpEvents = typeof __propDef.events;
|
|
13
|
-
export type HelpPopUpSlots = typeof __propDef.slots;
|
|
14
|
-
export default class HelpPopUp extends SvelteComponent<HelpPopUpProps, HelpPopUpEvents, HelpPopUpSlots> {
|
|
15
|
-
}
|
|
16
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent } 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 SvelteComponent<NotificationProps, NotificationEvents, NotificationSlots> {
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
|
2
|
-
import type { linkType } from '$lib/models/Models';
|
|
3
|
-
import { pageContentLayoutType } from '$lib/models/Enums';
|
|
4
|
-
declare const __propDef: {
|
|
5
|
-
props: {
|
|
6
|
-
title?: string;
|
|
7
|
-
note?: string;
|
|
8
|
-
links?: linkType[];
|
|
9
|
-
menu?: boolean;
|
|
10
|
-
footer?: boolean;
|
|
11
|
-
help?: boolean;
|
|
12
|
-
contentLayoutType?: pageContentLayoutType;
|
|
13
|
-
fixLeft?: boolean;
|
|
14
|
-
};
|
|
15
|
-
events: {
|
|
16
|
-
[evt: string]: CustomEvent<any>;
|
|
17
|
-
};
|
|
18
|
-
slots: {
|
|
19
|
-
description: {};
|
|
20
|
-
left: {};
|
|
21
|
-
default: {};
|
|
22
|
-
right: {};
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
export type PageProps = typeof __propDef.props;
|
|
26
|
-
export type PageEvents = typeof __propDef.events;
|
|
27
|
-
export type PageSlots = typeof __propDef.slots;
|
|
28
|
-
export default class Page extends SvelteComponent<PageProps, PageEvents, PageSlots> {
|
|
29
|
-
}
|
|
30
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
|
2
|
-
import { positionType } from '$lib/models/Enums';
|
|
3
|
-
declare const __propDef: {
|
|
4
|
-
props: {
|
|
5
|
-
textCss?: string;
|
|
6
|
-
label?: string;
|
|
7
|
-
position?: positionType;
|
|
8
|
-
};
|
|
9
|
-
events: {
|
|
10
|
-
[evt: string]: CustomEvent<any>;
|
|
11
|
-
};
|
|
12
|
-
slots: {};
|
|
13
|
-
};
|
|
14
|
-
export type SpinnerProps = typeof __propDef.props;
|
|
15
|
-
export type SpinnerEvents = typeof __propDef.events;
|
|
16
|
-
export type SpinnerSlots = typeof __propDef.slots;
|
|
17
|
-
export default class Spinner extends SvelteComponent<SpinnerProps, SpinnerEvents, SpinnerSlots> {
|
|
18
|
-
}
|
|
19
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
cols?: number;
|
|
5
|
-
rows?: number;
|
|
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 SvelteComponent<TablePlaceholderProps, TablePlaceholderEvents, TablePlaceholderSlots> {
|
|
16
|
-
}
|
|
17
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
|
2
|
-
declare const __propDef: {
|
|
3
|
-
props: {
|
|
4
|
-
title: any;
|
|
5
|
-
};
|
|
6
|
-
events: {
|
|
7
|
-
[evt: string]: CustomEvent<any>;
|
|
8
|
-
};
|
|
9
|
-
slots: {};
|
|
10
|
-
};
|
|
11
|
-
export type BreadcrumbProps = typeof __propDef.props;
|
|
12
|
-
export type BreadcrumbEvents = typeof __propDef.events;
|
|
13
|
-
export type BreadcrumbSlots = typeof __propDef.slots;
|
|
14
|
-
export default class Breadcrumb extends SvelteComponent<BreadcrumbProps, BreadcrumbEvents, BreadcrumbSlots> {
|
|
15
|
-
}
|
|
16
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function getApplicationName(): Promise<any>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent } 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 MenuProps = typeof __propDef.props;
|
|
10
|
-
export type MenuEvents = typeof __propDef.events;
|
|
11
|
-
export type MenuSlots = typeof __propDef.slots;
|
|
12
|
-
export default class Menu extends SvelteComponent<MenuProps, MenuEvents, MenuSlots> {
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
|
2
|
-
import type { menuItemType } from '../../../models/Page';
|
|
3
|
-
declare const __propDef: {
|
|
4
|
-
props: {
|
|
5
|
-
menuBar: menuItemType[];
|
|
6
|
-
};
|
|
7
|
-
events: {
|
|
8
|
-
[evt: string]: CustomEvent<any>;
|
|
9
|
-
};
|
|
10
|
-
slots: {};
|
|
11
|
-
};
|
|
12
|
-
export type MenuAccountBarProps = typeof __propDef.props;
|
|
13
|
-
export type MenuAccountBarEvents = typeof __propDef.events;
|
|
14
|
-
export type MenuAccountBarSlots = typeof __propDef.slots;
|
|
15
|
-
export default class MenuAccountBar extends SvelteComponent<MenuAccountBarProps, MenuAccountBarEvents, MenuAccountBarSlots> {
|
|
16
|
-
}
|
|
17
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
|
2
|
-
import type { menuItemType } from '../../../models/Page';
|
|
3
|
-
declare const __propDef: {
|
|
4
|
-
props: {
|
|
5
|
-
menuBar: menuItemType[];
|
|
6
|
-
};
|
|
7
|
-
events: {
|
|
8
|
-
[evt: string]: CustomEvent<any>;
|
|
9
|
-
};
|
|
10
|
-
slots: {};
|
|
11
|
-
};
|
|
12
|
-
export type MenuBarProps = typeof __propDef.props;
|
|
13
|
-
export type MenuBarEvents = typeof __propDef.events;
|
|
14
|
-
export type MenuBarSlots = typeof __propDef.slots;
|
|
15
|
-
export default class MenuBar extends SvelteComponent<MenuBarProps, MenuBarEvents, MenuBarSlots> {
|
|
16
|
-
}
|
|
17
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function getMenuItems(): Promise<any>;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
|
2
|
-
import type { menuItemType } from '../../../models/Page';
|
|
3
|
-
declare const __propDef: {
|
|
4
|
-
props: {
|
|
5
|
-
menubarItem: menuItemType;
|
|
6
|
-
comboboxValue: any;
|
|
7
|
-
};
|
|
8
|
-
events: {
|
|
9
|
-
[evt: string]: CustomEvent<any>;
|
|
10
|
-
};
|
|
11
|
-
slots: {};
|
|
12
|
-
};
|
|
13
|
-
export type MenuItemProps = typeof __propDef.props;
|
|
14
|
-
export type MenuItemEvents = typeof __propDef.events;
|
|
15
|
-
export type MenuItemSlots = typeof __propDef.slots;
|
|
16
|
-
export default class MenuItem extends SvelteComponent<MenuItemProps, MenuItemEvents, MenuItemSlots> {
|
|
17
|
-
}
|
|
18
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
|
2
|
-
import type { menuItemType } from '../../../models/Page';
|
|
3
|
-
declare const __propDef: {
|
|
4
|
-
props: {
|
|
5
|
-
items: menuItemType[];
|
|
6
|
-
};
|
|
7
|
-
events: {
|
|
8
|
-
[evt: string]: CustomEvent<any>;
|
|
9
|
-
};
|
|
10
|
-
slots: {};
|
|
11
|
-
};
|
|
12
|
-
export type MenuSublistProps = typeof __propDef.props;
|
|
13
|
-
export type MenuSublistEvents = typeof __propDef.events;
|
|
14
|
-
export type MenuSublistSlots = typeof __propDef.slots;
|
|
15
|
-
export default class MenuSublist extends SvelteComponent<MenuSublistProps, MenuSublistEvents, MenuSublistSlots> {
|
|
16
|
-
}
|
|
17
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
|
2
|
-
import type { menuItemType } from '$models/Page';
|
|
3
|
-
declare const __propDef: {
|
|
4
|
-
props: {
|
|
5
|
-
menuBar: menuItemType[];
|
|
6
|
-
};
|
|
7
|
-
events: {
|
|
8
|
-
[evt: string]: CustomEvent<any>;
|
|
9
|
-
};
|
|
10
|
-
slots: {};
|
|
11
|
-
};
|
|
12
|
-
export type SettingsBarProps = typeof __propDef.props;
|
|
13
|
-
export type SettingsBarEvents = typeof __propDef.events;
|
|
14
|
-
export type SettingsBarSlots = typeof __propDef.slots;
|
|
15
|
-
export default class SettingsBar extends SvelteComponent<SettingsBarProps, SettingsBarEvents, SettingsBarSlots> {
|
|
16
|
-
}
|
|
17
|
-
export {};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
|
2
|
-
import type { CssClasses } from '@skeletonlabs/skeleton';
|
|
3
|
-
declare const __propDef: {
|
|
4
|
-
props: {
|
|
5
|
-
[x: string]: any;
|
|
6
|
-
title?: string | undefined;
|
|
7
|
-
bgLight?: CssClasses | undefined;
|
|
8
|
-
bgDark?: CssClasses | undefined;
|
|
9
|
-
fillLight?: CssClasses | undefined;
|
|
10
|
-
fillDark?: CssClasses | undefined;
|
|
11
|
-
width?: CssClasses | undefined;
|
|
12
|
-
height?: CssClasses | undefined;
|
|
13
|
-
ring?: CssClasses | undefined;
|
|
14
|
-
rounded?: CssClasses | undefined;
|
|
15
|
-
};
|
|
16
|
-
events: {
|
|
17
|
-
click: MouseEvent;
|
|
18
|
-
keydown: KeyboardEvent;
|
|
19
|
-
keyup: KeyboardEvent;
|
|
20
|
-
keypress: KeyboardEvent;
|
|
21
|
-
} & {
|
|
22
|
-
[evt: string]: CustomEvent<any>;
|
|
23
|
-
};
|
|
24
|
-
slots: {};
|
|
25
|
-
};
|
|
26
|
-
export type ToggleProps = typeof __propDef.props;
|
|
27
|
-
export type ToggleEvents = typeof __propDef.events;
|
|
28
|
-
export type ToggleSlots = typeof __propDef.slots;
|
|
29
|
-
export default class Toggle extends SvelteComponent<ToggleProps, ToggleEvents, ToggleSlots> {
|
|
30
|
-
}
|
|
31
|
-
export {};
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import FileIcon from './components/File/FileIcon.svelte';
|
|
2
|
-
import FileInfo from './components/File/FileInfo.svelte';
|
|
3
|
-
import FileUploader from './components/File/FileUploader.svelte';
|
|
4
|
-
import Spinner from './components/page/Spinner.svelte';
|
|
5
|
-
import Page from './components/page/Page.svelte';
|
|
6
|
-
import Alert from './components/page/Alert.svelte';
|
|
7
|
-
import Menu from './components/page/menu/Menu.svelte';
|
|
8
|
-
import ErrorMessage from './components/page/ErrorMessage.svelte';
|
|
9
|
-
import Checkbox from './components/form/Checkbox.svelte';
|
|
10
|
-
import CheckboxKVPList from './components/form/CheckboxKvPList.svelte';
|
|
11
|
-
import CheckboxList from './components/form/CheckboxList.svelte';
|
|
12
|
-
import DateInput from './components/form/DateInput.svelte';
|
|
13
|
-
import DropdownKVP from './components/form/DropdownKvP.svelte';
|
|
14
|
-
import Dropdown from './components/form/Dropdown.svelte';
|
|
15
|
-
import MultiSelect from './components/form/MultiSelect.svelte';
|
|
16
|
-
import NumberInput from './components/form/NumberInput.svelte';
|
|
17
|
-
import TextInput from './components/form/TextInput.svelte';
|
|
18
|
-
import TextArea from './components/form/TextArea.svelte';
|
|
19
|
-
import Table from './components/Table/Table.svelte';
|
|
20
|
-
import TableFilter from './components/Table/TableFilter.svelte';
|
|
21
|
-
import { columnFilter, searchFilter } from './components/Table/filter';
|
|
22
|
-
import type { TableConfig, Columns, Column } from './models/Models';
|
|
23
|
-
import Facets from './components/Facets/Facets.svelte';
|
|
24
|
-
import type { FacetGroup, FacetOption, SelectedFacetGroup } from './models/Models';
|
|
25
|
-
import CodeEditor from './components/CodeEditor/CodeEditor.svelte';
|
|
26
|
-
import Notification from './components/page/Notification.svelte';
|
|
27
|
-
import TablePlaceholder from './components/page/TablePlaceholder.svelte';
|
|
28
|
-
import { bexis2theme } from './themes/theme-bexis2';
|
|
29
|
-
export { Checkbox, CheckboxKVPList, CheckboxList, DateInput, DropdownKVP, Dropdown, MultiSelect, NumberInput, TextArea, TextInput };
|
|
30
|
-
export { FileInfo, FileIcon, FileUploader };
|
|
31
|
-
export { Spinner, Page, Alert, Menu, ErrorMessage };
|
|
32
|
-
export { Api } from './services/Api.js';
|
|
33
|
-
export { host, username, password, setApiConfig } from './stores/apiStores.js';
|
|
34
|
-
export type { userType, inputType, fileUploaderType, linkType, listItemType, keyValuePairType, fileInfoType, fileReaderInfoType, asciiFileReaderInfoType } from './models/Models.js';
|
|
35
|
-
export { helpStore } from '$store/pageStores';
|
|
36
|
-
export type { helpStoreType, helpItemType } from './models/Models';
|
|
37
|
-
export { notificationStore } from '$store/pageStores';
|
|
38
|
-
export type { notificationItemType, notificationStoreType } from './models/Models';
|
|
39
|
-
export { notificationType } from './models/Enums';
|
|
40
|
-
export { Notification };
|
|
41
|
-
export { TablePlaceholder };
|
|
42
|
-
export { positionType, pageContentLayoutType, decimalCharacterType, orientationType, textMarkerType, textSeperatorType } from './models/Enums';
|
|
43
|
-
export { Table, TableFilter, columnFilter, searchFilter };
|
|
44
|
-
export { Facets };
|
|
45
|
-
export type { FacetGroup, FacetOption, SelectedFacetGroup };
|
|
46
|
-
export { CodeEditor };
|
|
47
|
-
export type { TableConfig, Columns, Column };
|
|
48
|
-
export { bexis2theme };
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
export declare enum positionType {
|
|
2
|
-
start = "start",
|
|
3
|
-
end = "end",
|
|
4
|
-
center = "center"
|
|
5
|
-
}
|
|
6
|
-
export declare enum pageContentLayoutType {
|
|
7
|
-
full = "full",
|
|
8
|
-
center = "center"
|
|
9
|
-
}
|
|
10
|
-
export declare enum decimalCharacterType {
|
|
11
|
-
point = 0,
|
|
12
|
-
comma = 1
|
|
13
|
-
}
|
|
14
|
-
export declare enum orientationType {
|
|
15
|
-
columnwise = 0,
|
|
16
|
-
rowwise = 1
|
|
17
|
-
}
|
|
18
|
-
export declare enum textSeperatorType {
|
|
19
|
-
tab = 9,
|
|
20
|
-
comma = 44,
|
|
21
|
-
semicolon = 59,
|
|
22
|
-
space = 32
|
|
23
|
-
}
|
|
24
|
-
export declare enum textMarkerType {
|
|
25
|
-
quotes = 0,
|
|
26
|
-
doubleQuotes = 1
|
|
27
|
-
}
|
|
28
|
-
export declare enum notificationType {
|
|
29
|
-
success = 0,
|
|
30
|
-
warning = 1,
|
|
31
|
-
error = 2,
|
|
32
|
-
surface = 3
|
|
33
|
-
}
|
|
34
|
-
export declare enum FilterOptionsEnum {
|
|
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
|
-
'no' = "no"
|
|
51
|
-
}
|
|
@@ -1,196 +0,0 @@
|
|
|
1
|
-
import type { SvelteComponent } from 'svelte';
|
|
2
|
-
import type { ColumnFilterFn } from 'svelte-headless-table/lib/plugins';
|
|
3
|
-
import type { Writable } from 'svelte/store';
|
|
4
|
-
import type { FilterOptionsEnum, decimalCharacterType, notificationType, orientationType, textMarkerType, textSeperatorType } from './Enums';
|
|
5
|
-
export interface linkType {
|
|
6
|
-
label: string;
|
|
7
|
-
url: string;
|
|
8
|
-
}
|
|
9
|
-
export interface inputType {
|
|
10
|
-
id: string;
|
|
11
|
-
label: string;
|
|
12
|
-
feedback: string[];
|
|
13
|
-
invalid: boolean;
|
|
14
|
-
valid: boolean;
|
|
15
|
-
required: boolean;
|
|
16
|
-
placeholder: string;
|
|
17
|
-
}
|
|
18
|
-
export interface fileInfoType {
|
|
19
|
-
name: string;
|
|
20
|
-
type: string;
|
|
21
|
-
length: number;
|
|
22
|
-
description: string;
|
|
23
|
-
validationHash: string;
|
|
24
|
-
}
|
|
25
|
-
export interface fileUploaderType {
|
|
26
|
-
accept: string[];
|
|
27
|
-
existingFiles: fileInfoType[];
|
|
28
|
-
descriptionType: number;
|
|
29
|
-
multiple: boolean;
|
|
30
|
-
maxSize: number;
|
|
31
|
-
}
|
|
32
|
-
export interface asciiFileReaderInfoType extends fileReaderInfoType {
|
|
33
|
-
cells: boolean[];
|
|
34
|
-
seperator: textSeperatorType;
|
|
35
|
-
textMarker: textMarkerType;
|
|
36
|
-
}
|
|
37
|
-
export interface fileReaderInfoType {
|
|
38
|
-
decimal: decimalCharacterType;
|
|
39
|
-
orientation: orientationType;
|
|
40
|
-
offset: number;
|
|
41
|
-
variables: number;
|
|
42
|
-
data: number;
|
|
43
|
-
unit: number;
|
|
44
|
-
description: number;
|
|
45
|
-
dateformat: string;
|
|
46
|
-
}
|
|
47
|
-
export interface filesType {
|
|
48
|
-
accepted: Blob[];
|
|
49
|
-
rejected: Blob[];
|
|
50
|
-
}
|
|
51
|
-
export type userType = {
|
|
52
|
-
name: string;
|
|
53
|
-
};
|
|
54
|
-
export interface fileObjType {
|
|
55
|
-
path: string;
|
|
56
|
-
lastModified: number;
|
|
57
|
-
lastModifiedDate: Date;
|
|
58
|
-
name: string;
|
|
59
|
-
size: number;
|
|
60
|
-
type: string;
|
|
61
|
-
webkitRelativePath: string;
|
|
62
|
-
}
|
|
63
|
-
export interface ColumnInstructions {
|
|
64
|
-
toStringFn?: (any: any) => string;
|
|
65
|
-
toSortableValueFn?: (any: any) => string | number;
|
|
66
|
-
toFilterableValueFn?: (any: any) => string | number | Date;
|
|
67
|
-
renderComponent?: typeof SvelteComponent;
|
|
68
|
-
}
|
|
69
|
-
export interface Column {
|
|
70
|
-
header?: string;
|
|
71
|
-
exclude?: boolean;
|
|
72
|
-
instructions?: ColumnInstructions;
|
|
73
|
-
disableFiltering?: boolean;
|
|
74
|
-
disableSorting?: boolean;
|
|
75
|
-
colFilterFn?: ColumnFilterFn;
|
|
76
|
-
colFilterComponent?: typeof SvelteComponent;
|
|
77
|
-
minWidth?: number;
|
|
78
|
-
fixedWidth?: number;
|
|
79
|
-
}
|
|
80
|
-
export interface Columns {
|
|
81
|
-
[key: string]: Column;
|
|
82
|
-
}
|
|
83
|
-
export type ServerConfig = {
|
|
84
|
-
baseUrl?: string;
|
|
85
|
-
sendModel?: Send;
|
|
86
|
-
entityId?: number;
|
|
87
|
-
versionId?: number;
|
|
88
|
-
};
|
|
89
|
-
export interface TableConfig<T> {
|
|
90
|
-
id: string;
|
|
91
|
-
data: Writable<T[]>;
|
|
92
|
-
resizable?: 'none' | 'rows' | 'columns' | 'both';
|
|
93
|
-
showColumnsMenu?: boolean;
|
|
94
|
-
toggle?: boolean;
|
|
95
|
-
search?: boolean;
|
|
96
|
-
fitToScreen?: boolean;
|
|
97
|
-
height?: null | number;
|
|
98
|
-
rowHeight?: number;
|
|
99
|
-
columns?: Columns;
|
|
100
|
-
exportable?: boolean;
|
|
101
|
-
pageSizes?: number[];
|
|
102
|
-
defaultPageSize?: number;
|
|
103
|
-
optionsComponent?: typeof SvelteComponent;
|
|
104
|
-
server?: ServerConfig;
|
|
105
|
-
}
|
|
106
|
-
export interface keyValuePairType {
|
|
107
|
-
id: number;
|
|
108
|
-
text: string;
|
|
109
|
-
}
|
|
110
|
-
export interface listItemType {
|
|
111
|
-
id: number;
|
|
112
|
-
text: string;
|
|
113
|
-
group: string;
|
|
114
|
-
description: string;
|
|
115
|
-
}
|
|
116
|
-
export interface helpItemType {
|
|
117
|
-
id?: string;
|
|
118
|
-
name: string;
|
|
119
|
-
description: string;
|
|
120
|
-
link?: string;
|
|
121
|
-
}
|
|
122
|
-
export interface helpStoreType {
|
|
123
|
-
itemId?: string;
|
|
124
|
-
helpItems: helpItemType[];
|
|
125
|
-
}
|
|
126
|
-
export interface notificationItemType {
|
|
127
|
-
notificationType?: notificationType;
|
|
128
|
-
message: string;
|
|
129
|
-
}
|
|
130
|
-
export interface notificationStoreType {
|
|
131
|
-
notificationType: notificationType;
|
|
132
|
-
message: string;
|
|
133
|
-
btnStyle: string;
|
|
134
|
-
}
|
|
135
|
-
export type ServerColumn = {
|
|
136
|
-
column: string;
|
|
137
|
-
key: string;
|
|
138
|
-
exclude?: boolean;
|
|
139
|
-
instructions?: {
|
|
140
|
-
missingValues?: {
|
|
141
|
-
[key: string | number]: string;
|
|
142
|
-
};
|
|
143
|
-
displayPattern?: string;
|
|
144
|
-
};
|
|
145
|
-
};
|
|
146
|
-
export type OrderBy = {
|
|
147
|
-
column: string;
|
|
148
|
-
direction: 'asc' | 'desc';
|
|
149
|
-
};
|
|
150
|
-
export type Filter = {
|
|
151
|
-
column: string;
|
|
152
|
-
filterBy: FilterOptionsEnum;
|
|
153
|
-
value: string | number | Date | boolean;
|
|
154
|
-
};
|
|
155
|
-
export interface FacetOption {
|
|
156
|
-
name: string;
|
|
157
|
-
displayName: string;
|
|
158
|
-
count?: number;
|
|
159
|
-
selected?: boolean;
|
|
160
|
-
}
|
|
161
|
-
export interface FacetGroup {
|
|
162
|
-
name: string;
|
|
163
|
-
displayName: string;
|
|
164
|
-
selected?: boolean;
|
|
165
|
-
children: FacetOption[];
|
|
166
|
-
count?: number;
|
|
167
|
-
}
|
|
168
|
-
export interface SelectedFacetGroup extends Omit<FacetGroup, 'children'> {
|
|
169
|
-
children: {
|
|
170
|
-
[key: string]: FacetOption;
|
|
171
|
-
};
|
|
172
|
-
}
|
|
173
|
-
export declare class Send {
|
|
174
|
-
id: number;
|
|
175
|
-
limit: number;
|
|
176
|
-
offset: number;
|
|
177
|
-
q: string;
|
|
178
|
-
version?: number;
|
|
179
|
-
filter: Filter[];
|
|
180
|
-
order: OrderBy[];
|
|
181
|
-
constructor();
|
|
182
|
-
}
|
|
183
|
-
export declare class Receive {
|
|
184
|
-
count: number;
|
|
185
|
-
data: any[];
|
|
186
|
-
send: Send;
|
|
187
|
-
columns?: ServerColumn[];
|
|
188
|
-
constructor();
|
|
189
|
-
}
|
|
190
|
-
export declare class errorType {
|
|
191
|
-
statusText: string;
|
|
192
|
-
status: number;
|
|
193
|
-
error: string;
|
|
194
|
-
stackTrace: string;
|
|
195
|
-
constructor();
|
|
196
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/********************************** */
|
|
2
|
-
export interface breadcrumbItemType {
|
|
3
|
-
label: string;
|
|
4
|
-
link: string;
|
|
5
|
-
}
|
|
6
|
-
export declare class BreadcrumbModel {
|
|
7
|
-
items: breadcrumbItemType[];
|
|
8
|
-
constructor();
|
|
9
|
-
}
|
|
10
|
-
/********************************** */
|
|
11
|
-
export declare class MenuModel {
|
|
12
|
-
Logo: logoType;
|
|
13
|
-
LaunchBar: menuItemType[];
|
|
14
|
-
MenuBar: menuItemType[];
|
|
15
|
-
AccountBar: menuItemType[];
|
|
16
|
-
Settings: menuItemType[];
|
|
17
|
-
Extended: menuItemType[];
|
|
18
|
-
}
|
|
19
|
-
export interface menuItemType {
|
|
20
|
-
Title: string;
|
|
21
|
-
Url: string;
|
|
22
|
-
Target: string;
|
|
23
|
-
Module: string;
|
|
24
|
-
Internal: boolean;
|
|
25
|
-
Items: menuItemType[];
|
|
26
|
-
}
|
|
27
|
-
export interface logoType {
|
|
28
|
-
Mime: string;
|
|
29
|
-
Name: string;
|
|
30
|
-
Data: string;
|
|
31
|
-
Height: number;
|
|
32
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare const Api: {
|
|
2
|
-
get: (url: any, request?: string, headers?: {}, config?: {}) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
3
|
-
delete: (url: any, request: any, headers?: {}, config?: {}) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
4
|
-
post: (url: any, request: any, headers?: {}, config?: {}) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
5
|
-
put: (url: any, request: any, headers?: {}, config?: {}) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
6
|
-
patch: (url: any, request: any, headers?: {}, config?: {}) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
7
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function goTo(url: any, intern?: boolean, target?: string): Promise<void>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { errorType } from '$models/Models';
|
|
2
|
-
export declare let host: string;
|
|
3
|
-
export declare let username: string;
|
|
4
|
-
export declare let password: string;
|
|
5
|
-
export declare let csrfToken: string;
|
|
6
|
-
export declare const csrfTokenStore: import("svelte/store").Writable<string>;
|
|
7
|
-
export declare const errorStore: import("svelte/store").Writable<errorType>;
|
|
8
|
-
export declare function setApiConfig(_host: string, _user: string, _pw: string): void;
|