@visns-studio/visns-components 4.7.0 → 4.7.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/dist/104e5636d8ddb791614c.woff2 +0 -0
- package/dist/11fe6a83d647de5daf95.woff +0 -0
- package/dist/141e2a8c7836495afe2a.woff +0 -0
- package/dist/2ba5877f7079830b5383.woff +0 -0
- package/dist/2d6836f45b2037be41f3.woff +0 -0
- package/dist/399.0a0f3e0d21be1057d599.css +8 -0
- package/dist/399.b8f57fa3f8c0c10119e4.js +1 -0
- package/dist/47d566c3b1293dfd9d77.woff +0 -0
- package/dist/6282a13cbba671a71913.woff2 +0 -0
- package/dist/78266f551031aa9db127.woff +0 -0
- package/dist/7b7da89f1e3fdcbfe36c.woff2 +0 -0
- package/dist/7e78e8338af7efeda712.woff2 +0 -0
- package/dist/7fa387951673abf164b1.woff2 +0 -0
- package/dist/819d59862c2d0640aad8.woff +0 -0
- package/dist/b615e1a6c838ea059a56.woff +0 -0
- package/dist/b9b1aa739c660c4ce67c.woff2 +0 -0
- package/dist/c5f3640b11df9414facb.woff +0 -0
- package/dist/da26d162ff5af71d6590.woff2 +0 -0
- package/dist/dd5b2912dbf896310865.woff2 +0 -0
- package/dist/f282b331272463c1aa6c.woff2 +0 -0
- package/dist/index.css +2902 -0
- package/dist/index.js +2 -0
- package/dist/index.js.LICENSE.txt +150 -0
- package/dist/main.83b033670d64419bb497.css +1 -0
- package/dist/main.b1723d17cd2d3513ab62.js +1 -0
- package/dist/report.html +39 -0
- package/dist/runtime.33c276593b23f8035b8d.js +1 -0
- package/package.json +26 -6
- package/.idea/codeStyles/Project.xml +0 -50
- package/.idea/codeStyles/codeStyleConfig.xml +0 -5
- package/.idea/deployment.xml +0 -4
- package/.idea/modules.xml +0 -8
- package/.idea/php.xml +0 -19
- package/.idea/vcs.xml +0 -6
- package/.idea/visns-components.iml +0 -8
- package/.prettierrc.json +0 -7
- package/.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs +0 -541
- package/.yarn/releases/yarn-3.6.1.cjs +0 -874
- package/.yarnrc.yml +0 -7
- package/components/cms/DataGrid.jsx +0 -1461
- package/components/cms/DropZone.jsx +0 -349
- package/components/cms/Field.jsx +0 -802
- package/components/cms/Form.jsx +0 -476
- package/components/cms/generic/CmsDetail.jsx +0 -36
- package/components/cms/generic/CmsIndex.jsx +0 -73
- package/components/cms/generic/CmsSort.jsx +0 -125
- package/components/cms/sorting/Item.jsx +0 -115
- package/components/cms/sorting/List.jsx +0 -30
- package/components/crm/AsyncSelect.jsx +0 -125
- package/components/crm/Autocomplete.jsx +0 -174
- package/components/crm/Breadcrumb.jsx +0 -52
- package/components/crm/Call.jsx +0 -220
- package/components/crm/DataGrid.jsx +0 -2701
- package/components/crm/Download.jsx +0 -101
- package/components/crm/Fetch.jsx +0 -119
- package/components/crm/Field.jsx +0 -1557
- package/components/crm/Form.jsx +0 -1409
- package/components/crm/Loader.jsx +0 -29
- package/components/crm/MultiSelect.jsx +0 -78
- package/components/crm/Navigation.jsx +0 -619
- package/components/crm/Notification.jsx +0 -197
- package/components/crm/QrCode.jsx +0 -83
- package/components/crm/Select.jsx +0 -58
- package/components/crm/SelectList.jsx +0 -21
- package/components/crm/TableFilter.jsx +0 -198
- package/components/crm/auth/Login.jsx +0 -223
- package/components/crm/auth/Profile.jsx +0 -280
- package/components/crm/auth/Reset.jsx +0 -111
- package/components/crm/auth/Verify.jsx +0 -174
- package/components/crm/auth/styles/Login.module.css +0 -243
- package/components/crm/auth/styles/Profile.module.css +0 -222
- package/components/crm/auth/styles/Reset.module.css +0 -216
- package/components/crm/auth/styles/Verify.module.css +0 -216
- package/components/crm/generic/AuditLog.jsx +0 -108
- package/components/crm/generic/AuditLogs.jsx +0 -115
- package/components/crm/generic/GenericAuth.jsx +0 -166
- package/components/crm/generic/GenericDashboard.jsx +0 -42
- package/components/crm/generic/GenericDetail.jsx +0 -1499
- package/components/crm/generic/GenericDynamic.jsx +0 -915
- package/components/crm/generic/GenericFormBuilder.jsx +0 -1765
- package/components/crm/generic/GenericIndex.jsx +0 -376
- package/components/crm/generic/GenericMain.jsx +0 -129
- package/components/crm/generic/GenericSort.jsx +0 -188
- package/components/crm/generic/NotificationList.jsx +0 -64
- package/components/crm/generic/styles/AuditLog.module.css +0 -147
- package/components/crm/generic/styles/AuditLogs.module.css +0 -92
- package/components/crm/generic/styles/GenericDetail.module.css +0 -634
- package/components/crm/generic/styles/GenericDynamic.module.css +0 -932
- package/components/crm/generic/styles/GenericFormBuilder.module.css +0 -944
- package/components/crm/generic/styles/GenericIndex.module.css +0 -247
- package/components/crm/generic/styles/GenericMain.module.css +0 -91
- package/components/crm/generic/styles/GenericSort.module.css +0 -123
- package/components/crm/generic/styles/NotificationList.module.css +0 -67
- package/components/crm/sorting/Item.jsx +0 -117
- package/components/crm/sorting/List.jsx +0 -32
- package/components/crm/sorting/styles/Item.module.css +0 -68
- package/components/crm/sorting/styles/List.module.css +0 -68
- package/components/crm/styles/AsyncSelect.module.css +0 -8
- package/components/crm/styles/Autocomplete.module.css +0 -44
- package/components/crm/styles/DataGrid.module.css +0 -210
- package/components/crm/styles/Field.module.css +0 -311
- package/components/crm/styles/Form.module.css +0 -499
- package/components/crm/styles/Loader.module.css +0 -94
- package/components/crm/styles/MultiSelect.module.css +0 -8
- package/components/crm/styles/Navigation.module.css +0 -978
- package/components/crm/styles/Notification.module.css +0 -147
- package/components/crm/styles/QrCode.module.css +0 -87
- package/components/crm/styles/TableFilter.module.css +0 -52
- package/components/styles/global.css +0 -73
- package/index.js +0 -86
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import Table from '../DataGrid';
|
|
3
|
-
|
|
4
|
-
const NotificationList = () => {
|
|
5
|
-
const ajaxSetting = {
|
|
6
|
-
url: '/ajax/notifications/table',
|
|
7
|
-
take: 25,
|
|
8
|
-
sortBy: 'id',
|
|
9
|
-
sort: 'desc',
|
|
10
|
-
where: [],
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
const form = {
|
|
14
|
-
primaryKey: 'id',
|
|
15
|
-
url: '/ajax/notifications',
|
|
16
|
-
create: {},
|
|
17
|
-
update: {},
|
|
18
|
-
fields: [],
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
const columns = [
|
|
22
|
-
{
|
|
23
|
-
id: 'data',
|
|
24
|
-
jsonData: 'label',
|
|
25
|
-
label: 'Label',
|
|
26
|
-
type: 'json',
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
id: 'read_at',
|
|
30
|
-
label: 'Read At',
|
|
31
|
-
type: 'datetime',
|
|
32
|
-
minWidth: 200,
|
|
33
|
-
maxWidth: 200,
|
|
34
|
-
},
|
|
35
|
-
];
|
|
36
|
-
|
|
37
|
-
const settings = [];
|
|
38
|
-
|
|
39
|
-
return (
|
|
40
|
-
<div>
|
|
41
|
-
<div className={styles.grid}>
|
|
42
|
-
<div className={styles.grid__row}>
|
|
43
|
-
<div className={`${styles.grid__full} ${styles.crmtitle}`}>
|
|
44
|
-
<h1>Notifications</h1>
|
|
45
|
-
</div>
|
|
46
|
-
</div>
|
|
47
|
-
</div>
|
|
48
|
-
<div className={styles.grid}>
|
|
49
|
-
<div className={styles.grid__row}>
|
|
50
|
-
<div className={styles.grid__full}>
|
|
51
|
-
<Table
|
|
52
|
-
ajaxSetting={ajaxSetting}
|
|
53
|
-
form={form}
|
|
54
|
-
columns={columns}
|
|
55
|
-
settings={settings}
|
|
56
|
-
/>
|
|
57
|
-
</div>
|
|
58
|
-
</div>
|
|
59
|
-
</div>
|
|
60
|
-
</div>
|
|
61
|
-
);
|
|
62
|
-
};
|
|
63
|
-
|
|
64
|
-
export default NotificationList;
|
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
.grid {
|
|
2
|
-
width: 100%;
|
|
3
|
-
display: flex;
|
|
4
|
-
align-items: flex-start;
|
|
5
|
-
flex-wrap: nowrap;
|
|
6
|
-
height: auto;
|
|
7
|
-
gap: 1rem;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.grid__row {
|
|
11
|
-
width: 100%;
|
|
12
|
-
display: flex;
|
|
13
|
-
align-items: flex-start;
|
|
14
|
-
flex-wrap: nowrap;
|
|
15
|
-
height: auto;
|
|
16
|
-
gap: 1rem;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.grid__subrow {
|
|
20
|
-
width: 100%;
|
|
21
|
-
display: flex;
|
|
22
|
-
flex-wrap: wrap;
|
|
23
|
-
height: auto;
|
|
24
|
-
gap: 0.5rem;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.grid__full {
|
|
28
|
-
width: 100%;
|
|
29
|
-
background: var(--item-color);
|
|
30
|
-
border-radius: var(--br);
|
|
31
|
-
border: 1px solid rgba(var(--item-color-rgb), 1.15);
|
|
32
|
-
box-sizing: border-box;
|
|
33
|
-
overflow: visible;
|
|
34
|
-
position: relative;
|
|
35
|
-
padding: 2px;
|
|
36
|
-
margin: 8px 0;
|
|
37
|
-
box-shadow: 0 4px 0 rgba(var(--primary-color-rgb), 0.05);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.crmtitle {
|
|
41
|
-
border: none;
|
|
42
|
-
min-height: auto;
|
|
43
|
-
padding: 5px 20px;
|
|
44
|
-
margin: 0;
|
|
45
|
-
background: var(--primary-color);
|
|
46
|
-
border-radius: var(--br);
|
|
47
|
-
border: 1px solid rgba(var(--item-color-rgb), 1.15);
|
|
48
|
-
position: relative;
|
|
49
|
-
display: flex;
|
|
50
|
-
align-items: center;
|
|
51
|
-
|
|
52
|
-
h1 {
|
|
53
|
-
color: var(--background-color);
|
|
54
|
-
font-weight: 700;
|
|
55
|
-
font-size: 1.15em;
|
|
56
|
-
margin: 0;
|
|
57
|
-
padding: 0.65rem 0;
|
|
58
|
-
display: flex;
|
|
59
|
-
align-items: center;
|
|
60
|
-
gap: 0.25rem;
|
|
61
|
-
|
|
62
|
-
a {
|
|
63
|
-
text-decoration: none;
|
|
64
|
-
color: var(--secondary-color);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
svg {
|
|
68
|
-
color: rgba(var(--tertiary-color-rgb), 0.5);
|
|
69
|
-
position: relative;
|
|
70
|
-
top: 0;
|
|
71
|
-
margin: 0 0.5rem;
|
|
72
|
-
max-width: 15px;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.gridtxt__header {
|
|
78
|
-
width: 100%;
|
|
79
|
-
display: block;
|
|
80
|
-
background: rgba(var(--item-color-rgb), 1.05);
|
|
81
|
-
box-sizing: border-box;
|
|
82
|
-
padding: 10px 20px;
|
|
83
|
-
border-radius: 0;
|
|
84
|
-
margin-bottom: 0;
|
|
85
|
-
font-weight: 700;
|
|
86
|
-
text-align: center;
|
|
87
|
-
color: var(--paragraph-color);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.gridtxt__header span {
|
|
91
|
-
font-weight: 700;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.gridtxt > ul {
|
|
95
|
-
width: 100%;
|
|
96
|
-
display: flex;
|
|
97
|
-
justify-content: flex-start;
|
|
98
|
-
flex-direction: row;
|
|
99
|
-
flex-wrap: wrap;
|
|
100
|
-
list-style: none;
|
|
101
|
-
box-sizing: border-box;
|
|
102
|
-
padding: 0.85rem;
|
|
103
|
-
margin: 0;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.gridtxt > ul li {
|
|
107
|
-
flex: 0 0 calc(50% - 10px);
|
|
108
|
-
padding: 0.85rem;
|
|
109
|
-
box-sizing: border-box;
|
|
110
|
-
border: 1px solid rgba(var(--primary-color-rgb), 0.15);
|
|
111
|
-
color: var(--paragraph-color);
|
|
112
|
-
background: rgba(var(--tertiary-color-rgb), 0.95);
|
|
113
|
-
margin: 5px;
|
|
114
|
-
border-radius: var(--br);
|
|
115
|
-
line-height: 1.45;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.gridtxt > ul .fw-grid-item {
|
|
119
|
-
flex: 0 0 calc(100% - 10px);
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.gridtxt > ul .notecolor {
|
|
123
|
-
border: 1px solid var(--secondary-color);
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
.customer__overview {
|
|
127
|
-
width: 100%;
|
|
128
|
-
display: flex;
|
|
129
|
-
justify-content: flex-start;
|
|
130
|
-
flex-direction: row;
|
|
131
|
-
flex-wrap: wrap;
|
|
132
|
-
list-style: none;
|
|
133
|
-
box-sizing: border-box;
|
|
134
|
-
padding: 1em;
|
|
135
|
-
margin: 0;
|
|
136
|
-
|
|
137
|
-
li {
|
|
138
|
-
width: 49%;
|
|
139
|
-
padding: 1em;
|
|
140
|
-
box-sizing: border-box;
|
|
141
|
-
border: 1px solid rgba(var(--primary-color-rgb), 0.15);
|
|
142
|
-
color: var(--paragraph-color);
|
|
143
|
-
background: rgba(#f4f4f4, 0.65);
|
|
144
|
-
margin: 5px;
|
|
145
|
-
border-radius: 5px;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
.grid {
|
|
2
|
-
width: 100%;
|
|
3
|
-
display: flex;
|
|
4
|
-
align-items: flex-start;
|
|
5
|
-
flex-wrap: nowrap;
|
|
6
|
-
height: auto;
|
|
7
|
-
gap: 1rem;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.grid__row {
|
|
11
|
-
width: 100%;
|
|
12
|
-
display: flex;
|
|
13
|
-
align-items: flex-start;
|
|
14
|
-
flex-wrap: nowrap;
|
|
15
|
-
height: auto;
|
|
16
|
-
gap: 1rem;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.grid__full {
|
|
20
|
-
width: 100%;
|
|
21
|
-
background: var(--item-color);
|
|
22
|
-
border-radius: var(--br);
|
|
23
|
-
border: 1px solid rgba(var(--item-color-rgb), 1.15);
|
|
24
|
-
box-sizing: border-box;
|
|
25
|
-
overflow: visible;
|
|
26
|
-
position: relative;
|
|
27
|
-
padding: 2px;
|
|
28
|
-
margin: 8px 0;
|
|
29
|
-
box-shadow: 0 4px 0 rgba(var(--primary-color-rgb), 0.05);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.crmtitle {
|
|
33
|
-
border: none;
|
|
34
|
-
min-height: auto;
|
|
35
|
-
padding: 10px 20px;
|
|
36
|
-
margin: 0;
|
|
37
|
-
background: var(--tertiary-color);
|
|
38
|
-
border-radius: var(--br);
|
|
39
|
-
border: 1px solid rgba(var(--item-color-rgb), 1.15);
|
|
40
|
-
position: relative;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.crmtitle h1 {
|
|
44
|
-
font-weight: 700;
|
|
45
|
-
font-size: 1.45em;
|
|
46
|
-
margin: 0;
|
|
47
|
-
padding: 0.65rem 0;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.crmtitle h1 a {
|
|
51
|
-
text-decoration: none;
|
|
52
|
-
color: rgba(var(--secondary-color-rgb), 1.1);
|
|
53
|
-
font-weight: 300;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.crmtitle h1 svg {
|
|
57
|
-
color: rgba(var(--primary-color-rgb), 0.25);
|
|
58
|
-
position: relative;
|
|
59
|
-
top: 2px;
|
|
60
|
-
margin: 0 0.25rem;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.crmtitleSimple {
|
|
64
|
-
border: none;
|
|
65
|
-
min-height: auto;
|
|
66
|
-
padding: 0.65rem 1rem;
|
|
67
|
-
margin-bottom: 0.15rem;
|
|
68
|
-
background: var(--tertiary-color);
|
|
69
|
-
border-radius: var(--br);
|
|
70
|
-
box-sizing: border-box;
|
|
71
|
-
display: flex;
|
|
72
|
-
flex-wrap: nowrap;
|
|
73
|
-
justify-content: space-between;
|
|
74
|
-
align-items: center;
|
|
75
|
-
|
|
76
|
-
h1 {
|
|
77
|
-
font-size: 1.25rem;
|
|
78
|
-
margin: 0;
|
|
79
|
-
padding: 0;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.titleInfo {
|
|
84
|
-
position: absolute;
|
|
85
|
-
right: 2em;
|
|
86
|
-
top: 24px;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.titleInfo span {
|
|
90
|
-
font-size: 0.875em;
|
|
91
|
-
color: rgba(var(--paragraph-color-rgb), 0.65);
|
|
92
|
-
}
|