@softwareone/spi-sv5-library 1.14.1 → 1.14.2
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 +221 -86
- package/dist/{Confirmation → components/confirmation}/Confirmation.svelte +1 -1
- package/dist/{Controls/AttachFile → components/controls/attach-file}/AttachFile.svelte +2 -2
- package/dist/{Controls/AttachFile → components/controls/attach-file}/AttachFile.svelte.d.ts +1 -1
- package/dist/{Controls/Input → components/controls/input}/Input.svelte +2 -2
- package/dist/{Controls/Input → components/controls/input}/Input.svelte.d.ts +1 -1
- package/dist/{Controls/Label → components/controls/label}/Label.svelte +1 -1
- package/dist/{Controls/RadioGroup → components/controls/radio-group}/RadioGroup.svelte +2 -2
- package/dist/{Controls/RadioGroup → components/controls/radio-group}/RadioGroup.svelte.d.ts +1 -1
- package/dist/{Controls/Select → components/controls/select}/Select.svelte +3 -3
- package/dist/{Controls/Select → components/controls/select}/Select.svelte.d.ts +2 -2
- package/dist/{Controls/TextArea → components/controls/textarea}/TextArea.svelte +2 -2
- package/dist/{Controls/TextArea → components/controls/textarea}/TextArea.svelte.d.ts +1 -1
- package/dist/{Controls/Toggle → components/controls/toggle}/Toggle.svelte +2 -2
- package/dist/{Controls/Toggle → components/controls/toggle}/Toggle.svelte.d.ts +1 -1
- package/dist/{DeleteConfirmation → components/delete-confirmation}/DeleteConfirmation.svelte +1 -1
- package/dist/{ErrorPage → components/error-page}/ErrorPage.svelte +2 -2
- package/dist/{Form → components/form}/Form.svelte +2 -2
- package/dist/components/form/index.d.ts +5 -0
- package/dist/components/form/index.js +4 -0
- package/dist/{Header → components/header}/Header.svelte +5 -5
- package/dist/{Header → components/header}/Header.svelte.d.ts +2 -2
- package/dist/{Header → components/header}/HeaderAccount.svelte +1 -1
- package/dist/{Header → components/header}/HeaderAccount.svelte.d.ts +1 -1
- package/dist/{HighlightPanel → components/highlight-panel}/HighlightPanel.svelte +1 -1
- package/dist/{HighlightPanel → components/highlight-panel}/HighlightPanel.svelte.d.ts +1 -1
- package/dist/{HighlightPanel → components/highlight-panel}/types.d.ts +1 -1
- package/dist/{Home → components/home}/Home.svelte +1 -1
- package/dist/{Home → components/home}/Home.svelte.d.ts +1 -1
- package/dist/components/index.d.ts +50 -0
- package/dist/components/index.js +39 -0
- package/dist/{Menu → components/menu}/MenuItem.svelte +1 -1
- package/dist/{Modal → components/modal}/ModalFooter.svelte +1 -1
- package/dist/{Processing → components/processing}/Processing.svelte +1 -1
- package/dist/{ProgressPage → components/progress-page}/ProgressPage.svelte +1 -1
- package/dist/{ProgressWizard → components/progress-wizard}/ProgressWizard.svelte +1 -1
- package/dist/{ProgressWizard → components/progress-wizard}/ProgressWizard.svelte.d.ts +1 -1
- package/dist/{Switcher → components/switcher}/Switcher.svelte +1 -1
- package/dist/{Switcher → components/switcher}/Switcher.svelte.d.ts +1 -1
- package/dist/{Table → components/table}/AdvancedFilter.svelte +1 -1
- package/dist/{Table → components/table}/Header.svelte +1 -1
- package/dist/{Table → components/table}/Pagination.svelte +1 -1
- package/dist/{Table → components/table}/Table.svelte +1 -1
- package/dist/{Table → components/table}/adapter/index.d.ts +1 -1
- package/dist/{Table → components/table}/adapter/index.js +1 -1
- package/dist/{Table → components/table}/index.d.ts +5 -4
- package/dist/{Tabs → components/tabs}/Tabs.svelte +1 -1
- package/dist/{Tabs → components/tabs}/Tabs.svelte.d.ts +1 -1
- package/dist/{Toast → components/toast}/state.svelte.d.ts +3 -3
- package/dist/{Toast → components/toast}/types.d.ts +1 -1
- package/dist/{Waffle → components/waffle}/Waffle.svelte +1 -0
- package/dist/index.d.ts +1 -56
- package/dist/index.js +1 -53
- package/package.json +5 -5
- package/dist/Form/index.d.ts +0 -6
- package/dist/Form/index.js +0 -11
- package/dist/{Accordion → components/accordion}/Accordion.svelte +0 -0
- package/dist/{Accordion → components/accordion}/Accordion.svelte.d.ts +0 -0
- package/dist/{Announcement → components/announcement}/Announcement.svelte +0 -0
- package/dist/{Announcement → components/announcement}/Announcement.svelte.d.ts +0 -0
- package/dist/{Announcement → components/announcement}/types.d.ts +0 -0
- package/dist/{Announcement → components/announcement}/types.js +0 -0
- package/dist/{Avatar → components/avatar}/Avatar.svelte +0 -0
- package/dist/{Avatar → components/avatar}/Avatar.svelte.d.ts +0 -0
- package/dist/{Button → components/button}/Button.svelte +0 -0
- package/dist/{Button → components/button}/Button.svelte.d.ts +0 -0
- package/dist/{Card → components/card}/Card.svelte +0 -0
- package/dist/{Card → components/card}/Card.svelte.d.ts +0 -0
- package/dist/{Chips → components/chips}/Chips.svelte +0 -0
- package/dist/{Chips → components/chips}/Chips.svelte.d.ts +0 -0
- package/dist/{Chips → components/chips}/enums.d.ts +0 -0
- package/dist/{Chips → components/chips}/enums.js +0 -0
- package/dist/{Confirmation → components/confirmation}/Confirmation.svelte.d.ts +0 -0
- package/dist/{Controls/AttachFile → components/controls/attach-file}/FileManager.svelte +0 -0
- package/dist/{Controls/AttachFile → components/controls/attach-file}/FileManager.svelte.d.ts +0 -0
- package/dist/{Controls/AttachFile → components/controls/attach-file}/Warnings.svelte +0 -0
- package/dist/{Controls/AttachFile → components/controls/attach-file}/Warnings.svelte.d.ts +0 -0
- package/dist/{Controls/Input → components/controls/input}/InputIcon.svelte +0 -0
- package/dist/{Controls/Input → components/controls/input}/InputIcon.svelte.d.ts +0 -0
- package/dist/{Controls/Label → components/controls/label}/Label.svelte.d.ts +0 -0
- package/dist/{Controls/Label → components/controls/label}/types.d.ts +0 -0
- package/dist/{Controls/Label → components/controls/label}/types.js +0 -0
- package/dist/{Controls/RadioGroup → components/controls/radio-group}/types.d.ts +0 -0
- package/dist/{Controls/RadioGroup → components/controls/radio-group}/types.js +0 -0
- package/dist/{Controls/Select → components/controls/select}/types.d.ts +0 -0
- package/dist/{Controls/Select → components/controls/select}/types.js +0 -0
- package/dist/{DeleteConfirmation → components/delete-confirmation}/DeleteConfirmation.svelte.d.ts +0 -0
- package/dist/{ErrorPage → components/error-page}/ErrorPage.svelte.d.ts +0 -0
- package/dist/{Footer → components/footer}/Footer.svelte +0 -0
- package/dist/{Footer → components/footer}/Footer.svelte.d.ts +0 -0
- package/dist/{Form → components/form}/Form.svelte.d.ts +0 -0
- package/dist/{Form → components/form}/context.d.ts +0 -0
- package/dist/{Form → components/form}/context.js +0 -0
- package/dist/{Form → components/form}/types.d.ts +0 -0
- package/dist/{Form → components/form}/types.js +0 -0
- package/dist/{Form/helper.d.ts → components/form/utils.d.ts} +0 -0
- package/dist/{Form/helper.js → components/form/utils.js} +0 -0
- package/dist/{Form → components/form}/zod-validations.d.ts +0 -0
- package/dist/{Form → components/form}/zod-validations.js +0 -0
- package/dist/{Header → components/header}/HeaderLoader.svelte +0 -0
- package/dist/{Header → components/header}/HeaderLoader.svelte.d.ts +0 -0
- package/dist/{Header → components/header}/HeaderLogo.svelte +0 -0
- package/dist/{Header → components/header}/HeaderLogo.svelte.d.ts +0 -0
- package/dist/{HighlightPanel → components/highlight-panel}/enums.d.ts +0 -0
- package/dist/{HighlightPanel → components/highlight-panel}/enums.js +0 -0
- package/dist/{HighlightPanel → components/highlight-panel}/types.js +0 -0
- package/dist/{Link → components/link}/Link.svelte +0 -0
- package/dist/{Link → components/link}/Link.svelte.d.ts +0 -0
- package/dist/{Menu → components/menu}/Menu.svelte +0 -0
- package/dist/{Menu → components/menu}/Menu.svelte.d.ts +0 -0
- package/dist/{Menu → components/menu}/MenuItem.svelte.d.ts +0 -0
- package/dist/{Menu → components/menu}/Sidebar.svelte +0 -0
- package/dist/{Menu → components/menu}/Sidebar.svelte.d.ts +0 -0
- package/dist/{Menu → components/menu}/types.d.ts +0 -0
- package/dist/{Menu → components/menu}/types.js +0 -0
- package/dist/{Menu → components/menu}/utils.d.ts +0 -0
- package/dist/{Menu → components/menu}/utils.js +0 -0
- package/dist/{Modal → components/modal}/Modal.svelte +0 -0
- package/dist/{Modal → components/modal}/Modal.svelte.d.ts +0 -0
- package/dist/{Modal → components/modal}/ModalContent.svelte +0 -0
- package/dist/{Modal → components/modal}/ModalContent.svelte.d.ts +0 -0
- package/dist/{Modal → components/modal}/ModalFooter.svelte.d.ts +0 -0
- package/dist/{Modal → components/modal}/ModalHeader.svelte +0 -0
- package/dist/{Modal → components/modal}/ModalHeader.svelte.d.ts +0 -0
- package/dist/{Modal → components/modal}/types.d.ts +0 -0
- package/dist/{Modal → components/modal}/types.js +0 -0
- package/dist/{Notification → components/notification}/Notification.svelte +0 -0
- package/dist/{Notification → components/notification}/Notification.svelte.d.ts +0 -0
- package/dist/{Processing → components/processing}/Processing.svelte.d.ts +0 -0
- package/dist/{ProgressPage → components/progress-page}/ProgressPage.svelte.d.ts +0 -0
- package/dist/{ProgressWizard → components/progress-wizard}/context.d.ts +0 -0
- package/dist/{ProgressWizard → components/progress-wizard}/context.js +0 -0
- package/dist/{ProgressWizard → components/progress-wizard}/types.d.ts +0 -0
- package/dist/{ProgressWizard → components/progress-wizard}/types.js +0 -0
- package/dist/{ProgressWizard → components/progress-wizard}/utils.d.ts +0 -0
- package/dist/{ProgressWizard → components/progress-wizard}/utils.js +0 -0
- package/dist/{Search → components/search}/Search.svelte +0 -0
- package/dist/{Search → components/search}/Search.svelte.d.ts +0 -0
- package/dist/{Spinner → components/spinner}/Spinner.svelte +0 -0
- package/dist/{Spinner → components/spinner}/Spinner.svelte.d.ts +0 -0
- package/dist/{Switcher → components/switcher}/types.d.ts +0 -0
- package/dist/{Switcher → components/switcher}/types.js +0 -0
- package/dist/{Table → components/table}/ActionsColumn.svelte +0 -0
- package/dist/{Table → components/table}/ActionsColumn.svelte.d.ts +0 -0
- package/dist/{Table → components/table}/AdvancedFilter.svelte.d.ts +0 -0
- package/dist/{Table → components/table}/Body.svelte +0 -0
- package/dist/{Table → components/table}/Body.svelte.d.ts +0 -0
- package/dist/{Table → components/table}/ColumnVisibilityDropdown.svelte +0 -0
- package/dist/{Table → components/table}/ColumnVisibilityDropdown.svelte.d.ts +0 -0
- package/dist/{Table → components/table}/Footer.svelte +0 -0
- package/dist/{Table → components/table}/Footer.svelte.d.ts +0 -0
- package/dist/{Table → components/table}/Header.svelte.d.ts +0 -0
- package/dist/{Table → components/table}/PageSize.svelte +0 -0
- package/dist/{Table → components/table}/PageSize.svelte.d.ts +0 -0
- package/dist/{Table → components/table}/Pagination.svelte.d.ts +0 -0
- package/dist/{Table → components/table}/RowCheckBox.svelte +0 -0
- package/dist/{Table → components/table}/RowCheckBox.svelte.d.ts +0 -0
- package/dist/{Table → components/table}/Skeleton.svelte +0 -0
- package/dist/{Table → components/table}/Skeleton.svelte.d.ts +0 -0
- package/dist/{Table → components/table}/Table.svelte.d.ts +0 -0
- package/dist/{Table → components/table}/adapter/flex-render.svelte +0 -0
- package/dist/{Table → components/table}/adapter/flex-render.svelte.d.ts +0 -0
- package/dist/{Table → components/table}/adapter/render-component.d.ts +0 -0
- package/dist/{Table → components/table}/adapter/render-component.js +0 -0
- package/dist/{Table → components/table}/adapter/table.svelte.d.ts +0 -0
- package/dist/{Table → components/table}/adapter/table.svelte.js +0 -0
- package/dist/{Table → components/table}/consts.d.ts +0 -0
- package/dist/{Table → components/table}/consts.js +0 -0
- package/dist/{Table → components/table}/context.d.ts +0 -0
- package/dist/{Table → components/table}/context.js +0 -0
- package/dist/{Table → components/table}/excel-setting.d.ts +0 -0
- package/dist/{Table → components/table}/excel-setting.js +0 -0
- package/dist/{Table → components/table}/excel.d.ts +0 -0
- package/dist/{Table → components/table}/excel.js +0 -0
- package/dist/{Table → components/table}/index.js +3 -3
- /package/dist/{Table → components/table}/tanstack-types.d.ts +0 -0
- /package/dist/{Table → components/table}/types.d.ts +0 -0
- /package/dist/{Table → components/table}/types.js +0 -0
- /package/dist/{Table → components/table}/utils.d.ts +0 -0
- /package/dist/{Table → components/table}/utils.js +0 -0
- /package/dist/{Tabs → components/tabs}/types.d.ts +0 -0
- /package/dist/{Tabs → components/tabs}/types.js +0 -0
- /package/dist/{Toast → components/toast}/Toast.svelte +0 -0
- /package/dist/{Toast → components/toast}/Toast.svelte.d.ts +0 -0
- /package/dist/{Toast → components/toast}/state.svelte.js +0 -0
- /package/dist/{Toast → components/toast}/types.js +0 -0
- /package/dist/{Tooltip → components/tooltip}/Tooltip.svelte +0 -0
- /package/dist/{Tooltip → components/tooltip}/Tooltip.svelte.d.ts +0 -0
- /package/dist/{Waffle → components/waffle}/Waffle.svelte.d.ts +0 -0
- /package/dist/{Waffle → components/waffle}/WaffleItems.svelte +0 -0
- /package/dist/{Waffle → components/waffle}/WaffleItems.svelte.d.ts +0 -0
- /package/dist/{Waffle → components/waffle}/types.d.ts +0 -0
- /package/dist/{Waffle → components/waffle}/types.js +0 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export { default as Accordion } from './accordion/Accordion.svelte';
|
|
2
|
+
export { default as Avatar } from './avatar/Avatar.svelte';
|
|
3
|
+
export { default as Button } from './button/Button.svelte';
|
|
4
|
+
export { default as Card } from './card/Card.svelte';
|
|
5
|
+
export { default as Chips } from './chips/Chips.svelte';
|
|
6
|
+
export { default as ConfirmationModal } from './confirmation/Confirmation.svelte';
|
|
7
|
+
export { default as AttachFile } from './controls/attach-file/AttachFile.svelte';
|
|
8
|
+
export { default as Input } from './controls/input/Input.svelte';
|
|
9
|
+
export { default as Label } from './controls/label/Label.svelte';
|
|
10
|
+
export { default as RadioGroup } from './controls/radio-group/RadioGroup.svelte';
|
|
11
|
+
export { default as Select } from './controls/select/Select.svelte';
|
|
12
|
+
export { default as TextArea } from './controls/textarea/TextArea.svelte';
|
|
13
|
+
export { default as Toggle } from './controls/toggle/Toggle.svelte';
|
|
14
|
+
export { default as DeleteConfirmationModal } from './delete-confirmation/DeleteConfirmation.svelte';
|
|
15
|
+
export { default as ErrorPage } from './error-page/ErrorPage.svelte';
|
|
16
|
+
export { default as Footer } from './footer/Footer.svelte';
|
|
17
|
+
export { default as Header } from './header/Header.svelte';
|
|
18
|
+
export { default as HighlightPanel } from './highlight-panel/HighlightPanel.svelte';
|
|
19
|
+
export { default as Home } from './home/Home.svelte';
|
|
20
|
+
export { default as Link } from './link/Link.svelte';
|
|
21
|
+
export { default as Sidebar } from './menu/Sidebar.svelte';
|
|
22
|
+
export { default as Modal } from './modal/Modal.svelte';
|
|
23
|
+
export { default as Notification } from './notification/Notification.svelte';
|
|
24
|
+
export { default as Processing } from './processing/Processing.svelte';
|
|
25
|
+
export { default as ProgressPage } from './progress-page/ProgressPage.svelte';
|
|
26
|
+
export { default as ProgressWizard } from './progress-wizard/ProgressWizard.svelte';
|
|
27
|
+
export { default as Search } from './search/Search.svelte';
|
|
28
|
+
export { default as Spinner } from './spinner/Spinner.svelte';
|
|
29
|
+
export { default as Switcher } from './switcher/Switcher.svelte';
|
|
30
|
+
export { default as Tabs } from './tabs/Tabs.svelte';
|
|
31
|
+
export { default as Toast } from './toast/Toast.svelte';
|
|
32
|
+
export { default as Tooltip } from './tooltip/Tooltip.svelte';
|
|
33
|
+
export { ChipType } from './chips/enums.js';
|
|
34
|
+
export { ColumnType, ImageType } from './highlight-panel/enums.js';
|
|
35
|
+
export { getSubMenuItemsFromMenu } from './menu/utils.js';
|
|
36
|
+
export { getProgressWizardContext, setProgressWizardStepsContext } from './progress-wizard/context.js';
|
|
37
|
+
export { setStepValidity } from './progress-wizard/utils.js';
|
|
38
|
+
export { createTabComponent } from './tabs/types.js';
|
|
39
|
+
export { addToast } from './toast/state.svelte.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { untrack, type Snippet } from 'svelte';
|
|
3
3
|
|
|
4
|
-
import { Button, ErrorPage, type ProgressWizardStep } from '
|
|
4
|
+
import { Button, ErrorPage, type ProgressWizardStep } from '../../index.js';
|
|
5
5
|
|
|
6
6
|
interface Props {
|
|
7
7
|
steps: ProgressWizardStep[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts" generics="T">
|
|
2
2
|
import { page } from '$app/state';
|
|
3
3
|
|
|
4
|
-
import { Button, Input, Select, type SelectOption } from '
|
|
4
|
+
import { Button, Input, Select, type SelectOption } from '../../index.js';
|
|
5
5
|
import type { Column } from './adapter/index.js';
|
|
6
6
|
import { Operation } from './consts.js';
|
|
7
7
|
import { type Filter } from './types.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts" generics="T extends RowData">
|
|
2
2
|
import { page } from '$app/state';
|
|
3
3
|
|
|
4
|
-
import { Search } from '
|
|
4
|
+
import { Search } from '../../index.js';
|
|
5
5
|
import { FlexRender, type HeaderGroup, type RowData } from './adapter/index.js';
|
|
6
6
|
import { sanitizeFilters } from './utils.js';
|
|
7
7
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export * from '@tanstack/table-core';
|
|
2
2
|
export { default as FlexRender } from './flex-render.svelte';
|
|
3
3
|
export { renderComponent, renderSnippet } from './render-component.js';
|
|
4
|
-
export { createSvelteTable } from './table.svelte';
|
|
4
|
+
export { createSvelteTable } from './table.svelte.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export * from '@tanstack/table-core';
|
|
2
2
|
export { default as FlexRender } from './flex-render.svelte';
|
|
3
3
|
export { renderComponent, renderSnippet } from './render-component.js';
|
|
4
|
-
export { createSvelteTable } from './table.svelte';
|
|
4
|
+
export { createSvelteTable } from './table.svelte.js';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { default as Table } from './Table.svelte';
|
|
2
2
|
export * from './consts.js';
|
|
3
|
+
export { ColumnFormat } from './excel-setting.js';
|
|
4
|
+
export * from './adapter/index.js';
|
|
3
5
|
export * from './context.js';
|
|
4
|
-
export { ColumnFormat, type ExcelSetting } from './excel-setting.js';
|
|
5
6
|
export * from './excel.js';
|
|
6
|
-
export { default as Table } from './Table.svelte';
|
|
7
|
-
export type { Action, Pagination, Filter } from './types.js';
|
|
8
7
|
export { createActionsColumn, createStaticTable, getPage, getPageLimit, sanitizeFilters } from './utils.js';
|
|
8
|
+
export type { ExcelSetting } from './excel-setting.js';
|
|
9
|
+
export type { Action, Filter, Pagination } from './types.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
interface ToastState extends
|
|
1
|
+
import type { ToastNotification } from './types.js';
|
|
2
|
+
interface ToastState extends ToastNotification {
|
|
3
3
|
id: string;
|
|
4
4
|
}
|
|
5
5
|
export declare const getToast: (duration?: number) => {
|
|
6
6
|
toasts: ToastState[];
|
|
7
7
|
duration: number;
|
|
8
8
|
};
|
|
9
|
-
export declare const addToast: (toast:
|
|
9
|
+
export declare const addToast: (toast: ToastNotification) => void;
|
|
10
10
|
export declare const deleteToastById: (id: string) => void;
|
|
11
11
|
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,56 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import Avatar from './Avatar/Avatar.svelte';
|
|
3
|
-
import Button from './Button/Button.svelte';
|
|
4
|
-
import Card from './Card/Card.svelte';
|
|
5
|
-
import Chips from './Chips/Chips.svelte';
|
|
6
|
-
import ConfirmationModal from './Confirmation/Confirmation.svelte';
|
|
7
|
-
import AttachFile from './Controls/AttachFile/AttachFile.svelte';
|
|
8
|
-
import Input from './Controls/Input/Input.svelte';
|
|
9
|
-
import Label from './Controls/Label/Label.svelte';
|
|
10
|
-
import RadioGroup from './Controls/RadioGroup/RadioGroup.svelte';
|
|
11
|
-
import Select from './Controls/Select/Select.svelte';
|
|
12
|
-
import TextArea from './Controls/TextArea/TextArea.svelte';
|
|
13
|
-
import Toggle from './Controls/Toggle/Toggle.svelte';
|
|
14
|
-
import DeleteConfirmationModal from './DeleteConfirmation/DeleteConfirmation.svelte';
|
|
15
|
-
import ErrorPage from './ErrorPage/ErrorPage.svelte';
|
|
16
|
-
import Footer from './Footer/Footer.svelte';
|
|
17
|
-
import Header from './Header/Header.svelte';
|
|
18
|
-
import HeaderAccount from './Header/HeaderAccount.svelte';
|
|
19
|
-
import HeaderLoader from './Header/HeaderLoader.svelte';
|
|
20
|
-
import HeaderLogo from './Header/HeaderLogo.svelte';
|
|
21
|
-
import HighlightPanel from './HighlightPanel/HighlightPanel.svelte';
|
|
22
|
-
import Home from './Home/Home.svelte';
|
|
23
|
-
import Link from './Link/Link.svelte';
|
|
24
|
-
import Menu from './Menu/Menu.svelte';
|
|
25
|
-
import Sidebar from './Menu/Sidebar.svelte';
|
|
26
|
-
import Modal from './Modal/Modal.svelte';
|
|
27
|
-
import Notification from './Notification/Notification.svelte';
|
|
28
|
-
import Processing from './Processing/Processing.svelte';
|
|
29
|
-
import ProgressPage from './ProgressPage/ProgressPage.svelte';
|
|
30
|
-
import ProgressWizard from './ProgressWizard/ProgressWizard.svelte';
|
|
31
|
-
import Search from './Search/Search.svelte';
|
|
32
|
-
import Spinner from './Spinner/Spinner.svelte';
|
|
33
|
-
import Switcher from './Switcher/Switcher.svelte';
|
|
34
|
-
import Tabs from './Tabs/Tabs.svelte';
|
|
35
|
-
import Toaster from './Toast/Toast.svelte';
|
|
36
|
-
import Tooltip from './Tooltip/Tooltip.svelte';
|
|
37
|
-
import Waffle from './Waffle/Waffle.svelte';
|
|
38
|
-
import { ChipType } from './Chips/enums.js';
|
|
39
|
-
import { ColumnType, ImageType } from './HighlightPanel/enums.js';
|
|
40
|
-
import { getSubMenuItemsFromMenu } from './Menu/utils.js';
|
|
41
|
-
import { getProgressWizardContext, setProgressWizardStepsContext } from './ProgressWizard/context.js';
|
|
42
|
-
import { setStepValidity } from './ProgressWizard/utils.js';
|
|
43
|
-
import { createTabComponent } from './Tabs/types.js';
|
|
44
|
-
import { addToast } from './Toast/state.svelte.js';
|
|
45
|
-
import type { AnnouncementItem } from './Announcement/types.js';
|
|
46
|
-
import type { RadioOption } from './Controls/RadioGroup/types.js';
|
|
47
|
-
import type { SelectOption } from './Controls/Select/types.js';
|
|
48
|
-
import type { HighlightPanelColumn } from './HighlightPanel/types.js';
|
|
49
|
-
import type { HomeItem, MainMenu, MenuItem, SubMenuItem } from './Menu/types.js';
|
|
50
|
-
import type { ModalProps } from './Modal/types.js';
|
|
51
|
-
import type { ProgressWizardStep } from './ProgressWizard/types.js';
|
|
52
|
-
import type { SwitcherOption } from './Switcher/types.js';
|
|
53
|
-
import type { Tab } from './Tabs/types.js';
|
|
54
|
-
import type { Toast } from './Toast/types.js';
|
|
55
|
-
import type { WaffleItem } from './Waffle/types.js';
|
|
56
|
-
export { Accordion, AttachFile, Avatar, Button, Card, Chips, ConfirmationModal, DeleteConfirmationModal, ErrorPage, Footer, Header, HeaderAccount, HeaderLoader, HeaderLogo, HighlightPanel, Home, Input, Label, Link, Menu, Modal, Notification, Processing, ProgressPage, ProgressWizard, RadioGroup, Search, Select, Sidebar, Spinner, Switcher, Tabs, TextArea, Toaster, Toggle, Tooltip, Waffle, addToast, getProgressWizardContext, setProgressWizardStepsContext, setStepValidity, getSubMenuItemsFromMenu, createTabComponent, ChipType, ColumnType, ImageType, type AnnouncementItem, type HighlightPanelColumn, type HomeItem, type MainMenu, type MenuItem, type ModalProps, type ProgressWizardStep, type RadioOption, type SelectOption, type SubMenuItem, type SwitcherOption, type Tab, type Toast, type WaffleItem };
|
|
1
|
+
export * from './components/index.js';
|
package/dist/index.js
CHANGED
|
@@ -1,53 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import Accordion from './Accordion/Accordion.svelte';
|
|
3
|
-
import Avatar from './Avatar/Avatar.svelte';
|
|
4
|
-
import Button from './Button/Button.svelte';
|
|
5
|
-
import Card from './Card/Card.svelte';
|
|
6
|
-
import Chips from './Chips/Chips.svelte';
|
|
7
|
-
import ConfirmationModal from './Confirmation/Confirmation.svelte';
|
|
8
|
-
import AttachFile from './Controls/AttachFile/AttachFile.svelte';
|
|
9
|
-
import Input from './Controls/Input/Input.svelte';
|
|
10
|
-
import Label from './Controls/Label/Label.svelte';
|
|
11
|
-
import RadioGroup from './Controls/RadioGroup/RadioGroup.svelte';
|
|
12
|
-
import Select from './Controls/Select/Select.svelte';
|
|
13
|
-
import TextArea from './Controls/TextArea/TextArea.svelte';
|
|
14
|
-
import Toggle from './Controls/Toggle/Toggle.svelte';
|
|
15
|
-
import DeleteConfirmationModal from './DeleteConfirmation/DeleteConfirmation.svelte';
|
|
16
|
-
import ErrorPage from './ErrorPage/ErrorPage.svelte';
|
|
17
|
-
import Footer from './Footer/Footer.svelte';
|
|
18
|
-
import Header from './Header/Header.svelte';
|
|
19
|
-
import HeaderAccount from './Header/HeaderAccount.svelte';
|
|
20
|
-
import HeaderLoader from './Header/HeaderLoader.svelte';
|
|
21
|
-
import HeaderLogo from './Header/HeaderLogo.svelte';
|
|
22
|
-
import HighlightPanel from './HighlightPanel/HighlightPanel.svelte';
|
|
23
|
-
import Home from './Home/Home.svelte';
|
|
24
|
-
import Link from './Link/Link.svelte';
|
|
25
|
-
import Menu from './Menu/Menu.svelte';
|
|
26
|
-
import Sidebar from './Menu/Sidebar.svelte';
|
|
27
|
-
import Modal from './Modal/Modal.svelte';
|
|
28
|
-
import Notification from './Notification/Notification.svelte';
|
|
29
|
-
import Processing from './Processing/Processing.svelte';
|
|
30
|
-
import ProgressPage from './ProgressPage/ProgressPage.svelte';
|
|
31
|
-
import ProgressWizard from './ProgressWizard/ProgressWizard.svelte';
|
|
32
|
-
import Search from './Search/Search.svelte';
|
|
33
|
-
import Spinner from './Spinner/Spinner.svelte';
|
|
34
|
-
import Switcher from './Switcher/Switcher.svelte';
|
|
35
|
-
import Tabs from './Tabs/Tabs.svelte';
|
|
36
|
-
import Toaster from './Toast/Toast.svelte';
|
|
37
|
-
import Tooltip from './Tooltip/Tooltip.svelte';
|
|
38
|
-
import Waffle from './Waffle/Waffle.svelte';
|
|
39
|
-
// State, enums, and helpers
|
|
40
|
-
import { ChipType } from './Chips/enums.js';
|
|
41
|
-
import { ColumnType, ImageType } from './HighlightPanel/enums.js';
|
|
42
|
-
import { getSubMenuItemsFromMenu } from './Menu/utils.js';
|
|
43
|
-
import { getProgressWizardContext, setProgressWizardStepsContext } from './ProgressWizard/context.js';
|
|
44
|
-
import { setStepValidity } from './ProgressWizard/utils.js';
|
|
45
|
-
import { createTabComponent } from './Tabs/types.js';
|
|
46
|
-
import { addToast } from './Toast/state.svelte.js';
|
|
47
|
-
export {
|
|
48
|
-
// Components
|
|
49
|
-
Accordion, AttachFile, Avatar, Button, Card, Chips, ConfirmationModal, DeleteConfirmationModal, ErrorPage, Footer, Header, HeaderAccount, HeaderLoader, HeaderLogo, HighlightPanel, Home, Input, Label, Link, Menu, Modal, Notification, Processing, ProgressPage, ProgressWizard, RadioGroup, Search, Select, Sidebar, Spinner, Switcher, Tabs, TextArea, Toaster, Toggle, Tooltip, Waffle,
|
|
50
|
-
// Functions and helpers
|
|
51
|
-
addToast, getProgressWizardContext, setProgressWizardStepsContext, setStepValidity, getSubMenuItemsFromMenu, createTabComponent,
|
|
52
|
-
// Enums
|
|
53
|
-
ChipType, ColumnType, ImageType };
|
|
1
|
+
export * from './components/index.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@softwareone/spi-sv5-library",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.2",
|
|
4
4
|
"description": "Svelte components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"svelte",
|
|
@@ -40,12 +40,12 @@
|
|
|
40
40
|
"svelte": "./dist/index.js"
|
|
41
41
|
},
|
|
42
42
|
"./form": {
|
|
43
|
-
"types": "./dist/
|
|
44
|
-
"svelte": "./dist/
|
|
43
|
+
"types": "./dist/components/form/index.d.ts",
|
|
44
|
+
"svelte": "./dist/components/form/index.js"
|
|
45
45
|
},
|
|
46
46
|
"./table": {
|
|
47
|
-
"types": "./dist/
|
|
48
|
-
"svelte": "./dist/
|
|
47
|
+
"types": "./dist/components/table/index.d.ts",
|
|
48
|
+
"svelte": "./dist/components/table/index.js"
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
package/dist/Form/index.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import Form from './Form.svelte';
|
|
2
|
-
import { getFormContext, setFormContext } from './context.js';
|
|
3
|
-
import { validateSchema } from './helper.js';
|
|
4
|
-
import { createZodString } from './zod-validations.js';
|
|
5
|
-
import type { FormContext, FormError } from './types.js';
|
|
6
|
-
export { Form, createZodString, getFormContext, setFormContext, validateSchema, type FormContext, type FormError };
|
package/dist/Form/index.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// Components
|
|
2
|
-
import Form from './Form.svelte';
|
|
3
|
-
// State, enums, and helpers
|
|
4
|
-
import { getFormContext, setFormContext } from './context.js';
|
|
5
|
-
import { validateSchema } from './helper.js';
|
|
6
|
-
import { createZodString } from './zod-validations.js';
|
|
7
|
-
export {
|
|
8
|
-
// Components
|
|
9
|
-
Form,
|
|
10
|
-
// Functions and helpers
|
|
11
|
-
createZodString, getFormContext, setFormContext, validateSchema };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/{Controls/AttachFile → components/controls/attach-file}/FileManager.svelte.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/{DeleteConfirmation → components/delete-confirmation}/DeleteConfirmation.svelte.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|