@visns-studio/visns-components 4.7.2 → 4.7.4

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 (99) hide show
  1. package/package.json +15 -14
  2. package/src/components/cms/DataGrid.jsx +1461 -0
  3. package/src/components/cms/DropZone.jsx +349 -0
  4. package/src/components/cms/Field.jsx +802 -0
  5. package/src/components/cms/Form.jsx +476 -0
  6. package/src/components/cms/generic/CmsDetail.jsx +36 -0
  7. package/src/components/cms/generic/CmsIndex.jsx +73 -0
  8. package/src/components/cms/generic/CmsSort.jsx +125 -0
  9. package/src/components/cms/sorting/Item.jsx +115 -0
  10. package/src/components/cms/sorting/List.jsx +30 -0
  11. package/src/components/crm/AsyncSelect.jsx +125 -0
  12. package/src/components/crm/Autocomplete.jsx +174 -0
  13. package/src/components/crm/Breadcrumb.jsx +52 -0
  14. package/src/components/crm/Call.jsx +220 -0
  15. package/src/components/crm/DataGrid.jsx +2701 -0
  16. package/src/components/crm/Download.jsx +101 -0
  17. package/src/components/crm/Fetch.jsx +119 -0
  18. package/src/components/crm/Field.jsx +1637 -0
  19. package/src/components/crm/Form.jsx +1409 -0
  20. package/src/components/crm/Loader.jsx +29 -0
  21. package/src/components/crm/MultiSelect.jsx +78 -0
  22. package/src/components/crm/Navigation.jsx +619 -0
  23. package/src/components/crm/Notification.jsx +197 -0
  24. package/src/components/crm/QrCode.jsx +83 -0
  25. package/src/components/crm/Select.jsx +58 -0
  26. package/src/components/crm/SelectList.jsx +21 -0
  27. package/src/components/crm/TableFilter.jsx +198 -0
  28. package/src/components/crm/auth/Login.jsx +223 -0
  29. package/src/components/crm/auth/Profile.jsx +280 -0
  30. package/src/components/crm/auth/Reset.jsx +111 -0
  31. package/src/components/crm/auth/Verify.jsx +174 -0
  32. package/src/components/crm/auth/styles/Login.module.scss +243 -0
  33. package/src/components/crm/auth/styles/Profile.module.scss +222 -0
  34. package/src/components/crm/auth/styles/Reset.module.scss +216 -0
  35. package/src/components/crm/auth/styles/Verify.module.scss +216 -0
  36. package/src/components/crm/generic/AuditLog.jsx +108 -0
  37. package/src/components/crm/generic/AuditLogs.jsx +115 -0
  38. package/src/components/crm/generic/GenericAuth.jsx +166 -0
  39. package/src/components/crm/generic/GenericDashboard.jsx +42 -0
  40. package/src/components/crm/generic/GenericDetail.jsx +1499 -0
  41. package/src/components/crm/generic/GenericDynamic.jsx +916 -0
  42. package/src/components/crm/generic/GenericFormBuilder.jsx +1909 -0
  43. package/src/components/crm/generic/GenericIndex.jsx +376 -0
  44. package/src/components/crm/generic/GenericMain.jsx +129 -0
  45. package/src/components/crm/generic/GenericSort.jsx +188 -0
  46. package/src/components/crm/generic/NotificationList.jsx +64 -0
  47. package/src/components/crm/generic/styles/AuditLog.module.scss +147 -0
  48. package/src/components/crm/generic/styles/AuditLogs.module.scss +92 -0
  49. package/src/components/crm/generic/styles/GenericDetail.module.scss +634 -0
  50. package/src/components/crm/generic/styles/GenericDynamic.module.scss +932 -0
  51. package/src/components/crm/generic/styles/GenericFormBuilder.module.scss +944 -0
  52. package/src/components/crm/generic/styles/GenericIndex.module.scss +247 -0
  53. package/src/components/crm/generic/styles/GenericMain.module.scss +91 -0
  54. package/src/components/crm/generic/styles/GenericSort.module.scss +123 -0
  55. package/src/components/crm/generic/styles/NotificationList.module.scss +67 -0
  56. package/src/components/crm/sorting/Item.jsx +117 -0
  57. package/src/components/crm/sorting/List.jsx +32 -0
  58. package/src/components/crm/sorting/styles/Item.module.scss +68 -0
  59. package/src/components/crm/sorting/styles/List.module.scss +68 -0
  60. package/src/components/crm/styles/AsyncSelect.module.scss +8 -0
  61. package/src/components/crm/styles/Autocomplete.module.scss +44 -0
  62. package/src/components/crm/styles/DataGrid.module.scss +210 -0
  63. package/src/components/crm/styles/Field.module.scss +311 -0
  64. package/src/components/crm/styles/Form.module.scss +499 -0
  65. package/src/components/crm/styles/Loader.module.scss +94 -0
  66. package/src/components/crm/styles/MultiSelect.module.scss +8 -0
  67. package/src/components/crm/styles/Navigation.module.scss +978 -0
  68. package/src/components/crm/styles/Notification.module.scss +147 -0
  69. package/src/components/crm/styles/QrCode.module.scss +87 -0
  70. package/src/components/crm/styles/TableFilter.module.scss +52 -0
  71. package/src/components/styles/global.css +73 -0
  72. package/src/index.js +86 -0
  73. package/dist/104e5636d8ddb791614c.woff2 +0 -0
  74. package/dist/11fe6a83d647de5daf95.woff +0 -0
  75. package/dist/141e2a8c7836495afe2a.woff +0 -0
  76. package/dist/2ba5877f7079830b5383.woff +0 -0
  77. package/dist/2d6836f45b2037be41f3.woff +0 -0
  78. package/dist/399.0a0f3e0d21be1057d599.css +0 -8
  79. package/dist/399.b8f57fa3f8c0c10119e4.js +0 -1
  80. package/dist/47d566c3b1293dfd9d77.woff +0 -0
  81. package/dist/6282a13cbba671a71913.woff2 +0 -0
  82. package/dist/78266f551031aa9db127.woff +0 -0
  83. package/dist/7b7da89f1e3fdcbfe36c.woff2 +0 -0
  84. package/dist/7e78e8338af7efeda712.woff2 +0 -0
  85. package/dist/7fa387951673abf164b1.woff2 +0 -0
  86. package/dist/819d59862c2d0640aad8.woff +0 -0
  87. package/dist/b615e1a6c838ea059a56.woff +0 -0
  88. package/dist/b9b1aa739c660c4ce67c.woff2 +0 -0
  89. package/dist/c5f3640b11df9414facb.woff +0 -0
  90. package/dist/da26d162ff5af71d6590.woff2 +0 -0
  91. package/dist/dd5b2912dbf896310865.woff2 +0 -0
  92. package/dist/f282b331272463c1aa6c.woff2 +0 -0
  93. package/dist/index.css +0 -2902
  94. package/dist/index.js +0 -2
  95. package/dist/index.js.LICENSE.txt +0 -150
  96. package/dist/main.83b033670d64419bb497.css +0 -1
  97. package/dist/main.b1723d17cd2d3513ab62.js +0 -1
  98. package/dist/report.html +0 -39
  99. package/dist/runtime.33c276593b23f8035b8d.js +0 -1
@@ -0,0 +1,147 @@
1
+ .notibox {
2
+ background: #fff;
3
+ border: 1px solid var(--primary-color-lighter);
4
+ border-top-color: rgb(204, 204, 204);
5
+ border-right-color: rgb(204, 204, 204);
6
+ border-bottom-color: rgb(204, 204, 204);
7
+ border-left-color: rgb(204, 204, 204);
8
+ border-color: rgba(0, 0, 0, 0.2);
9
+ box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
10
+ display: block;
11
+ opacity: 1;
12
+ outline: none;
13
+ overflow: hidden;
14
+ position: absolute;
15
+ padding: 6px;
16
+ border-radius: var(--br);
17
+ width: 550px;
18
+ overflow-y: scroll;
19
+ transform: translateX(-470px);
20
+ text-align: left;
21
+ color: var(--paragraph-color);
22
+ box-sizing: border-box;
23
+ transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
24
+ z-index: 999;
25
+ }
26
+
27
+ .notibox .notiscrollwrap {
28
+ max-height: 190px;
29
+ overflow-y: auto;
30
+ }
31
+
32
+ .notibox .notibox-item {
33
+ width: 100%;
34
+ display: block;
35
+ background: #f0f0f0;
36
+ border-radius: var(--br);
37
+ padding: 9px 36px 8px 6px;
38
+ box-sizing: border-box;
39
+ margin-bottom: 4px;
40
+ position: relative;
41
+ }
42
+
43
+ .notibox-item a {
44
+ background: none !important;
45
+ padding: 0 !important;
46
+ line-height: inherit !important;
47
+ border-radius: 0 !important;
48
+ color: inherit !important;
49
+ display: inline !important;
50
+ text-decoration: underline !important;
51
+ border: none !important;
52
+ font-weight: 700 !important;
53
+ text-decoration: none !important;
54
+ }
55
+
56
+ .notibox-item a:hover {
57
+ background: none !important;
58
+ color: var(--secondary-color) !important;
59
+ }
60
+
61
+ .notibox .notibox-item span {
62
+ color: var(--paragraph-color);
63
+ font-size: 80%;
64
+ }
65
+
66
+ .notibox .notibox-item > button {
67
+ position: absolute;
68
+ right: 6px;
69
+ top: 5px;
70
+ cursor: pointer;
71
+ padding: 0;
72
+ margin: 0;
73
+ outline: none;
74
+ background: none;
75
+ border: none;
76
+ }
77
+
78
+ .notibox .notibox-item > button svg {
79
+ width: 100%;
80
+ max-width: 20px;
81
+ }
82
+
83
+ .notibox .notibox-item .noti-read {
84
+ color: var(--primary-color);
85
+ }
86
+
87
+ .notibox .notibox-item .cis-bell-exclamation {
88
+ display: none;
89
+ visibility: hidden;
90
+ }
91
+
92
+ .notibox .notibox-actions {
93
+ width: 100%;
94
+ display: block;
95
+ border-top: 1px solid rgba(240, 240, 240, 1.05);
96
+ padding: 10px 0 5px 0;
97
+ margin-top: 10px;
98
+ }
99
+
100
+ .notibox .notibox-actions button {
101
+ display: inline-block;
102
+ border-radius: 6px;
103
+ border: 1px solid var(--primary-color-lighter);
104
+ margin-right: 5px;
105
+ padding: 8px;
106
+ font-size: 0.875em;
107
+ outline: none;
108
+ color: var(--tertiary-color);
109
+ background: var(--primary-color);
110
+ }
111
+
112
+ .notilink {
113
+ background: none;
114
+ padding: 0;
115
+ line-height: inherit;
116
+ border-radius: 0;
117
+ color: inherit;
118
+ display: inline;
119
+ text-decoration: underline;
120
+ border: none;
121
+ font-weight: 700;
122
+ text-decoration: none;
123
+ }
124
+
125
+ .notilink:hover {
126
+ background: none;
127
+ color: var(--secondary-color);
128
+ }
129
+
130
+ .noti {
131
+ animation: notification 1s infinite;
132
+ }
133
+
134
+ @keyframes notification {
135
+ 0% {
136
+ color: var(--secondary-color);
137
+ opacity: 0;
138
+ }
139
+ 50% {
140
+ color: #c0ff52;
141
+ opacity: 1;
142
+ }
143
+ 100% {
144
+ color: var(--secondary-color);
145
+ opacity: 0;
146
+ }
147
+ }
@@ -0,0 +1,87 @@
1
+ .gridtxt {
2
+ &__header {
3
+ width: 100%;
4
+ display: block;
5
+ background: rgba(var(--item-color-rgb), 1.05);
6
+ box-sizing: border-box;
7
+ padding: 10px 20px;
8
+ border-radius: 0;
9
+ margin-bottom: 0;
10
+ font-weight: 700;
11
+ text-align: center;
12
+ color: var(--paragraph-color);
13
+
14
+ span {
15
+ font-weight: 700;
16
+ }
17
+ }
18
+
19
+ > ul {
20
+ width: 100%;
21
+ display: flex;
22
+ justify-content: flex-start;
23
+ flex-direction: row;
24
+ flex-wrap: wrap;
25
+ list-style: none;
26
+ box-sizing: border-box;
27
+ padding: 0.85rem;
28
+ margin: 0;
29
+
30
+ li {
31
+ flex: 0 0 calc(50% - 10px);
32
+ padding: 0.85rem;
33
+ box-sizing: border-box;
34
+ border: 1px solid rgba(var(--primary-color-rgb), 0.15);
35
+ color: var(--paragraph-color);
36
+ background: rgba(var(--tertiary-color-rgb), 0.95);
37
+ margin: 5px;
38
+ border-radius: var(--br);
39
+ line-height: 1.45;
40
+ }
41
+
42
+ .fw-grid-item {
43
+ flex: 0 0 calc(100% - 10px);
44
+ }
45
+
46
+ .notecolor {
47
+ border: 1px solid var(--secondary-color);
48
+ }
49
+ }
50
+ }
51
+
52
+ .customer__overview {
53
+ width: 100%;
54
+ display: flex;
55
+ justify-content: flex-start;
56
+ flex-direction: row;
57
+ flex-wrap: wrap;
58
+ list-style: none;
59
+ box-sizing: border-box;
60
+ padding: 1em;
61
+ margin: 0;
62
+
63
+ li {
64
+ width: 49%;
65
+ padding: 1em;
66
+ box-sizing: border-box;
67
+ border: 1px solid rgba(var(--primary-color-rgb), 0.15);
68
+ color: var(--paragraph-color);
69
+ background: rgba(#f4f4f4, 0.65);
70
+ margin: 5px;
71
+ border-radius: 5px;
72
+ }
73
+ }
74
+
75
+ .polActions {
76
+ position: fixed;
77
+ bottom: 15px;
78
+ right: 20px;
79
+ width: auto;
80
+
81
+ button {
82
+ display: block;
83
+ float: left;
84
+ padding: 0.35em 1em;
85
+ margin: 0 0.15em;
86
+ }
87
+ }
@@ -0,0 +1,52 @@
1
+ .tableFilter {
2
+ list-style: none;
3
+ padding: 0;
4
+ margin: 0;
5
+ }
6
+
7
+ .collapsibleMenu {
8
+ max-height: 0;
9
+ overflow: hidden;
10
+ transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
11
+ opacity: 0;
12
+ }
13
+
14
+ .visibleMenu {
15
+ max-height: 2000px; /* Adjust this value based on the expected height of your child menu */
16
+ opacity: 1;
17
+ }
18
+
19
+ .subactive {
20
+ font-weight: 700;
21
+ background: var(--primary-color) !important;
22
+ color: var(--tertiary-color) !important;
23
+ }
24
+
25
+ .subactivechildren {
26
+ font-weight: 700;
27
+ }
28
+
29
+ .tableFilter li {
30
+ margin-bottom: 1px;
31
+ }
32
+
33
+ .link {
34
+ display: block;
35
+ padding: 8px 20px;
36
+ text-decoration: none;
37
+ background: var(--item-color);
38
+ color: var(--paragraph-color);
39
+ border-radius: 3px;
40
+ transition: background 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
41
+ }
42
+
43
+ .link:hover {
44
+ background: var(--primary-color) !important;
45
+ color: var(--tertiary-color) !important;
46
+ }
47
+
48
+ .activetab button {
49
+ font-weight: bold;
50
+ background: var(--item-color) !important;
51
+ color: var(--paragraph-color) !important;
52
+ }
@@ -0,0 +1,73 @@
1
+ @import '@fontsource/barlow/index.css';
2
+ @import '@fontsource/barlow/300.css';
3
+ @import '@fontsource/barlow/700.css';
4
+
5
+ /* Apply the crop mixin manually */
6
+ .crop::before {
7
+ content: '';
8
+ display: block;
9
+ height: 0;
10
+ width: 0;
11
+ margin-top: calc((1 - 1.25) * 0.5em);
12
+ }
13
+
14
+ body {
15
+ font-size: 100%;
16
+ background: var(--tertiary-color-dark, var(--tertiary-color));
17
+ font-family: 'Barlow', sans-serif;
18
+ font-weight: 300;
19
+ font-style: normal;
20
+ letter-spacing: 0.018em;
21
+ }
22
+
23
+ .loginbg {
24
+ background: var(--tertiary-color);
25
+ }
26
+
27
+ h1,
28
+ h2,
29
+ h3,
30
+ h4,
31
+ h5 {
32
+ font-size: 1.675em;
33
+ color: var(--primary-color);
34
+ font-weight: 700;
35
+ font-style: normal;
36
+ }
37
+
38
+ p {
39
+ font-weight: 300;
40
+ font-style: normal;
41
+ margin: 0 0 calc(var(--padding) / 2); /* Replace with actual padding value */
42
+ color: var(--paragraph-color);
43
+ }
44
+
45
+ p::before {
46
+ content: '';
47
+ display: block;
48
+ height: 0;
49
+ width: 0;
50
+ margin-top: calc((1 - 1.25) * 0.5em);
51
+ }
52
+
53
+ textarea,
54
+ select,
55
+ input[type]:not([type='search']):not([type='url']):not([type='hidden']):not(
56
+ .inovua-react-toolkit-numeric-input__input
57
+ ):not(.inovua-react-toolkit-combo-box__input):not(
58
+ .inovua-react-toolkit-date-input__input
59
+ ):not(.inovua-react-toolkit-text-input__input):not(
60
+ .inovua-react-toolkit-numeric-input__input
61
+ ) {
62
+ background: var(--item-color);
63
+ border-radius: var(--br);
64
+ border: 1px solid rgba(var(--paragraph-color-rgb), 0.15);
65
+ box-shadow: none;
66
+ padding: 1rem;
67
+ outline: none;
68
+ /* width: 100%; */
69
+ box-sizing: border-box;
70
+ background: rgba(white, 0.5);
71
+ color: var(--paragraph-color);
72
+ transition: border 0.15s linear;
73
+ }
package/src/index.js ADDED
@@ -0,0 +1,86 @@
1
+ /** CMS Components */
2
+ import CmsForm from './components/cms/Form';
3
+ import DataGrid from './components/cms/DataGrid';
4
+ import DropZone from './components/cms/DropZone';
5
+ import SortableList from './components/cms/sorting/List';
6
+
7
+ /** CRM Components */
8
+ import AsyncSelect from './components/crm/AsyncSelect';
9
+ import Autocomplete from './components/crm/Autocomplete';
10
+ import Breadcrumb from './components/crm/Breadcrumb';
11
+ import Call from './components/crm/Call';
12
+ import CustomFetch from './components/crm/Fetch';
13
+ import Download from './components/crm/Download';
14
+ import Field from './components/crm/Field';
15
+ import Form from './components/crm/Form';
16
+ import Loader from './components/crm/Loader';
17
+ import MultiSelect from './components/crm/MultiSelect';
18
+ import Navigation from './components/crm/Navigation';
19
+ import Notification from './components/crm/Notification';
20
+ import SelectList from './components/crm/SelectList';
21
+ import Select from './components/crm/Select';
22
+ import Table from './components/crm/DataGrid';
23
+ import TableFilter from './components/crm/TableFilter';
24
+
25
+ /** Auth Specific Components */
26
+ import Login from './components/crm/auth/Login';
27
+ import Profile from './components/crm/auth/Profile';
28
+ import Reset from './components/crm/auth/Reset';
29
+ import Verify from './components/crm/auth/Verify';
30
+
31
+ /** CMS Generic Components */
32
+ import CmsDetail from './components/cms/generic/CmsDetail';
33
+ import CmsIndex from './components/cms/generic/CmsIndex';
34
+ import CmsSort from './components/cms/generic/CmsSort';
35
+
36
+ /** CRM Generic Components */
37
+ import AuditLog from './components/crm/generic/AuditLog';
38
+ import AuditLogs from './components/crm/generic/AuditLogs';
39
+ import GenericAuth from './components/crm/generic/GenericAuth';
40
+ import GenericDetail from './components/crm/generic/GenericDetail';
41
+ import GenericDynamic from './components/crm/generic/GenericDynamic';
42
+ import GenericFormBuilder from './components/crm/generic/GenericFormBuilder';
43
+ import GenericIndex from './components/crm/generic/GenericIndex';
44
+ import GenericMain from './components/crm/generic/GenericMain';
45
+ import GenericSort from './components/crm/generic/GenericSort';
46
+ import NotificationList from './components/crm/generic/NotificationList';
47
+
48
+ export {
49
+ AsyncSelect,
50
+ AuditLog,
51
+ AuditLogs,
52
+ Autocomplete,
53
+ Breadcrumb,
54
+ Call,
55
+ CmsDetail,
56
+ CmsForm,
57
+ CmsIndex,
58
+ CmsSort,
59
+ CustomFetch,
60
+ DataGrid,
61
+ Download,
62
+ DropZone,
63
+ Field,
64
+ Form,
65
+ GenericAuth,
66
+ GenericDetail,
67
+ GenericDynamic,
68
+ GenericFormBuilder,
69
+ GenericIndex,
70
+ GenericMain,
71
+ GenericSort,
72
+ Loader,
73
+ Login,
74
+ MultiSelect,
75
+ Navigation,
76
+ Notification,
77
+ NotificationList,
78
+ Profile,
79
+ Reset,
80
+ SelectList,
81
+ Select,
82
+ SortableList,
83
+ Table,
84
+ TableFilter,
85
+ Verify,
86
+ };
Binary file
Binary file
Binary file
Binary file
Binary file