@cocreate/organizations 1.28.1 → 1.28.3
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/CHANGELOG.md +17 -0
- package/demo/index.html +119 -119
- package/demo/industries/industry-datatable.html +5 -5
- package/demo/industries/industry-documents-datatable.1.html +5 -5
- package/docs/index.html +318 -328
- package/package.json +8 -12
- package/src/client.js +250 -224
- package/webpack.config.js +65 -90
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
## [1.28.3](https://github.com/CoCreate-app/CoCreate-organizations/compare/v1.28.2...v1.28.3) (2025-04-30)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* added css-loader ([dbe904b](https://github.com/CoCreate-app/CoCreate-organizations/commit/dbe904bbad632e7bcd9acf78c9528c584b81d6bc))
|
|
7
|
+
* update query attributes ([1ebbead](https://github.com/CoCreate-app/CoCreate-organizations/commit/1ebbead42dea7e7baad8904cfa822858bcc3c08c))
|
|
8
|
+
* updated cocreate modules versions ([6b6a910](https://github.com/CoCreate-app/CoCreate-organizations/commit/6b6a910d0c1c6c633ae3da618ba21c04ea69ead8))
|
|
9
|
+
* webpack.config and devdependencies ([038dc18](https://github.com/CoCreate-app/CoCreate-organizations/commit/038dc18db4cdf8fa28fb833531cf4c73e85ccfd1))
|
|
10
|
+
|
|
11
|
+
## [1.28.2](https://github.com/CoCreate-app/CoCreate-organizations/compare/v1.28.1...v1.28.2) (2025-04-11)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* dispatch end event on action element rather than document ([dd5ea2a](https://github.com/CoCreate-app/CoCreate-organizations/commit/dd5ea2a43c00418448189369c39f72f83f0206b6))
|
|
17
|
+
|
|
1
18
|
## [1.28.1](https://github.com/CoCreate-app/CoCreate-organizations/compare/v1.28.0...v1.28.1) (2024-12-22)
|
|
2
19
|
|
|
3
20
|
|
package/demo/index.html
CHANGED
|
@@ -1,131 +1,131 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
2
|
<html lang="en">
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
<head>
|
|
4
|
+
<title>Organizations | CoCreateJS</title>
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
<!-- CoCreate Favicon -->
|
|
7
|
+
<link
|
|
8
|
+
rel="icon"
|
|
9
|
+
type="image/png"
|
|
10
|
+
sizes="32x32"
|
|
11
|
+
href="../assets/favicon.ico" />
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
13
|
+
<style>
|
|
14
|
+
.speech-bubble:after {
|
|
15
|
+
content: "";
|
|
16
|
+
position: absolute;
|
|
17
|
+
top: 0;
|
|
18
|
+
left: 50%;
|
|
19
|
+
width: 0;
|
|
20
|
+
height: 0;
|
|
21
|
+
border: 23px solid transparent;
|
|
22
|
+
border-bottom-color: #ffffff;
|
|
23
|
+
border-top: 0;
|
|
24
|
+
margin-left: -23px;
|
|
25
|
+
margin-top: -23px;
|
|
26
|
+
}
|
|
27
|
+
</style>
|
|
28
|
+
<link rel="manifest" href="/manifest.webmanifest" />
|
|
29
|
+
</head>
|
|
30
|
+
<body>
|
|
31
|
+
<div
|
|
32
|
+
class="main-container justify-content:center align-items:center overflow:auto display:flex flex-wrap:wrap position:absolute width:100% height:100%">
|
|
33
|
+
<div
|
|
34
|
+
class="display:flex flex-wrap:wrap align-items:flex-end justify-content:center align-items:center">
|
|
35
|
+
<div
|
|
36
|
+
class="flex-grow:1 height:fit-content width:55% min-width:300px max-width:600px margin:10px">
|
|
37
|
+
<form realtime="false">
|
|
38
|
+
<input
|
|
39
|
+
type="text"
|
|
40
|
+
id="org-name"
|
|
41
|
+
array="organizations"
|
|
42
|
+
object=""
|
|
43
|
+
key="name"
|
|
44
|
+
placeholder="Organization Name"
|
|
45
|
+
class="floating-label" />
|
|
46
46
|
|
|
47
|
-
|
|
47
|
+
<p>User Information</p>
|
|
48
48
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
49
|
+
<input
|
|
50
|
+
type="text"
|
|
51
|
+
array="users"
|
|
52
|
+
object=""
|
|
53
|
+
key="name"
|
|
54
|
+
placeholder="User Name"
|
|
55
|
+
class="floating-label" />
|
|
56
56
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
57
|
+
<!-- Organiztion_id -->
|
|
58
|
+
<input
|
|
59
|
+
type="hidden"
|
|
60
|
+
id="org_id"
|
|
61
|
+
array="organizations"
|
|
62
|
+
object=""
|
|
63
|
+
key="_id"
|
|
64
|
+
value=""
|
|
65
|
+
placeholder="OrganizationId" />
|
|
66
66
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
67
|
+
<!-- API key -->
|
|
68
|
+
<input
|
|
69
|
+
type="hidden"
|
|
70
|
+
id="key"
|
|
71
|
+
array="organizations"
|
|
72
|
+
object=""
|
|
73
|
+
key="key"
|
|
74
|
+
placeholder="API Key"
|
|
75
|
+
uuid="32"
|
|
76
|
+
readonly />
|
|
77
77
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
78
|
+
<div
|
|
79
|
+
class="padding:25px background:gainsboro background:#444@dark text-align:left">
|
|
80
|
+
<!-- Industry select -->
|
|
81
|
+
<cocreate-select
|
|
82
|
+
sortable
|
|
83
|
+
class="floating-label"
|
|
84
|
+
array="organizations"
|
|
85
|
+
key="industry"
|
|
86
|
+
placeholder="Industry"
|
|
87
|
+
realtime="false"
|
|
88
|
+
save="false">
|
|
89
|
+
<input
|
|
90
|
+
placeholder="Search"
|
|
91
|
+
filter-query="$parent [array]" />
|
|
92
|
+
<ul
|
|
93
|
+
array="industries"
|
|
94
|
+
render-query="[template]"
|
|
95
|
+
class="options overflow:auto">
|
|
96
|
+
<li
|
|
97
|
+
class="template option"
|
|
98
|
+
template
|
|
99
|
+
value="{{object._id}}">
|
|
100
|
+
<h4
|
|
101
|
+
array="industries"
|
|
102
|
+
object="{{object._id}}"
|
|
103
|
+
key="name">
|
|
104
|
+
industry name
|
|
105
|
+
</h4>
|
|
106
|
+
</li>
|
|
107
|
+
</ul>
|
|
108
|
+
</cocreate-select>
|
|
109
109
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
110
|
+
<button
|
|
111
|
+
type="button"
|
|
112
|
+
class="outline red-white"
|
|
113
|
+
actions="runIndustry">
|
|
114
|
+
Register
|
|
115
|
+
<a
|
|
116
|
+
href="index.html"
|
|
117
|
+
state-array="modules"
|
|
118
|
+
state-object=""
|
|
119
|
+
state-key="html"
|
|
120
|
+
state_to="render"></a>
|
|
121
|
+
</button>
|
|
122
|
+
</div>
|
|
123
|
+
</form>
|
|
124
|
+
</div>
|
|
125
|
+
</div>
|
|
126
|
+
</div>
|
|
127
127
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
128
|
+
<!--<script src="../dist/CoCreate-organizations.js"></script>-->
|
|
129
|
+
<script src="https://CoCreate.app/dist/CoCreate.js"></script>
|
|
130
|
+
</body>
|
|
131
131
|
</html>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
type="text"
|
|
23
23
|
class="floating-label"
|
|
24
24
|
filter-query-key="name"
|
|
25
|
-
filter-
|
|
25
|
+
filter-query="$closest table; tbody"
|
|
26
26
|
placeholder="Industry Name" />
|
|
27
27
|
<span
|
|
28
28
|
class="position:absolute bottom:22px right:20px float:right z-index:6">
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
<a
|
|
31
31
|
filter-sort-key="name"
|
|
32
32
|
filter-sort-toggle
|
|
33
|
-
filter-
|
|
33
|
+
filter-query="$closest table; tbody">
|
|
34
34
|
<i></i>
|
|
35
35
|
</a>
|
|
36
36
|
</span>
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
type="text"
|
|
42
42
|
class="floating-label"
|
|
43
43
|
filter-query-key="_id"
|
|
44
|
-
filter-
|
|
44
|
+
filter-query="$closest table; tbody"
|
|
45
45
|
placeholder="Industry_id" />
|
|
46
46
|
<span
|
|
47
47
|
class="position:absolute bottom:22px right:20px float:right z-index:6">
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
filter-sort-direction="asc"
|
|
52
52
|
click-value="desc, asc"
|
|
53
53
|
click-attribute="filter-sort-direction"
|
|
54
|
-
filter-
|
|
54
|
+
filter-query="$closest table; tbody">
|
|
55
55
|
</a>
|
|
56
56
|
</span>
|
|
57
57
|
</td>
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
filter-query-value=""
|
|
64
64
|
filter-sort-key="name"
|
|
65
65
|
filter-sort-direction="asc"
|
|
66
|
-
render-
|
|
66
|
+
render-query="[template]">
|
|
67
67
|
<tr template class="border-bottom:1px_solid_darkgray">
|
|
68
68
|
<td class="padding:10px">
|
|
69
69
|
<div class="min-width:200px">
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
type="text"
|
|
23
23
|
class="floating-label"
|
|
24
24
|
filter-query-key="name"
|
|
25
|
-
filter-
|
|
25
|
+
filter-query="$closest table; tbody"
|
|
26
26
|
placeholder="Industry Name" />
|
|
27
27
|
<span
|
|
28
28
|
class="position:absolute bottom:22px right:20px float:right z-index:6">
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
<a
|
|
31
31
|
filter-sort-key="name"
|
|
32
32
|
filter-sort-toggle
|
|
33
|
-
filter-
|
|
33
|
+
filter-query="$closest table; tbody">
|
|
34
34
|
<i></i>
|
|
35
35
|
</a>
|
|
36
36
|
</span>
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
type="text"
|
|
42
42
|
class="floating-label"
|
|
43
43
|
filter-query-key="_id"
|
|
44
|
-
filter-
|
|
44
|
+
filter-query="$closest table; tbody"
|
|
45
45
|
placeholder="Industry_id" />
|
|
46
46
|
<span
|
|
47
47
|
class="position:absolute bottom:22px right:20px float:right z-index:6">
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
filter-sort-direction="asc"
|
|
52
52
|
click-value="desc, asc"
|
|
53
53
|
click-attribute="filter-sort-direction"
|
|
54
|
-
filter-
|
|
54
|
+
filter-query="$closest table; tbody">
|
|
55
55
|
</a>
|
|
56
56
|
</span>
|
|
57
57
|
</td>
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
filter-limit=""
|
|
66
66
|
filter-sort-key="name"
|
|
67
67
|
filter-sort-direction="asc"
|
|
68
|
-
render-
|
|
68
|
+
render-query="[template]"
|
|
69
69
|
state_to="me1234">
|
|
70
70
|
<tr template class="border-bottom:1px_solid_darkgray">
|
|
71
71
|
<td class="padding:10px">
|