@beterdichtbij/component-library 0.24.1 → 0.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,17 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<Readonly<{
2
+ label?: any;
3
+ active?: any;
4
+ sortDesc?: any;
5
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("sortDesc" | "sortAsc")[], "sortDesc" | "sortAsc", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
6
+ label?: any;
7
+ active?: any;
8
+ sortDesc?: any;
9
+ }>>> & {
10
+ onSortDesc?: ((...args: any[]) => any) | undefined;
11
+ onSortAsc?: ((...args: any[]) => any) | undefined;
12
+ }, {
13
+ readonly label?: any;
14
+ readonly active?: any;
15
+ readonly sortDesc?: any;
16
+ }, {}>;
17
+ export default _sfc_main;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BDTableSortHeader.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/BDTableSortHeader/BDTableSortHeader.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,qHAAqH,CAAC;AAC5I,cAAc,qHAAqH,CAAC;AACpI,eAAe,SAAS,CAAC"}
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconSort.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/icons/IconSort.vue"],"names":[],"mappings":";AAoBA,wBAA4E"}
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconSortAsc.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/icons/IconSortAsc.vue"],"names":[],"mappings":";AAoBA,wBAA4E"}
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconSortDesc.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/icons/IconSortDesc.vue"],"names":[],"mappings":";AAoBA,wBAA4E"}
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconSortNone.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/icons/IconSortNone.vue"],"names":[],"mappings":";AAoBA,wBAA4E"}
@@ -24,6 +24,10 @@ import IconListView from "./IconListView.vue";
24
24
  import IconMenu from "./IconMenu.vue";
25
25
  import IconOrderedList from "./IconOrderedList.vue";
26
26
  import IconRemove from "./IconRemove.vue";
27
- import IconUnderline from "./IconUnderline.vue";
27
+ import IconSort from "./IconSort.vue";
28
+ import IconSortAsc from "./IconSortAsc.vue";
29
+ import IconSortDesc from "./IconSortDesc.vue";
30
+ import IconSortNone from "./IconSortNone.vue";
28
31
  import IconTriangleExclamation from "./IconTriangleExclamation.vue";
29
- export { IconAcademy, IconArrowDown, IconArrowUp, IconAttachment, IconBold, IconBulletList, IconCalendar, IconCardView, IconCaretDown, IconCaretLeft, IconCaretRight, IconCheck, IconClose, IconDownloadImage, IconEdit, IconError, IconEyeShow, IconEyeSlash, IconFile, IconHyperlink, IconInfo, IconItalic, IconListView, IconMenu, IconOrderedList, IconRemove, IconUnderline, IconTriangleExclamation };
32
+ import IconUnderline from "./IconUnderline.vue";
33
+ export { IconAcademy, IconArrowDown, IconArrowUp, IconAttachment, IconBold, IconBulletList, IconCalendar, IconCardView, IconCaretDown, IconCaretLeft, IconCaretRight, IconCheck, IconClose, IconDownloadImage, IconEdit, IconError, IconEyeShow, IconEyeSlash, IconFile, IconHyperlink, IconInfo, IconItalic, IconListView, IconMenu, IconOrderedList, IconRemove, IconSort, IconSortAsc, IconSortDesc, IconSortNone, IconTriangleExclamation, IconUnderline, };
@@ -0,0 +1,26 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<Readonly<{
2
+ fields?: any;
3
+ items?: any;
4
+ sortBy?: any;
5
+ sortDesc?: any;
6
+ tbodyTrClass?: any;
7
+ emptyText?: any;
8
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("row-click" | "sort-changed")[], "row-click" | "sort-changed", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
9
+ fields?: any;
10
+ items?: any;
11
+ sortBy?: any;
12
+ sortDesc?: any;
13
+ tbodyTrClass?: any;
14
+ emptyText?: any;
15
+ }>>> & {
16
+ "onRow-click"?: ((...args: any[]) => any) | undefined;
17
+ "onSort-changed"?: ((...args: any[]) => any) | undefined;
18
+ }, {
19
+ readonly fields?: any;
20
+ readonly items?: any;
21
+ readonly sortBy?: any;
22
+ readonly sortDesc?: any;
23
+ readonly tbodyTrClass?: any;
24
+ readonly emptyText?: any;
25
+ }, {}>;
26
+ export default _sfc_main;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BDTable.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/BDTable/BDTable.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,qGAAqG,CAAC;AAC5H,cAAc,qGAAqG,CAAC;AACpH,eAAe,SAAS,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import BDCol from "./layout/BDCol.vue";
2
2
  import BDContainer from "./layout/BDContainer.vue";
3
3
  import BDRow from "./layout/BDRow.vue";
4
- import { IconAcademy, IconArrowDown, IconArrowUp, IconAttachment, IconBold, IconBulletList, IconCaretDown, IconCaretLeft, IconCaretRight, IconCheck, IconClose, IconError, IconFile, IconHyperlink, IconInfo, IconItalic, IconOrderedList, IconRemove, IconUnderline, IconCalendar, IconDownloadImage, IconMenu, IconEdit, IconCardView, IconListView, IconEyeShow, IconEyeSlash, IconTriangleExclamation } from "./components/atoms/icons/index";
4
+ import { IconAcademy, IconArrowDown, IconArrowUp, IconAttachment, IconBold, IconBulletList, IconCaretDown, IconCaretLeft, IconCaretRight, IconCheck, IconClose, IconError, IconFile, IconHyperlink, IconInfo, IconItalic, IconOrderedList, IconRemove, IconUnderline, IconCalendar, IconDownloadImage, IconMenu, IconEdit, IconCardView, IconListView, IconEyeShow, IconEyeSlash, IconSort, IconSortAsc, IconSortDesc, IconSortNone, IconTriangleExclamation } from "./components/atoms/icons/index";
5
5
  import BDButton from "./components/atoms/BDButton/BDButton.vue";
6
6
  import BDLogo from "./components/atoms/BDLogo/BDLogo.vue";
7
7
  import BDLink from "./components/atoms/BDLink/BDLink.vue";
@@ -28,10 +28,11 @@ import BDUser from "./components/molecules/BDUser/BDUser.vue";
28
28
  import BDAttachmentPreviewList from "./components/molecules/BDAttachmentPreviewList/BDAttachmentPreviewList.vue";
29
29
  import BDImageAttachmentPreviewList from "./components/molecules/BDImageAttachmentPreviewList/BDImageAttachmentPreviewList.vue";
30
30
  import BDChatCloud from "./components/molecules/BDChatCloud/BDChatCloud.vue";
31
+ import BDTable from "./components/molecules/BDTable/BDTable.vue";
31
32
  import BDDropdown from "./components/organisms/BDDropdown/BDDropdown.vue";
32
33
  import BDHeader from "./components/organisms/BDHeader/BDHeader.vue";
33
34
  import BDModal from "./components/organisms/BDModal/BDModal.vue";
34
35
  import { useModal } from "./composables/useModal";
35
36
  import { useToaster } from "./composables/useToaster";
36
37
  import { vBdTooltip } from "./directives/BDTooltip";
37
- export { BDChatCloud, BDCol, BDContainer, BDRow, BDButton, BDLogo, BDLink, BDDropdownItem, BDDropdown, BDAlert, BDProfileImage, BDZoomslider, BDCard, BDCollapsableCard, BDModal, BDFormInput, BDFormInvalidFeedback, BDInputGroup, BDBadge, BDForm, BDPagination, BDDropzone, BDMarkdownEditor, BDFormSelect, BDFormCheckbox, BDArticle, BDUser, BDToast, BDAttachmentPreviewList, BDImageAttachmentPreviewList, BDHeader, BDMobileMenu, IconAcademy, IconArrowDown, IconArrowUp, IconAttachment, IconBold, IconBulletList, IconCalendar, IconCardView, IconCaretDown, IconCaretLeft, IconCaretRight, IconCheck, IconClose, IconDownloadImage, IconEdit, IconError, IconEyeShow, IconEyeSlash, IconFile, IconHyperlink, IconInfo, IconItalic, IconListView, IconMenu, IconOrderedList, IconRemove, IconUnderline, IconTriangleExclamation, useModal, useToaster, vBdTooltip, };
38
+ export { BDChatCloud, BDCol, BDContainer, BDRow, BDButton, BDLogo, BDLink, BDDropdownItem, BDDropdown, BDAlert, BDProfileImage, BDZoomslider, BDCard, BDCollapsableCard, BDModal, BDFormInput, BDFormInvalidFeedback, BDInputGroup, BDBadge, BDForm, BDPagination, BDDropzone, BDMarkdownEditor, BDFormSelect, BDFormCheckbox, BDArticle, BDUser, BDToast, BDAttachmentPreviewList, BDImageAttachmentPreviewList, BDHeader, BDMobileMenu, BDTable, IconAcademy, IconArrowDown, IconArrowUp, IconAttachment, IconBold, IconBulletList, IconCalendar, IconCardView, IconCaretDown, IconCaretLeft, IconCaretRight, IconCheck, IconClose, IconDownloadImage, IconEdit, IconError, IconEyeShow, IconEyeSlash, IconFile, IconHyperlink, IconInfo, IconItalic, IconListView, IconMenu, IconOrderedList, IconRemove, IconSort, IconSortAsc, IconSortDesc, IconSortNone, IconTriangleExclamation, IconUnderline, useModal, useToaster, vBdTooltip, };
@@ -0,0 +1,14 @@
1
+ .bd-table-sort {
2
+ user-select: none;
3
+ cursor: pointer;
4
+ font-weight: 400;
5
+ color: $color-blue;
6
+
7
+ &.active {
8
+ font-weight: 700;
9
+ }
10
+
11
+ span {
12
+ margin-right: 4px;
13
+ }
14
+ }
@@ -0,0 +1,13 @@
1
+ .bd-table {
2
+ thead {
3
+ user-select: none;
4
+
5
+ th {
6
+ word-wrap: nowrap;
7
+ }
8
+ }
9
+
10
+ .empty-text {
11
+ text-align: center;
12
+ }
13
+ }
@@ -19,4 +19,6 @@
19
19
  @import "markdown-editor";
20
20
  @import "modal";
21
21
  @import "attachments";
22
- @import "chatcloud";
22
+ @import "chatcloud";
23
+ @import "table";
24
+ @import "table-sort-header";
@@ -3,4 +3,8 @@
3
3
  padding: 0;
4
4
  font-weight: $font-bold;
5
5
  margin-bottom: 0.25rem;
6
+ }
7
+
8
+ .bd-invalid-feedback.is-invalid{
9
+ display:block
6
10
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@beterdichtbij/component-library",
3
3
  "private": false,
4
- "version": "0.24.1",
4
+ "version": "0.25.0",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"