@enki-tek/fms-web-components 0.0.90 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (103) hide show
  1. package/components/Accordion/Accordion.svelte +3 -0
  2. package/components/Accordion/AccordionItem.svelte +3 -0
  3. package/components/Alert/Alert.svelte.d.ts +1 -1
  4. package/components/Badge/Badge.svelte +3 -0
  5. package/components/Breadcrumb/Breadcrumb.svelte +3 -0
  6. package/components/Button/Button.svelte +3 -0
  7. package/components/Button/Button.svelte.d.ts +8 -8
  8. package/components/Card/Card.svelte.d.ts +4 -4
  9. package/components/CardIcon/CardIcon.svelte +3 -0
  10. package/components/CardIcon/CardiconBody.svelte +3 -0
  11. package/components/CardIcon/CardiconSubtitle.svelte +3 -0
  12. package/components/CardIcon/CardiconTitle.svelte +3 -0
  13. package/components/CardIcon/CardiconTitle.svelte.d.ts +2 -2
  14. package/components/Charts/Barchart.svelte +74 -0
  15. package/components/Charts/Barchart.svelte.d.ts +23 -0
  16. package/components/Charts/DoughnutChart.svelte +73 -0
  17. package/components/Charts/DoughnutChart.svelte.d.ts +29 -0
  18. package/components/Charts/LineChart.svelte +62 -0
  19. package/components/Charts/LineChart.svelte.d.ts +23 -0
  20. package/components/Charts/PieChart.svelte +75 -0
  21. package/components/Charts/PieChart.svelte.d.ts +29 -0
  22. package/components/CheckBox/Checkbox.svelte +3 -0
  23. package/components/CheckBox/Checkbox.svelte.d.ts +8 -8
  24. package/components/Dropdown/Dropdown.svelte +3 -0
  25. package/components/Dropdown/DropdownItem.svelte +3 -0
  26. package/components/EnkiCard/CardBody.svelte.d.ts +2 -2
  27. package/components/EnkiSidbar/EnkiSidebar.svelte +3 -0
  28. package/components/EnkiSidbar/EnkiSidebar.svelte.d.ts +2 -2
  29. package/components/EnkiSidbar/NavIcon.svelte +3 -0
  30. package/components/EnkiSidbar/NavItem.svelte +3 -0
  31. package/components/EnkiSidbar/NavLink.svelte +3 -0
  32. package/components/EnkiTable/EnkiTable.svelte.d.ts +4 -4
  33. package/components/EnkiTable/TableCell.svelte.d.ts +2 -2
  34. package/components/Header/Brand.svelte +25 -16
  35. package/components/Header/Header.scss +40 -34
  36. package/components/Header/Header.svelte +26 -20
  37. package/components/Header/Header.svelte.d.ts +6 -2
  38. package/components/Header/HeaderDropDownLink.svelte +11 -0
  39. package/components/Header/HeaderDropDownLink.svelte.d.ts +29 -0
  40. package/components/Header/HeaderDropDownLinkItem.svelte +9 -0
  41. package/components/Header/HeaderDropDownLinkItem.svelte.d.ts +31 -0
  42. package/components/Header/HeaderItem.svelte +9 -0
  43. package/components/Header/HeaderItem.svelte.d.ts +2 -2
  44. package/components/Header/HeaderLink.svelte +9 -0
  45. package/components/Header/HeaderLink.svelte.d.ts +31 -0
  46. package/components/Header/HeaderLinks.svelte +9 -0
  47. package/components/Header/HeaderLinks.svelte.d.ts +27 -0
  48. package/components/Header/UserAvatar.svelte +12 -3
  49. package/components/Icon/ActionIcon.svelte.d.ts +2 -2
  50. package/components/Layout/Content.svelte +9 -0
  51. package/components/Layout/Content.svelte.d.ts +29 -0
  52. package/components/Layout/Footer.svelte +2 -0
  53. package/components/Layout/Layout.svelte +6 -0
  54. package/components/Layout/Layout.svelte.d.ts +27 -0
  55. package/components/Layout/Page.svelte +35 -9
  56. package/components/Layout/Page.svelte.d.ts +6 -2
  57. package/components/Layout/SortableGrid.svelte +28 -0
  58. package/components/Layout/SortableGrid.svelte.d.ts +27 -0
  59. package/components/ModalWindow/Modal.svelte +3 -0
  60. package/components/ModalWindow/Modal.svelte.d.ts +2 -2
  61. package/components/ModalWindow/ModalBody.svelte +3 -0
  62. package/components/ModalWindow/ModalFooter.svelte +3 -0
  63. package/components/ModalWindow/ModalHeader.svelte +3 -0
  64. package/components/NotFound/NotFound.svelte +3 -0
  65. package/components/Pagination/Pagination.svelte +3 -0
  66. package/components/RadioButton/RadioButton.svelte +3 -0
  67. package/components/Sidebar/MenuGroup.svelte +108 -0
  68. package/components/Sidebar/MenuGroup.svelte.d.ts +29 -0
  69. package/components/Sidebar/MenuItem.svelte +122 -0
  70. package/components/Sidebar/MenuItem.svelte.d.ts +35 -0
  71. package/components/Sidebar/SideBarMenu.svelte +148 -0
  72. package/components/Sidebar/SideBarMenu.svelte.d.ts +27 -0
  73. package/components/Sidebar/Sidebar.scss +29 -0
  74. package/components/Sidebar/Sidebar.svelte +29 -0
  75. package/components/StatusCard/StatusCard.scss +35 -0
  76. package/components/StatusCard/StatusCard.svelte +42 -0
  77. package/components/StatusCard/StatusCard.svelte.d.ts +27 -0
  78. package/components/StatusCard/StatusCardBody.svelte +57 -0
  79. package/components/StatusCard/StatusCardBody.svelte.d.ts +31 -0
  80. package/components/StatusCard/StatusCardTitle.svelte +47 -0
  81. package/components/StatusCard/StatusCardTitle.svelte.d.ts +29 -0
  82. package/components/Switches/Switch.svelte +3 -0
  83. package/components/Switches/Switch.svelte.d.ts +2 -2
  84. package/components/Tab/Tab.svelte +3 -0
  85. package/components/TextField/TextField.svelte +3 -0
  86. package/components/TextField/TextField.svelte.d.ts +8 -8
  87. package/components/Toast/Toast.svelte +3 -0
  88. package/components/Toast/Toast.svelte.d.ts +2 -2
  89. package/components/Tooltip/Tooltip.svelte +3 -0
  90. package/components/WidgetCard/Card.scss +108 -0
  91. package/components/WidgetCard/SensorStatusCard.svelte +130 -0
  92. package/components/WidgetCard/SensorStatusCard.svelte.d.ts +27 -0
  93. package/components/WidgetCard/StateCard.svelte +133 -0
  94. package/components/WidgetCard/StateCard.svelte.d.ts +29 -0
  95. package/components/WidgetCard/WidgetCard.svelte +152 -0
  96. package/components/WidgetCard/WidgetCard.svelte.d.ts +35 -0
  97. package/components/WidgetCard/WidgetCardBody.svelte +13 -0
  98. package/components/WidgetCard/WidgetCardBody.svelte.d.ts +27 -0
  99. package/components/common.scss +4 -0
  100. package/components/variable.scss +13 -3
  101. package/index.d.ts +65 -48
  102. package/index.js +65 -48
  103. package/package.json +30 -2
package/index.d.ts CHANGED
@@ -1,61 +1,78 @@
1
1
  import './app.scss';
2
- import Layout from './components/Layout/LayOut.svelte';
3
- import Button from './components/Button/Button.svelte';
4
- import TextField from './components/TextField/TextField.svelte';
5
- import Card from './components/Card/Card.svelte';
6
- import Tooltip from './components/Tooltip/Tooltip.svelte';
7
- import Tab from './components/Tab/Tab.svelte';
8
- import Icon from './components/Icon/Icon.svelte';
9
- import ActionIconGroup from './components/Icon/ActionInconGroup.svelte';
10
- import ActionIcon from './components/Icon/ActionIcon.svelte';
11
- import Modal from './components/ModalWindow/Modal.svelte';
12
- import ModalHeader from './components/ModalWindow/ModalHeader.svelte';
13
- import ModalBody from './components/ModalWindow/ModalBody.svelte';
14
- import ModalFooter from './components/ModalWindow/ModalFooter.svelte';
15
- import Header from './components/Header/Header.svelte';
16
- import Brand from './components/Header/Brand.svelte';
17
- import HeaderItem from './components/Header/HeaderItem.svelte';
18
- import UserAvatar from './components/Header/UserAvatar.svelte';
19
- import Dropdown from './components/Dropdown/Dropdown.svelte';
20
- import DropdownItem from './components/Dropdown/DropdownItem.svelte';
21
- import Badge from './components/Badge/Badge.svelte';
22
- import Alert from './components/Alert/Alert.svelte';
23
- import Pagination from './components/Pagination/Pagination.svelte';
24
- import RadioButton from './components/RadioButton/RadioButton.svelte';
25
- import Switch from './components/Switches/Switch.svelte';
26
- import Checkbox from './components/CheckBox/Checkbox.svelte';
27
- import Breadcrumb from './components/Breadcrumb/Breadcrumb.svelte';
28
2
  import Accordion from './components/Accordion/Accordion.svelte';
29
3
  import AccordionItem from './components/Accordion/AccordionItem.svelte';
4
+ import Alert from './components/Alert/Alert.svelte';
5
+ import Badge from './components/Badge/Badge.svelte';
6
+ import Breadcrumb from './components/Breadcrumb/Breadcrumb.svelte';
7
+ import Button from './components/Button/Button.svelte';
8
+ import Card from './components/Card/Card.svelte';
30
9
  import CardIcon from './components/CardIcon/CardIcon.svelte';
31
- import CardiconTitle from './components/CardIcon/CardiconTitle.svelte';
32
10
  import CardiconBody from './components/CardIcon/CardiconBody.svelte';
33
11
  import CardiconSubtitle from './components/CardIcon/CardiconSubtitle.svelte';
34
- import EnkiTable from './components/EnkiTable/EnkiTable.svelte';
35
- import TableBody from './components/EnkiTable/TableBody.svelte';
36
- import TableHead from './components/EnkiTable/TableHead.svelte';
37
- import TableHeadCell from './components/EnkiTable/TableHeadCell.svelte';
38
- import TableRow from './components/EnkiTable/TableRow.svelte';
39
- import TableCell from './components/EnkiTable/TableCell.svelte';
40
- import EnkiCard from './components/EnkiCard/EnkiCard.svelte';
41
- import CardTitle from './components/EnkiCard/CardTitle.svelte';
42
- import CardSubtitle from './components/EnkiCard/CardSubTitle.svelte';
43
- import CardText from './components/EnkiCard/CardText.svelte';
12
+ import CardiconTitle from './components/CardIcon/CardiconTitle.svelte';
13
+ import Checkbox from './components/CheckBox/Checkbox.svelte';
14
+ import Dropdown from './components/Dropdown/Dropdown.svelte';
15
+ import DropdownItem from './components/Dropdown/DropdownItem.svelte';
44
16
  import CardBody from './components/EnkiCard/CardBody.svelte';
45
17
  import CardFooter from './components/EnkiCard/CardFooter.svelte';
46
18
  import CardLink from './components/EnkiCard/CardLink.svelte';
19
+ import CardSubtitle from './components/EnkiCard/CardSubTitle.svelte';
20
+ import CardText from './components/EnkiCard/CardText.svelte';
21
+ import CardTitle from './components/EnkiCard/CardTitle.svelte';
22
+ import EnkiCard from './components/EnkiCard/EnkiCard.svelte';
47
23
  import EnkiSidebar from './components/EnkiSidbar/EnkiSidebar.svelte';
48
- import NavItem from './components/EnkiSidbar/NavItem.svelte';
49
24
  import NavIcon from './components/EnkiSidbar/NavIcon.svelte';
25
+ import NavItem from './components/EnkiSidbar/NavItem.svelte';
50
26
  import NavLink from './components/EnkiSidbar/NavLink.svelte';
51
- import Page from "./components/Layout/Page.svelte";
52
- import MainMenuHead from "./components/Layout/MainMenuHead.svelte";
53
- import Footer from "./components/Layout/Footer.svelte";
54
- import Toast from "./components/Toast/Toast.svelte";
55
- import NotFound from "./components/NotFound/NotFound.svelte";
56
- import { i18nInit } from "./components/i18n/i18n";
57
- import { menuTypeStore } from "./components/Layout/menuStore.js";
58
- import { derivedStore } from "./components/Layout/menuStore.js";
59
- import { smallMenuwidth } from "./components/Layout/menuStore.js";
60
- export { Button, Brand, TextField, Card, Tooltip, Tab, Icon, ActionIconGroup, ActionIcon, Modal, ModalBody, ModalFooter, ModalHeader, Header, HeaderItem, UserAvatar, Dropdown, DropdownItem, Badge, Alert, Pagination, RadioButton, Accordion, AccordionItem, Switch, Checkbox, Breadcrumb, CardIcon, CardiconTitle, CardiconBody, CardiconSubtitle, EnkiTable, TableBody, TableCell, TableRow, TableHead, TableHeadCell, EnkiCard, CardBody, CardTitle, CardSubtitle, CardText, CardLink, CardFooter, EnkiSidebar, NavItem, NavIcon, NavLink, NotFound, Layout, Page, MainMenuHead, Footer, Toast, menuTypeStore, derivedStore, smallMenuwidth, };
27
+ import EnkiTable from './components/EnkiTable/EnkiTable.svelte';
28
+ import TableBody from './components/EnkiTable/TableBody.svelte';
29
+ import TableCell from './components/EnkiTable/TableCell.svelte';
30
+ import TableHead from './components/EnkiTable/TableHead.svelte';
31
+ import TableHeadCell from './components/EnkiTable/TableHeadCell.svelte';
32
+ import TableRow from './components/EnkiTable/TableRow.svelte';
33
+ import Brand from './components/Header/Brand.svelte';
34
+ import Header from './components/Header/Header.svelte';
35
+ import HeaderDropDownLink from './components/Header/HeaderDropDownLink.svelte';
36
+ import HeaderDropDownLinkItem from './components/Header/HeaderDropDownLinkItem.svelte';
37
+ import HeaderLink from './components/Header/HeaderLink.svelte';
38
+ import HeaderLinks from './components/Header/HeaderLinks.svelte';
39
+ import HeaderItem from './components/Header/HeaderItem.svelte';
40
+ import UserAvatar from './components/Header/UserAvatar.svelte';
41
+ import Content from './components/Layout/Content.svelte';
42
+ import { i18nInit } from './components/i18n/i18n';
43
+ import ActionIcon from './components/Icon/ActionIcon.svelte';
44
+ import ActionIconGroup from './components/Icon/ActionInconGroup.svelte';
45
+ import Icon from './components/Icon/Icon.svelte';
46
+ import Footer from './components/Layout/Footer.svelte';
47
+ import Layout from './components/Layout/Layout.svelte';
48
+ import MainMenuHead from './components/Layout/MainMenuHead.svelte';
49
+ import { derivedStore, menuTypeStore, smallMenuwidth } from './components/Layout/menuStore.js';
50
+ import Page from './components/Layout/Page.svelte';
51
+ import Modal from './components/ModalWindow/Modal.svelte';
52
+ import ModalBody from './components/ModalWindow/ModalBody.svelte';
53
+ import ModalFooter from './components/ModalWindow/ModalFooter.svelte';
54
+ import ModalHeader from './components/ModalWindow/ModalHeader.svelte';
55
+ import NotFound from './components/NotFound/NotFound.svelte';
56
+ import Pagination from './components/Pagination/Pagination.svelte';
57
+ import RadioButton from './components/RadioButton/RadioButton.svelte';
58
+ import Switch from './components/Switches/Switch.svelte';
59
+ import Tab from './components/Tab/Tab.svelte';
60
+ import TextField from './components/TextField/TextField.svelte';
61
+ import Toast from './components/Toast/Toast.svelte';
62
+ import Tooltip from './components/Tooltip/Tooltip.svelte';
63
+ import SortableGrid from './components/Layout/SortableGrid.svelte';
64
+ import MenuGroup from './components/Sidebar/MenuGroup.svelte';
65
+ import MenuItem from './components/Sidebar/MenuItem.svelte';
66
+ import SideBarMenu from './components/Sidebar/SideBarMenu.svelte';
67
+ import StatusCard from './components/StatusCard/StatusCard.svelte';
68
+ import StatusCardBody from './components/StatusCard/StatusCardBody.svelte';
69
+ import StatusCardTitle from './components/StatusCard/StatusCardTitle.svelte';
70
+ import StateCard from './components/WidgetCard/StateCard.svelte';
71
+ import WidgetCard from './components/WidgetCard/WidgetCard.svelte';
72
+ import WidgetCardBody from './components/WidgetCard/WidgetCardBody.svelte';
73
+ import DoughnutChart from './components/Charts/DoughnutChart.svelte';
74
+ import PieChart from './components/Charts/PieChart.svelte';
75
+ import BarChart from './components/Charts/Barchart.svelte';
76
+ import LineChart from './components/Charts/LineChart.svelte';
77
+ export { Accordion, AccordionItem, ActionIcon, ActionIconGroup, Alert, Badge, Brand, Breadcrumb, Button, Card, CardBody, CardFooter, CardIcon, CardiconBody, CardiconSubtitle, CardiconTitle, CardLink, CardSubtitle, CardText, CardTitle, Checkbox, derivedStore, Dropdown, DropdownItem, EnkiCard, EnkiSidebar, EnkiTable, Footer, Header, HeaderItem, Icon, Layout, MainMenuHead, menuTypeStore, Modal, ModalBody, ModalFooter, ModalHeader, NavIcon, NavItem, NavLink, NotFound, Page, Pagination, RadioButton, smallMenuwidth, Switch, Tab, TableBody, TableCell, TableHead, TableHeadCell, TableRow, TextField, Toast, Tooltip, UserAvatar, HeaderDropDownLink, HeaderDropDownLinkItem, HeaderLink, HeaderLinks, Content, MenuGroup, MenuItem, SortableGrid, SideBarMenu, StatusCard, StatusCardBody, StatusCardTitle, StateCard, WidgetCard, WidgetCardBody, DoughnutChart, PieChart, BarChart, LineChart, };
61
78
  export default i18nInit;
package/index.js CHANGED
@@ -1,62 +1,79 @@
1
1
  // Reexport your entry components here
2
2
  import './app.scss';
3
- import Layout from './components/Layout/LayOut.svelte';
4
- import Button from './components/Button/Button.svelte';
5
- import TextField from './components/TextField/TextField.svelte';
6
- import Card from './components/Card/Card.svelte';
7
- import Tooltip from './components/Tooltip/Tooltip.svelte';
8
- import Tab from './components/Tab/Tab.svelte';
9
- import Icon from './components/Icon/Icon.svelte';
10
- import ActionIconGroup from './components/Icon/ActionInconGroup.svelte';
11
- import ActionIcon from './components/Icon/ActionIcon.svelte';
12
- import Modal from './components/ModalWindow/Modal.svelte';
13
- import ModalHeader from './components/ModalWindow/ModalHeader.svelte';
14
- import ModalBody from './components/ModalWindow/ModalBody.svelte';
15
- import ModalFooter from './components/ModalWindow/ModalFooter.svelte';
16
- import Header from './components/Header/Header.svelte';
17
- import Brand from './components/Header/Brand.svelte';
18
- import HeaderItem from './components/Header/HeaderItem.svelte';
19
- import UserAvatar from './components/Header/UserAvatar.svelte';
20
- import Dropdown from './components/Dropdown/Dropdown.svelte';
21
- import DropdownItem from './components/Dropdown/DropdownItem.svelte';
22
- import Badge from './components/Badge/Badge.svelte';
23
- import Alert from './components/Alert/Alert.svelte';
24
- import Pagination from './components/Pagination/Pagination.svelte';
25
- import RadioButton from './components/RadioButton/RadioButton.svelte';
26
- import Switch from './components/Switches/Switch.svelte';
27
- import Checkbox from './components/CheckBox/Checkbox.svelte';
28
- import Breadcrumb from './components/Breadcrumb/Breadcrumb.svelte';
29
3
  import Accordion from './components/Accordion/Accordion.svelte';
30
4
  import AccordionItem from './components/Accordion/AccordionItem.svelte';
5
+ import Alert from './components/Alert/Alert.svelte';
6
+ import Badge from './components/Badge/Badge.svelte';
7
+ import Breadcrumb from './components/Breadcrumb/Breadcrumb.svelte';
8
+ import Button from './components/Button/Button.svelte';
9
+ import Card from './components/Card/Card.svelte';
31
10
  import CardIcon from './components/CardIcon/CardIcon.svelte';
32
- import CardiconTitle from './components/CardIcon/CardiconTitle.svelte';
33
11
  import CardiconBody from './components/CardIcon/CardiconBody.svelte';
34
12
  import CardiconSubtitle from './components/CardIcon/CardiconSubtitle.svelte';
35
- import EnkiTable from './components/EnkiTable/EnkiTable.svelte';
36
- import TableBody from './components/EnkiTable/TableBody.svelte';
37
- import TableHead from './components/EnkiTable/TableHead.svelte';
38
- import TableHeadCell from './components/EnkiTable/TableHeadCell.svelte';
39
- import TableRow from './components/EnkiTable/TableRow.svelte';
40
- import TableCell from './components/EnkiTable/TableCell.svelte';
41
- import EnkiCard from './components/EnkiCard/EnkiCard.svelte';
42
- import CardTitle from './components/EnkiCard/CardTitle.svelte';
43
- import CardSubtitle from './components/EnkiCard/CardSubTitle.svelte';
44
- import CardText from './components/EnkiCard/CardText.svelte';
13
+ import CardiconTitle from './components/CardIcon/CardiconTitle.svelte';
14
+ import Checkbox from './components/CheckBox/Checkbox.svelte';
15
+ import Dropdown from './components/Dropdown/Dropdown.svelte';
16
+ import DropdownItem from './components/Dropdown/DropdownItem.svelte';
45
17
  import CardBody from './components/EnkiCard/CardBody.svelte';
46
18
  import CardFooter from './components/EnkiCard/CardFooter.svelte';
47
19
  import CardLink from './components/EnkiCard/CardLink.svelte';
20
+ import CardSubtitle from './components/EnkiCard/CardSubTitle.svelte';
21
+ import CardText from './components/EnkiCard/CardText.svelte';
22
+ import CardTitle from './components/EnkiCard/CardTitle.svelte';
23
+ import EnkiCard from './components/EnkiCard/EnkiCard.svelte';
48
24
  import EnkiSidebar from './components/EnkiSidbar/EnkiSidebar.svelte';
49
- import NavItem from './components/EnkiSidbar/NavItem.svelte';
50
25
  import NavIcon from './components/EnkiSidbar/NavIcon.svelte';
26
+ import NavItem from './components/EnkiSidbar/NavItem.svelte';
51
27
  import NavLink from './components/EnkiSidbar/NavLink.svelte';
52
- import Page from "./components/Layout/Page.svelte";
53
- import MainMenuHead from "./components/Layout/MainMenuHead.svelte";
54
- import Footer from "./components/Layout/Footer.svelte";
55
- import Toast from "./components/Toast/Toast.svelte";
56
- import NotFound from "./components/NotFound/NotFound.svelte";
57
- import { i18nInit } from "./components/i18n/i18n";
58
- import { menuTypeStore } from "./components/Layout/menuStore.js";
59
- import { derivedStore } from "./components/Layout/menuStore.js";
60
- import { smallMenuwidth } from "./components/Layout/menuStore.js";
61
- export { Button, Brand, TextField, Card, Tooltip, Tab, Icon, ActionIconGroup, ActionIcon, Modal, ModalBody, ModalFooter, ModalHeader, Header, HeaderItem, UserAvatar, Dropdown, DropdownItem, Badge, Alert, Pagination, RadioButton, Accordion, AccordionItem, Switch, Checkbox, Breadcrumb, CardIcon, CardiconTitle, CardiconBody, CardiconSubtitle, EnkiTable, TableBody, TableCell, TableRow, TableHead, TableHeadCell, EnkiCard, CardBody, CardTitle, CardSubtitle, CardText, CardLink, CardFooter, EnkiSidebar, NavItem, NavIcon, NavLink, NotFound, Layout, Page, MainMenuHead, Footer, Toast, menuTypeStore, derivedStore, smallMenuwidth, };
28
+ import EnkiTable from './components/EnkiTable/EnkiTable.svelte';
29
+ import TableBody from './components/EnkiTable/TableBody.svelte';
30
+ import TableCell from './components/EnkiTable/TableCell.svelte';
31
+ import TableHead from './components/EnkiTable/TableHead.svelte';
32
+ import TableHeadCell from './components/EnkiTable/TableHeadCell.svelte';
33
+ import TableRow from './components/EnkiTable/TableRow.svelte';
34
+ import Brand from './components/Header/Brand.svelte';
35
+ import Header from './components/Header/Header.svelte';
36
+ import HeaderDropDownLink from './components/Header/HeaderDropDownLink.svelte';
37
+ import HeaderDropDownLinkItem from './components/Header/HeaderDropDownLinkItem.svelte';
38
+ import HeaderLink from './components/Header/HeaderLink.svelte';
39
+ import HeaderLinks from './components/Header/HeaderLinks.svelte';
40
+ import HeaderItem from './components/Header/HeaderItem.svelte';
41
+ import UserAvatar from './components/Header/UserAvatar.svelte';
42
+ import Content from './components/Layout/Content.svelte';
43
+ import { i18nInit } from './components/i18n/i18n';
44
+ import ActionIcon from './components/Icon/ActionIcon.svelte';
45
+ import ActionIconGroup from './components/Icon/ActionInconGroup.svelte';
46
+ import Icon from './components/Icon/Icon.svelte';
47
+ import Footer from './components/Layout/Footer.svelte';
48
+ import Layout from './components/Layout/Layout.svelte';
49
+ import MainMenuHead from './components/Layout/MainMenuHead.svelte';
50
+ import { derivedStore, menuTypeStore, smallMenuwidth } from './components/Layout/menuStore.js';
51
+ import Page from './components/Layout/Page.svelte';
52
+ import Modal from './components/ModalWindow/Modal.svelte';
53
+ import ModalBody from './components/ModalWindow/ModalBody.svelte';
54
+ import ModalFooter from './components/ModalWindow/ModalFooter.svelte';
55
+ import ModalHeader from './components/ModalWindow/ModalHeader.svelte';
56
+ import NotFound from './components/NotFound/NotFound.svelte';
57
+ import Pagination from './components/Pagination/Pagination.svelte';
58
+ import RadioButton from './components/RadioButton/RadioButton.svelte';
59
+ import Switch from './components/Switches/Switch.svelte';
60
+ import Tab from './components/Tab/Tab.svelte';
61
+ import TextField from './components/TextField/TextField.svelte';
62
+ import Toast from './components/Toast/Toast.svelte';
63
+ import Tooltip from './components/Tooltip/Tooltip.svelte';
64
+ import SortableGrid from './components/Layout/SortableGrid.svelte';
65
+ import MenuGroup from './components/Sidebar/MenuGroup.svelte';
66
+ import MenuItem from './components/Sidebar/MenuItem.svelte';
67
+ import SideBarMenu from './components/Sidebar/SideBarMenu.svelte';
68
+ import StatusCard from './components/StatusCard/StatusCard.svelte';
69
+ import StatusCardBody from './components/StatusCard/StatusCardBody.svelte';
70
+ import StatusCardTitle from './components/StatusCard/StatusCardTitle.svelte';
71
+ import StateCard from './components/WidgetCard/StateCard.svelte';
72
+ import WidgetCard from './components/WidgetCard/WidgetCard.svelte';
73
+ import WidgetCardBody from './components/WidgetCard/WidgetCardBody.svelte';
74
+ import DoughnutChart from './components/Charts/DoughnutChart.svelte';
75
+ import PieChart from './components/Charts/PieChart.svelte';
76
+ import BarChart from './components/Charts/Barchart.svelte';
77
+ import LineChart from './components/Charts/LineChart.svelte';
78
+ export { Accordion, AccordionItem, ActionIcon, ActionIconGroup, Alert, Badge, Brand, Breadcrumb, Button, Card, CardBody, CardFooter, CardIcon, CardiconBody, CardiconSubtitle, CardiconTitle, CardLink, CardSubtitle, CardText, CardTitle, Checkbox, derivedStore, Dropdown, DropdownItem, EnkiCard, EnkiSidebar, EnkiTable, Footer, Header, HeaderItem, Icon, Layout, MainMenuHead, menuTypeStore, Modal, ModalBody, ModalFooter, ModalHeader, NavIcon, NavItem, NavLink, NotFound, Page, Pagination, RadioButton, smallMenuwidth, Switch, Tab, TableBody, TableCell, TableHead, TableHeadCell, TableRow, TextField, Toast, Tooltip, UserAvatar, HeaderDropDownLink, HeaderDropDownLinkItem, HeaderLink, HeaderLinks, Content, MenuGroup, MenuItem, SortableGrid, SideBarMenu, StatusCard, StatusCardBody, StatusCardTitle, StateCard, WidgetCard, WidgetCardBody, DoughnutChart, PieChart, BarChart, LineChart, };
62
79
  export default i18nInit;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enki-tek/fms-web-components",
3
- "version": "0.0.90",
3
+ "version": "0.1.1",
4
4
  "devDependencies": {
5
5
  "@storybook/addon-essentials": "^7.6.14",
6
6
  "@storybook/addon-interactions": "^7.6.14",
@@ -24,6 +24,7 @@
24
24
  "prettier-plugin-svelte": "^2.8.1",
25
25
  "react": "^18.2.0",
26
26
  "react-dom": "^18.2.0",
27
+ "sass": "^1.80.3",
27
28
  "storybook": "^7.6.14",
28
29
  "svelte": "^3.54.0",
29
30
  "svelte-check": "^2.9.2",
@@ -38,7 +39,11 @@
38
39
  "dependencies": {
39
40
  "@vitejs/plugin-basic-ssl": "^1.0.1",
40
41
  "bootstrap": "^5.3.2",
41
- "qr-scanner": "^1.4.2"
42
+ "chart.js": "^4.4.5",
43
+ "chartjs-plugin-datalabels": "^2.2.0",
44
+ "qr-scanner": "^1.4.2",
45
+ "sortablejs": "^1.15.3",
46
+ "svelte-chartjs": "^3.1.2"
42
47
  },
43
48
  "exports": {
44
49
  "./package.json": "./package.json",
@@ -72,6 +77,10 @@
72
77
  "./components/CardIcon/CardiconBody.svelte": "./components/CardIcon/CardiconBody.svelte",
73
78
  "./components/CardIcon/CardiconSubtitle.svelte": "./components/CardIcon/CardiconSubtitle.svelte",
74
79
  "./components/CardIcon/CardiconTitle.svelte": "./components/CardIcon/CardiconTitle.svelte",
80
+ "./components/Charts/Barchart.svelte": "./components/Charts/Barchart.svelte",
81
+ "./components/Charts/DoughnutChart.svelte": "./components/Charts/DoughnutChart.svelte",
82
+ "./components/Charts/LineChart.svelte": "./components/Charts/LineChart.svelte",
83
+ "./components/Charts/PieChart.svelte": "./components/Charts/PieChart.svelte",
75
84
  "./components/CheckBox/Checkbox.scss": "./components/CheckBox/Checkbox.scss",
76
85
  "./components/CheckBox/Checkbox.stories": "./components/CheckBox/Checkbox.stories.js",
77
86
  "./components/CheckBox/Checkbox.svelte": "./components/CheckBox/Checkbox.svelte",
@@ -103,7 +112,11 @@
103
112
  "./components/Header/Header.scss": "./components/Header/Header.scss",
104
113
  "./components/Header/Header.stories": "./components/Header/Header.stories.js",
105
114
  "./components/Header/Header.svelte": "./components/Header/Header.svelte",
115
+ "./components/Header/HeaderDropDownLink.svelte": "./components/Header/HeaderDropDownLink.svelte",
116
+ "./components/Header/HeaderDropDownLinkItem.svelte": "./components/Header/HeaderDropDownLinkItem.svelte",
106
117
  "./components/Header/HeaderItem.svelte": "./components/Header/HeaderItem.svelte",
118
+ "./components/Header/HeaderLink.svelte": "./components/Header/HeaderLink.svelte",
119
+ "./components/Header/HeaderLinks.svelte": "./components/Header/HeaderLinks.svelte",
107
120
  "./components/Header/UserAvatar.svelte": "./components/Header/UserAvatar.svelte",
108
121
  "./components/Icon/ActionIcon.svelte": "./components/Icon/ActionIcon.svelte",
109
122
  "./components/Icon/ActionInconGroup.svelte": "./components/Icon/ActionInconGroup.svelte",
@@ -111,11 +124,14 @@
111
124
  "./components/Icon/Icon.stories": "./components/Icon/Icon.stories.js",
112
125
  "./components/Icon/Icon.svelte": "./components/Icon/Icon.svelte",
113
126
  "./components/Icon/actionIcon.scss": "./components/Icon/actionIcon.scss",
127
+ "./components/Layout/Content.svelte": "./components/Layout/Content.svelte",
114
128
  "./components/Layout/Footer.svelte": "./components/Layout/Footer.svelte",
115
129
  "./components/Layout/LayOut.stories": "./components/Layout/LayOut.stories.js",
116
130
  "./components/Layout/LayOut.svelte": "./components/Layout/LayOut.svelte",
131
+ "./components/Layout/Layout.svelte": "./components/Layout/Layout.svelte",
117
132
  "./components/Layout/MainMenuHead.svelte": "./components/Layout/MainMenuHead.svelte",
118
133
  "./components/Layout/Page.svelte": "./components/Layout/Page.svelte",
134
+ "./components/Layout/SortableGrid.svelte": "./components/Layout/SortableGrid.svelte",
119
135
  "./components/Layout/menuStore": "./components/Layout/menuStore.js",
120
136
  "./components/ModalWindow/Modal.scss": "./components/ModalWindow/Modal.scss",
121
137
  "./components/ModalWindow/Modal.stories": "./components/ModalWindow/Modal.stories.js",
@@ -132,9 +148,16 @@
132
148
  "./components/RadioButton/RadioButton.scss": "./components/RadioButton/RadioButton.scss",
133
149
  "./components/RadioButton/RadioButton.stories": "./components/RadioButton/RadioButton.stories.js",
134
150
  "./components/RadioButton/RadioButton.svelte": "./components/RadioButton/RadioButton.svelte",
151
+ "./components/Sidebar/MenuGroup.svelte": "./components/Sidebar/MenuGroup.svelte",
152
+ "./components/Sidebar/MenuItem.svelte": "./components/Sidebar/MenuItem.svelte",
153
+ "./components/Sidebar/SideBarMenu.svelte": "./components/Sidebar/SideBarMenu.svelte",
135
154
  "./components/Sidebar/Sidebar.scss": "./components/Sidebar/Sidebar.scss",
136
155
  "./components/Sidebar/Sidebar.stories": "./components/Sidebar/Sidebar.stories.js",
137
156
  "./components/Sidebar/Sidebar.svelte": "./components/Sidebar/Sidebar.svelte",
157
+ "./components/StatusCard/StatusCard.scss": "./components/StatusCard/StatusCard.scss",
158
+ "./components/StatusCard/StatusCard.svelte": "./components/StatusCard/StatusCard.svelte",
159
+ "./components/StatusCard/StatusCardBody.svelte": "./components/StatusCard/StatusCardBody.svelte",
160
+ "./components/StatusCard/StatusCardTitle.svelte": "./components/StatusCard/StatusCardTitle.svelte",
138
161
  "./components/Switches/Switch.scss": "./components/Switches/Switch.scss",
139
162
  "./components/Switches/Switch.stories": "./components/Switches/Switch.stories.js",
140
163
  "./components/Switches/Switch.svelte": "./components/Switches/Switch.svelte",
@@ -154,6 +177,11 @@
154
177
  "./components/Tooltip/Tooltip.scss": "./components/Tooltip/Tooltip.scss",
155
178
  "./components/Tooltip/Tooltip.stories": "./components/Tooltip/Tooltip.stories.js",
156
179
  "./components/Tooltip/Tooltip.svelte": "./components/Tooltip/Tooltip.svelte",
180
+ "./components/WidgetCard/Card.scss": "./components/WidgetCard/Card.scss",
181
+ "./components/WidgetCard/SensorStatusCard.svelte": "./components/WidgetCard/SensorStatusCard.svelte",
182
+ "./components/WidgetCard/StateCard.svelte": "./components/WidgetCard/StateCard.svelte",
183
+ "./components/WidgetCard/WidgetCard.svelte": "./components/WidgetCard/WidgetCard.svelte",
184
+ "./components/WidgetCard/WidgetCardBody.svelte": "./components/WidgetCard/WidgetCardBody.svelte",
157
185
  "./components/common.scss": "./components/common.scss",
158
186
  "./components/i18n/ShiftLanguage.svelte": "./components/i18n/ShiftLanguage.svelte",
159
187
  "./components/i18n/i18n": "./components/i18n/i18n.js",