@cocreate/state 1.24.0 → 1.24.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [1.24.1](https://github.com/CoCreate-app/CoCreate-state/compare/v1.24.0...v1.24.1) (2025-01-18)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * filter-query-key ([f3f4781](https://github.com/CoCreate-app/CoCreate-state/commit/f3f4781e679696d19b935ff18e8c35ed947b9e56))
7
+
1
8
  # [1.24.0](https://github.com/CoCreate-app/CoCreate-state/compare/v1.23.0...v1.24.0) (2024-12-14)
2
9
 
3
10
 
package/demo/index.html CHANGED
@@ -1,188 +1,188 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="en">
3
- <head>
4
- <title>state | CoCreateJS</title>
3
+ <head>
4
+ <title>state | CoCreateJS</title>
5
5
 
6
- <!-- CoCreate Favicon -->
7
- <link
8
- rel="icon"
9
- type="image/png"
10
- sizes="32x32"
11
- href="../assets/favicon.ico" />
12
- <!-- CoCreate CSS CDN -->
13
- <link
14
- rel="stylesheet"
15
- href="https://cdn.cocreate.app/state/latest/CoCreate-state.min.css"
16
- type="text/css" />
17
- <link rel="manifest" href="/manifest.webmanifest" />
18
- </head>
19
- <body style="padding: 20px">
20
- <!-- windows -->
21
- <button
22
- actions="state, openModal"
23
- modal-src="./documentation"
24
- state-array="modules"
25
- state-object=""
26
- state_to="me1234"
27
- modal-width="600px"
28
- modal-height="100%"
29
- modal-color="#333">
30
- Window test.1
31
- </button>
32
- <button
33
- actions="state, openModal"
34
- modal-src="render.html"
35
- state-array="module_activity"
36
- state-object="5cd910dd30f02f16b3385821"
37
- state_to="me1234"
38
- modal-height="100%"
39
- modal-color="red"
40
- modal-x="20"
41
- modal-y="40">
42
- Window test.2
43
- </button>
44
- <!--Page-->
45
- <button>
46
- <a
47
- href="render.html"
48
- target=""
49
- state-array="module_activity"
50
- state-object="5d8aa1cfa37aee309596d6c6"
51
- state_to="me1234"
52
- >Page test.1.html
53
- <div
54
- state_to="me12345"
55
- state-array="modules"
56
- state-object="5d8aa2fca37aee309596d6c8"></div>
57
- </a>
58
- </button>
59
- ----
60
- <button>
61
- <a
62
- href="CoCreate-kanban/simple-test.html"
63
- state-array="module_activity"
64
- state-key="stage"
65
- state_to="stage"
66
- >Fetch name</a
67
- >
68
- </button>
6
+ <!-- CoCreate Favicon -->
7
+ <link
8
+ rel="icon"
9
+ type="image/png"
10
+ sizes="32x32"
11
+ href="../assets/favicon.ico" />
12
+ <!-- CoCreate CSS CDN -->
13
+ <link
14
+ rel="stylesheet"
15
+ href="https://cdn.cocreate.app/state/latest/CoCreate-state.min.css"
16
+ type="text/css" />
17
+ <link rel="manifest" href="/manifest.webmanifest" />
18
+ </head>
19
+ <body style="padding: 20px">
20
+ <!-- windows -->
21
+ <button
22
+ actions="state, openModal"
23
+ modal-src="./documentation"
24
+ state-array="modules"
25
+ state-object=""
26
+ state_to="me1234"
27
+ modal-width="600px"
28
+ modal-height="100%"
29
+ modal-color="#333">
30
+ Window test.1
31
+ </button>
32
+ <button
33
+ actions="state, openModal"
34
+ modal-src="render.html"
35
+ state-array="module_activity"
36
+ state-object="5cd910dd30f02f16b3385821"
37
+ state_to="me1234"
38
+ modal-height="100%"
39
+ modal-color="red"
40
+ modal-x="20"
41
+ modal-y="40">
42
+ Window test.2
43
+ </button>
44
+ <!--Page-->
45
+ <button>
46
+ <a
47
+ href="render.html"
48
+ target=""
49
+ state-array="module_activity"
50
+ state-object="5d8aa1cfa37aee309596d6c6"
51
+ state_to="me1234"
52
+ >Page test.1.html
53
+ <div
54
+ state_to="me12345"
55
+ state-array="modules"
56
+ state-object="5d8aa2fca37aee309596d6c8"></div>
57
+ </a>
58
+ </button>
59
+ ----
60
+ <button>
61
+ <a
62
+ href="CoCreate-kanban/simple-test.html"
63
+ state-array="module_activity"
64
+ state-key="stage"
65
+ state_to="stage"
66
+ >Fetch name</a
67
+ >
68
+ </button>
69
69
 
70
- <button>
71
- <a
72
- href="CoCreate-kanban/kanban.html"
73
- state-array="module_activity"
74
- state-filter-value="5e6d79f9d8cdbe53927a0443"
75
- state-filter-key
76
- state_to="fetch_value"
77
- >Simple Test</a
78
- >
79
- </button>
70
+ <button>
71
+ <a
72
+ href="CoCreate-kanban/kanban.html"
73
+ state-array="module_activity"
74
+ state-filter-value="5e6d79f9d8cdbe53927a0443"
75
+ state-filter-query-key
76
+ state_to="fetch_value"
77
+ >Simple Test</a
78
+ >
79
+ </button>
80
80
 
81
- <button>
82
- <a
83
- href="https://server.cocreate.app/CoCreate-attributes/CoCreate-attibutes.html"
84
- target="_blank"
85
- state-array="modules"
86
- state-object="5ebc16fc8917bc59483a7e3b"
87
- state_to="1234"
88
- >empty target</a
89
- >
90
- </button>
81
+ <button>
82
+ <a
83
+ href="https://server.cocreate.app/CoCreate-attributes/CoCreate-attibutes.html"
84
+ target="_blank"
85
+ state-array="modules"
86
+ state-object="5ebc16fc8917bc59483a7e3b"
87
+ state_to="1234"
88
+ >empty target</a
89
+ >
90
+ </button>
91
91
 
92
- <button>
93
- <a
94
- href="CoCreate-attributes/CoCreate-attibutes.html"
95
- actions="01, 02"
96
- target="_blank"
97
- state-array="modules"
98
- state-object="5ebc16fc8917bc59483a7e3b"
99
- state_to="1234"
100
- >_blank</a
101
- >
102
- </button>
103
- <button>
104
- <a
105
- href="CoCreate-attributes/CoCreate-attibutes.html"
106
- target="_blank"
107
- state-array="modules"
108
- state-object="5d8aa2fca37aee309596d6c8"
109
- state_to="1234"
110
- >_window</a
111
- >
112
- </button>
113
- <button>
114
- <a
115
- href="target.html"
116
- target="_self"
117
- state-array="modules"
118
- state-object="5d8aa2fca37aee309596d6c8"
119
- state_to="me1234"
120
- >_self</a
121
- >
122
- </button>
123
- ----
124
- <button>
125
- <a
126
- href="html_block.html"
127
- state-array="modules"
128
- state-object="5cf995e8ac959a2bd93356fb"
129
- state_to="me1234"
130
- >Page HTML BLOCK</a
131
- >
132
- </button>
133
- <button>
134
- <a
135
- actions="state, openModal"
136
- modal-src="html_block.html"
137
- state-array="modules"
138
- state-object="5cf995e8ac959a2bd93356fb"
139
- state_to="me1234"
140
- >Modal HTML BLOCK</a
141
- >
142
- </button>
92
+ <button>
93
+ <a
94
+ href="CoCreate-attributes/CoCreate-attibutes.html"
95
+ actions="01, 02"
96
+ target="_blank"
97
+ state-array="modules"
98
+ state-object="5ebc16fc8917bc59483a7e3b"
99
+ state_to="1234"
100
+ >_blank</a
101
+ >
102
+ </button>
103
+ <button>
104
+ <a
105
+ href="CoCreate-attributes/CoCreate-attibutes.html"
106
+ target="_blank"
107
+ state-array="modules"
108
+ state-object="5d8aa2fca37aee309596d6c8"
109
+ state_to="1234"
110
+ >_window</a
111
+ >
112
+ </button>
113
+ <button>
114
+ <a
115
+ href="target.html"
116
+ target="_self"
117
+ state-array="modules"
118
+ state-object="5d8aa2fca37aee309596d6c8"
119
+ state_to="me1234"
120
+ >_self</a
121
+ >
122
+ </button>
123
+ ----
124
+ <button>
125
+ <a
126
+ href="html_block.html"
127
+ state-array="modules"
128
+ state-object="5cf995e8ac959a2bd93356fb"
129
+ state_to="me1234"
130
+ >Page HTML BLOCK</a
131
+ >
132
+ </button>
133
+ <button>
134
+ <a
135
+ actions="state, openModal"
136
+ modal-src="html_block.html"
137
+ state-array="modules"
138
+ state-object="5cf995e8ac959a2bd93356fb"
139
+ state_to="me1234"
140
+ >Modal HTML BLOCK</a
141
+ >
142
+ </button>
143
143
 
144
- <button>
145
- <a
146
- href="CoCreate-builder/index.html"
147
- state-array="test1_array"
148
- state_to="me1234"
149
- >test page builder.html</a
150
- >
151
- </button>
152
- <button>
153
- <a
154
- actions="state, openModal"
155
- modal-src="builder.html"
156
- state-array="modules"
157
- state-object="5cf995e8ac959a2bd93356fb"
158
- state_to="me1234"
159
- >modal builder.html</a
160
- >
161
- </button>
144
+ <button>
145
+ <a
146
+ href="CoCreate-builder/index.html"
147
+ state-array="test1_array"
148
+ state_to="me1234"
149
+ >test page builder.html</a
150
+ >
151
+ </button>
152
+ <button>
153
+ <a
154
+ actions="state, openModal"
155
+ modal-src="builder.html"
156
+ state-array="modules"
157
+ state-object="5cf995e8ac959a2bd93356fb"
158
+ state_to="me1234"
159
+ >modal builder.html</a
160
+ >
161
+ </button>
162
162
 
163
- <button>
164
- <a
165
- actions="state, openModal"
166
- modal-src="module_datatable.html"
167
- state-array="modules"
168
- state-object="5cf995e8ac959a2bd93356fb"
169
- state_to="me1234"
170
- >modal datatable</a
171
- >
172
- </button>
163
+ <button>
164
+ <a
165
+ actions="state, openModal"
166
+ modal-src="module_datatable.html"
167
+ state-array="modules"
168
+ state-object="5cf995e8ac959a2bd93356fb"
169
+ state_to="me1234"
170
+ >modal datatable</a
171
+ >
172
+ </button>
173
173
 
174
- <button>
175
- <a
176
- actions="state, openModal"
177
- modal-src="index.html"
178
- state_to="me1234"
179
- >index.html</a
180
- >
181
- </button>
174
+ <button>
175
+ <a
176
+ actions="state, openModal"
177
+ modal-src="index.html"
178
+ state_to="me1234"
179
+ >index.html</a
180
+ >
181
+ </button>
182
182
 
183
- <div id="modal-viewport"></div>
183
+ <div id="modal-viewport"></div>
184
184
 
185
- <!--<script src="../dist/CoCreate-state.js"></script>-->
186
- <script src="https://CoCreate.app/dist/CoCreate.js"></script>
187
- </body>
185
+ <!--<script src="../dist/CoCreate-state.js"></script>-->
186
+ <script src="https://CoCreate.app/dist/CoCreate.js"></script>
187
+ </body>
188
188
  </html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/state",
3
- "version": "1.24.0",
3
+ "version": "1.24.1",
4
4
  "description": "Data attributes which can be used for components in CoCreate framework combined as a group of attributes that dynamically change attributes & fetch custom data.",
5
5
  "keywords": [
6
6
  "state",