@beterdichtbij/component-library 0.70.1 → 0.71.0-alpha.1

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.
Files changed (69) hide show
  1. package/README.md +12 -12
  2. package/dist/bd-component-lib.cjs.js +57 -57
  3. package/dist/bd-component-lib.css +1 -1
  4. package/dist/bd-component-lib.es.js +106 -50
  5. package/dist/bd-component-lib.umd.js +97 -97
  6. package/dist/components/templates/BDVideoCallTemplate/BDVideoCallTemplate.vue.d.ts +0 -2
  7. package/dist/locales/en.json +42 -10
  8. package/dist/locales/nl.json +143 -137
  9. package/dist/scss/_active-filters.scss +65 -65
  10. package/dist/scss/_alert.scss +5 -5
  11. package/dist/scss/_article.scss +20 -20
  12. package/dist/scss/_assign-conversation-modal.scss +13 -13
  13. package/dist/scss/_attachments.scss +107 -107
  14. package/dist/scss/_badge.scss +18 -18
  15. package/dist/scss/_button.scss +74 -74
  16. package/dist/scss/_card.scss +56 -56
  17. package/dist/scss/_chatcloud.scss +98 -98
  18. package/dist/scss/_collapsable-card.scss +107 -107
  19. package/dist/scss/_content-library-card-message-template.scss +136 -136
  20. package/dist/scss/_content-library-card.scss +158 -158
  21. package/dist/scss/_content-library-modal.scss +8 -8
  22. package/dist/scss/_content-library-overview.scss +4 -4
  23. package/dist/scss/_content-library-split-button.scss +23 -23
  24. package/dist/scss/_conversation-to-text-modal.scss +36 -36
  25. package/dist/scss/_dropdown.scss +113 -113
  26. package/dist/scss/_extern.scss +1 -1
  27. package/dist/scss/_file-upload-preview.scss +53 -53
  28. package/dist/scss/_file-upload.scss +26 -26
  29. package/dist/scss/_filter-card.scss +64 -64
  30. package/dist/scss/_form-field.scss +12 -12
  31. package/dist/scss/_form-multiple-checkbox.scss +51 -51
  32. package/dist/scss/_forms.scss +2 -2
  33. package/dist/scss/_header.scss +170 -170
  34. package/dist/scss/_icon-luscii-logo.scss +31 -31
  35. package/dist/scss/_icons.scss +38 -38
  36. package/dist/scss/_image-attachment-modal.scss +91 -91
  37. package/dist/scss/_input-group.scss +2 -2
  38. package/dist/scss/_loader.scss +59 -59
  39. package/dist/scss/_markdown-editor.scss +114 -114
  40. package/dist/scss/_message-template-form-modal.scss +47 -47
  41. package/dist/scss/_mixins.scss +78 -78
  42. package/dist/scss/_mobile-menu.scss +91 -91
  43. package/dist/scss/_modal.scss +176 -176
  44. package/dist/scss/_notification-button.scss +29 -29
  45. package/dist/scss/_pagination.scss +56 -56
  46. package/dist/scss/_phone-number-edit-modal.scss +35 -35
  47. package/dist/scss/_pill-container.scss +26 -26
  48. package/dist/scss/_pill.scss +63 -63
  49. package/dist/scss/_profile-image.scss +34 -34
  50. package/dist/scss/_table-sort-header.scss +13 -13
  51. package/dist/scss/_table.scss +16 -16
  52. package/dist/scss/_templates.scss +318 -317
  53. package/dist/scss/_toast.scss +69 -69
  54. package/dist/scss/_user-information.scss +34 -34
  55. package/dist/scss/_user.scss +21 -21
  56. package/dist/scss/_video-call-toast.scss +100 -100
  57. package/dist/scss/_zoomslider.scss +77 -77
  58. package/dist/scss/base/variables.scss +210 -210
  59. package/dist/scss/extern/_bootstrap.scss +14 -14
  60. package/dist/scss/extern/_prime-vue.scss +551 -551
  61. package/dist/scss/forms/_form-check.scss +16 -16
  62. package/dist/scss/forms/_form-input.scss +9 -9
  63. package/dist/scss/main.scss +52 -52
  64. package/dist/scss/templates/_change-password-template.scss +8 -8
  65. package/dist/scss/templates/_content-library-template.scss +135 -135
  66. package/dist/scss/templates/_not-found-template.scss +9 -9
  67. package/dist/scss/templates/_video-call-template.scss +212 -0
  68. package/dist/stores/SessionTimeOutStore.ts +46 -46
  69. package/package.json +133 -133
@@ -1,47 +1,47 @@
1
- import { defineStore } from 'pinia';
2
- import dayjs from 'dayjs';
3
- import { ref } from 'vue';
4
-
5
- export const useSessionTimeOutStore = defineStore('SessionTimeOutStore', () => {
6
- const threshold = ref(null)
7
- const warningThreshold = ref(null);
8
- const time: any = ref(dayjs());
9
- const taskId = ref(null);
10
-
11
- const SetDefaultSessionTimeOutValues = (ServerDefaultValues : any) => {
12
- threshold.value = ServerDefaultValues.TimeOutSessionInMinutes;
13
- warningThreshold.value = ServerDefaultValues.TimeOutSessionShowWarning;
14
- SetNewTime();
15
- }
16
-
17
- const SetNewTime = () => {
18
- time.value = dayjs();
19
- }
20
-
21
- const SetTaskId = (id : any) => {
22
- taskId.value = id;
23
- }
24
-
25
- const ClearSessionTimeOut = () => {
26
- if (taskId.value) {
27
- clearInterval(taskId.value);
28
- }
29
- threshold.value = null
30
- warningThreshold.value = null;
31
- time.value = null;
32
- taskId.value = null;
33
- }
34
-
35
- const GetTime = () => time.value;
36
-
37
- return {
38
- SetDefaultSessionTimeOutValues,
39
- SetTaskId,
40
- ClearSessionTimeOut,
41
- threshold,
42
- warningThreshold,
43
- taskId,
44
- GetTime,
45
- SetNewTime
46
- }
1
+ import { defineStore } from 'pinia';
2
+ import dayjs from 'dayjs';
3
+ import { ref } from 'vue';
4
+
5
+ export const useSessionTimeOutStore = defineStore('SessionTimeOutStore', () => {
6
+ const threshold = ref(null)
7
+ const warningThreshold = ref(null);
8
+ const time: any = ref(dayjs());
9
+ const taskId = ref(null);
10
+
11
+ const SetDefaultSessionTimeOutValues = (ServerDefaultValues : any) => {
12
+ threshold.value = ServerDefaultValues.TimeOutSessionInMinutes;
13
+ warningThreshold.value = ServerDefaultValues.TimeOutSessionShowWarning;
14
+ SetNewTime();
15
+ }
16
+
17
+ const SetNewTime = () => {
18
+ time.value = dayjs();
19
+ }
20
+
21
+ const SetTaskId = (id : any) => {
22
+ taskId.value = id;
23
+ }
24
+
25
+ const ClearSessionTimeOut = () => {
26
+ if (taskId.value) {
27
+ clearInterval(taskId.value);
28
+ }
29
+ threshold.value = null
30
+ warningThreshold.value = null;
31
+ time.value = null;
32
+ taskId.value = null;
33
+ }
34
+
35
+ const GetTime = () => time.value;
36
+
37
+ return {
38
+ SetDefaultSessionTimeOutValues,
39
+ SetTaskId,
40
+ ClearSessionTimeOut,
41
+ threshold,
42
+ warningThreshold,
43
+ taskId,
44
+ GetTime,
45
+ SetNewTime
46
+ }
47
47
  })
package/package.json CHANGED
@@ -1,133 +1,133 @@
1
- {
2
- "name": "@beterdichtbij/component-library",
3
- "description": "Component library voor BeterDichtbij design system",
4
- "private": false,
5
- "version": "0.70.1",
6
- "engines": {
7
- "node": "24.x",
8
- "npm": "11.x"
9
- },
10
- "type": "module",
11
- "files": [
12
- "dist"
13
- ],
14
- "main": "./dist/bd-component-lib.umd.js",
15
- "module": "./dist/bd-component-lib.es.js",
16
- "exports": {
17
- ".": {
18
- "import": {
19
- "types": "./dist/index.d.ts",
20
- "default": "./dist/bd-component-lib.es.js"
21
- },
22
- "require": {
23
- "types": "./dist/index.d.ts",
24
- "default": "./dist/bd-component-lib.umd.js"
25
- }
26
- },
27
- "./dist/bd-component-lib.css": {
28
- "import": "./dist/scss/main.scss",
29
- "require": "./dist/scss/main.scss"
30
- }
31
- },
32
- "types": "./dist/index.d.ts",
33
- "scripts": {
34
- "dev": "vite",
35
- "build": "vite build",
36
- "preview": "vite preview",
37
- "storybook": "storybook dev -p 6006",
38
- "install:publish": "npm run audit:lib && npm install",
39
- "build:lib": "tsc && vite build",
40
- "build:storybook": "storybook build",
41
- "build:publish": "npm run install:publish && npm run build:lib && npm run build:storybook",
42
- "audit:lib": "npm audit --package-lock-only --audit-level=critical --include=prod --omit=dev",
43
- "publish:sb": "swa deploy --env production",
44
- "publish:sb-prod": "swa deploy --config swa-cli-prod.config.json --env production",
45
- "lint:js": "eslint src --ext .ts,.vue --fix",
46
- "vitest": "vitest --config vitest.config.ts --coverage",
47
- "test:ci": "vitest run --reporter=default --reporter=junit --outputFile=reports/junit.xml --coverage"
48
- },
49
- "keywords": [
50
- "vue",
51
- "vue3",
52
- "component",
53
- "library",
54
- "BeterDichtbij"
55
- ],
56
- "peerDependencies": {
57
- "vue": "^3.5.38",
58
- "@azure/communication-calling": "^1.43.1",
59
- "@azure/communication-common": "^2.4.2"
60
- },
61
- "dependencies": {
62
- "@primeuix/themes": "^2.0.3",
63
- "@tiptap/extension-bold": "3.26.1",
64
- "@tiptap/extension-bullet-list": "3.26.1",
65
- "@tiptap/extension-document": "3.26.1",
66
- "@tiptap/extension-hard-break": "3.26.1",
67
- "@tiptap/extension-italic": "3.26.1",
68
- "@tiptap/extension-link": "3.26.1",
69
- "@tiptap/extension-list-item": "3.26.1",
70
- "@tiptap/extension-mention": "3.26.1",
71
- "@tiptap/extension-ordered-list": "3.26.1",
72
- "@tiptap/extension-paragraph": "3.26.1",
73
- "@tiptap/extension-placeholder": "3.26.1",
74
- "@tiptap/extension-text": "3.26.1",
75
- "@tiptap/extension-underline": "3.26.1",
76
- "@tiptap/pm": "3.26.1",
77
- "@tiptap/suggestion": "3.26.1",
78
- "@tiptap/vue-3": "3.26.1",
79
- "@vueuse/core": "14.3.0",
80
- "dayjs": "^1.11.21",
81
- "maska": "3.2.0",
82
- "pinia": "3.0.4",
83
- "primevue": "^4.5.5",
84
- "uid": "2.0.2",
85
- "v-clipboard": "^3.0.0-next.1",
86
- "vue-i18n": "^11.4.5",
87
- "vue-select": "^4.0.0-beta.6"
88
- },
89
- "devDependencies": {
90
- "@fontsource/quicksand": "^5.2.10",
91
- "@fontsource/work-sans": "^5.2.8",
92
- "@storybook/addon-a11y": "10.4.5",
93
- "@storybook/vue3": "^10.4.5",
94
- "@storybook/vue3-vite": "^10.4.5",
95
- "@types/bootstrap": "5.2.11",
96
- "@typescript-eslint/eslint-plugin": "^8.61.1",
97
- "@typescript-eslint/parser": "^8.61.1",
98
- "@vitejs/plugin-vue": "^6.0.7",
99
- "@vitest/coverage-v8": "4.1.9",
100
- "@vue/eslint-config-typescript": "14.8.0",
101
- "@vue/test-utils": "^2.4.11",
102
- "bootstrap": "5.3.8",
103
- "eslint": "10.5.0",
104
- "eslint-config-prettier": "10.1.8",
105
- "eslint-plugin-prettier": "5.5.6",
106
- "eslint-plugin-vue": "10.9.2",
107
- "jsdom": "^29.1.1",
108
- "path": "^0.12.7",
109
- "prettier": "3.8.4",
110
- "react": "^19.2.7",
111
- "react-dom": "^19.2.7",
112
- "rollup-plugin-copy": "3.5.0",
113
- "rollup-plugin-typescript2": "^0.37.0",
114
- "sass": "^1.101.0",
115
- "storybook": "^10.4.5",
116
- "typescript": "^6.0.3",
117
- "vite": "^8.0.16",
118
- "vite-plugin-dts": "^5.0.2",
119
- "vitest": "4.1.9"
120
- },
121
- "repository": {
122
- "type": "git",
123
- "url": "git+https://ralph_van_der_neut@bitbucket.org/beterdichtbij/beterdichtbij-component-library.git"
124
- },
125
- "bugs": {
126
- "url": "https://bitbucket.org/beterdichtbij/beterdichtbij-component-library/issues"
127
- },
128
- "homepage": "https://bitbucket.org/beterdichtbij/beterdichtbij-component-library#readme",
129
- "allowScripts": {
130
- "@parcel/watcher@2.5.6": true,
131
- "esbuild@0.27.7": true
132
- }
133
- }
1
+ {
2
+ "name": "@beterdichtbij/component-library",
3
+ "description": "Component library voor BeterDichtbij design system",
4
+ "private": false,
5
+ "version": "0.71.0-alpha.1",
6
+ "engines": {
7
+ "node": "24.x",
8
+ "npm": "11.x"
9
+ },
10
+ "type": "module",
11
+ "files": [
12
+ "dist"
13
+ ],
14
+ "main": "./dist/bd-component-lib.umd.js",
15
+ "module": "./dist/bd-component-lib.es.js",
16
+ "exports": {
17
+ ".": {
18
+ "import": {
19
+ "types": "./dist/index.d.ts",
20
+ "default": "./dist/bd-component-lib.es.js"
21
+ },
22
+ "require": {
23
+ "types": "./dist/index.d.ts",
24
+ "default": "./dist/bd-component-lib.umd.js"
25
+ }
26
+ },
27
+ "./dist/bd-component-lib.css": {
28
+ "import": "./dist/scss/main.scss",
29
+ "require": "./dist/scss/main.scss"
30
+ }
31
+ },
32
+ "types": "./dist/index.d.ts",
33
+ "scripts": {
34
+ "dev": "vite",
35
+ "build": "vite build",
36
+ "preview": "vite preview",
37
+ "storybook": "storybook dev -p 6006",
38
+ "install:publish": "npm run audit:lib && npm install",
39
+ "build:lib": "tsc && vite build",
40
+ "build:storybook": "storybook build",
41
+ "build:publish": "npm run install:publish && npm run build:lib && npm run build:storybook",
42
+ "audit:lib": "npm audit --package-lock-only --audit-level=critical --include=prod --omit=dev",
43
+ "publish:sb": "swa deploy --env production",
44
+ "publish:sb-prod": "swa deploy --config swa-cli-prod.config.json --env production",
45
+ "lint:js": "eslint src --ext .ts,.vue --fix",
46
+ "vitest": "vitest --config vitest.config.ts --coverage",
47
+ "test:ci": "vitest run --reporter=default --reporter=junit --outputFile=reports/junit.xml --coverage"
48
+ },
49
+ "keywords": [
50
+ "vue",
51
+ "vue3",
52
+ "component",
53
+ "library",
54
+ "BeterDichtbij"
55
+ ],
56
+ "peerDependencies": {
57
+ "vue": "^3.5.38",
58
+ "@azure/communication-calling": "^1.43.1",
59
+ "@azure/communication-common": "^2.4.2"
60
+ },
61
+ "dependencies": {
62
+ "@primeuix/themes": "^2.0.3",
63
+ "@tiptap/extension-bold": "3.26.1",
64
+ "@tiptap/extension-bullet-list": "3.26.1",
65
+ "@tiptap/extension-document": "3.26.1",
66
+ "@tiptap/extension-hard-break": "3.26.1",
67
+ "@tiptap/extension-italic": "3.26.1",
68
+ "@tiptap/extension-link": "3.26.1",
69
+ "@tiptap/extension-list-item": "3.26.1",
70
+ "@tiptap/extension-mention": "3.26.1",
71
+ "@tiptap/extension-ordered-list": "3.26.1",
72
+ "@tiptap/extension-paragraph": "3.26.1",
73
+ "@tiptap/extension-placeholder": "3.26.1",
74
+ "@tiptap/extension-text": "3.26.1",
75
+ "@tiptap/extension-underline": "3.26.1",
76
+ "@tiptap/pm": "3.26.1",
77
+ "@tiptap/suggestion": "3.26.1",
78
+ "@tiptap/vue-3": "3.26.1",
79
+ "@vueuse/core": "14.3.0",
80
+ "dayjs": "^1.11.21",
81
+ "maska": "3.2.0",
82
+ "pinia": "3.0.4",
83
+ "primevue": "^4.5.5",
84
+ "uid": "2.0.2",
85
+ "v-clipboard": "^3.0.0-next.1",
86
+ "vue-i18n": "^11.4.5",
87
+ "vue-select": "^4.0.0-beta.6"
88
+ },
89
+ "devDependencies": {
90
+ "@fontsource/quicksand": "^5.2.10",
91
+ "@fontsource/work-sans": "^5.2.8",
92
+ "@storybook/addon-a11y": "10.4.5",
93
+ "@storybook/vue3": "^10.4.5",
94
+ "@storybook/vue3-vite": "^10.4.5",
95
+ "@types/bootstrap": "5.2.11",
96
+ "@typescript-eslint/eslint-plugin": "^8.61.1",
97
+ "@typescript-eslint/parser": "^8.61.1",
98
+ "@vitejs/plugin-vue": "^6.0.7",
99
+ "@vitest/coverage-v8": "4.1.9",
100
+ "@vue/eslint-config-typescript": "14.8.0",
101
+ "@vue/test-utils": "^2.4.11",
102
+ "bootstrap": "5.3.8",
103
+ "eslint": "10.5.0",
104
+ "eslint-config-prettier": "10.1.8",
105
+ "eslint-plugin-prettier": "5.5.6",
106
+ "eslint-plugin-vue": "10.9.2",
107
+ "jsdom": "^29.1.1",
108
+ "path": "^0.12.7",
109
+ "prettier": "3.8.4",
110
+ "react": "^19.2.7",
111
+ "react-dom": "^19.2.7",
112
+ "rollup-plugin-copy": "3.5.0",
113
+ "rollup-plugin-typescript2": "^0.37.0",
114
+ "sass": "^1.101.0",
115
+ "storybook": "^10.4.5",
116
+ "typescript": "^6.0.3",
117
+ "vite": "^8.0.16",
118
+ "vite-plugin-dts": "^5.0.2",
119
+ "vitest": "4.1.9"
120
+ },
121
+ "repository": {
122
+ "type": "git",
123
+ "url": "git+https://ralph_van_der_neut@bitbucket.org/beterdichtbij/beterdichtbij-component-library.git"
124
+ },
125
+ "bugs": {
126
+ "url": "https://bitbucket.org/beterdichtbij/beterdichtbij-component-library/issues"
127
+ },
128
+ "homepage": "https://bitbucket.org/beterdichtbij/beterdichtbij-component-library#readme",
129
+ "allowScripts": {
130
+ "@parcel/watcher@2.5.6": true,
131
+ "esbuild@0.27.7": true
132
+ }
133
+ }