@cocreate/resize 1.1.58 → 1.1.62

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,31 @@
1
+ ## [1.1.62](https://github.com/CoCreate-app/CoCreate-resize/compare/v1.1.61...v1.1.62) (2022-01-02)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * use get-value-key and setvalue-key instead of fetch-for render-json ([5158ed3](https://github.com/CoCreate-app/CoCreate-resize/commit/5158ed37c25173683a3a651998c6513c81d1b596))
7
+
8
+ ## [1.1.61](https://github.com/CoCreate-app/CoCreate-resize/compare/v1.1.60...v1.1.61) (2022-01-01)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * get-value attribute value now supports a selector added # to all values currently in get-value attributes ([d654346](https://github.com/CoCreate-app/CoCreate-resize/commit/d65434624e9850d64d0b6782ebb9f7f97851535c))
14
+
15
+ ## [1.1.60](https://github.com/CoCreate-app/CoCreate-resize/compare/v1.1.59...v1.1.60) (2022-01-01)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * removed data- from attributes ([04abad4](https://github.com/CoCreate-app/CoCreate-resize/commit/04abad4ff27e9255c0226463cb8fe9c83a849fac))
21
+
22
+ ## [1.1.59](https://github.com/CoCreate-app/CoCreate-resize/compare/v1.1.58...v1.1.59) (2021-12-31)
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * update chart attributes ([ed83071](https://github.com/CoCreate-app/CoCreate-resize/commit/ed830713c1a128744c308316d0e6f0652bb783b2))
28
+
1
29
  ## [1.1.58](https://github.com/CoCreate-app/CoCreate-resize/compare/v1.1.57...v1.1.58) (2021-12-23)
2
30
 
3
31
 
@@ -126,7 +126,8 @@
126
126
 
127
127
  <!-- Template -->
128
128
  <li class="template line-height:40px height:40px overflow:hidden background:dodgerblue:hover" template_id="main-menu" document_id="{{data._id}}">
129
- <a target="modal" fetch-for href='..{"collection":"files", "document_id":"{{data.main-menu-primary}}","name":"path"}'
129
+ <input type="hidden" collection="files" document_id="{{data.main-menu-primary}}" name="path" set-value="#a{{data._id}}" set-value-key="primary-url">
130
+ <a target="modal" id="a{{data._id}}" href='..{{primary-url}}'
130
131
  modal-width="{{data.main-modal-primary-width}}"
131
132
  modal-color="{{data.main-modal-color}}"
132
133
  class="display:inline-block">
@@ -139,7 +140,8 @@
139
140
  <div pass-value="{{data._id}}" pass-filter-value="{{data._id}}" pass_to="module-form"></div>
140
141
  </a>
141
142
  <div class="float:right width:50px text-align:center">
142
- <a target="modal" fetch-for href='..{"collection":"files", "document_id":"{{data.main-menu-secondary}}","name":"path"}'
143
+ <input type="hidden" collection="files" document_id="{{data.main-menu-secondary}}" name="path" set-value="#a{{data._id}}" set-value-key="secondary-url">
144
+ <a target="modal" id="a{{data._id}}" href='..{{secondary-url}}'
143
145
  modal-width="{{data.main-menu-secondary-width}}"
144
146
  modal-color="{{data.main-menu-secondary-color}}">
145
147
  <i class="fas fa-plus"></i>
@@ -188,14 +190,14 @@
188
190
 
189
191
  <div class="display:grid grid-auto-rows:50px gap:10px grid-template-columns:repeat(auto-fill,minmax(50px,1fr))" dnd-group-name="dashboard" fetch-collection="files" template_id="card" droppable="true">
190
192
 
191
- <div template_id="card" class="card position:relative template display:flex padding:20px align-items:center grid-column-end:span_6 grid-row-end:span_2" element_id="id1" draggable="tru" resizable>
193
+ <div template_id="card" class="card position:relative template display:flex padding:20px align-items:center grid-column-end:span_6 grid-row-end:span_2" eid="id1" draggable="tru" resizable>
192
194
  <!-- dashboard template-->
193
195
  <div class="flex-grow:1 padding-right:20px">
194
196
  <h2 name="name">Visits</h2>
195
197
  <p name="description">Total visits today</p>
196
198
  <div class="display:flex align-items:center">
197
- <h2>$<span fetch-collection="" filter-name="total" data-set_id="1" data-calculation="sum">4000</span></h2>
198
- <div filter-name="status" filter-value="completed" data-set_id="1"></div>
199
+ <h2>$<span fetch-collection="" filter-name="total" chart-operator="sum">4000</span></h2>
200
+ <div filter-name="status" filter-value="completed"></div>
199
201
  <!--<i class="fas fa-chart-line color:green font-size:16px padding:0px_15px"></i>-->
200
202
  <span class="cocreate-badge background:green round font-size:12px">7%</span>
201
203
  </div>
package/docs/index.html CHANGED
@@ -117,7 +117,7 @@
117
117
  <div class="svSplitter svHorizontal"> </div>
118
118
 
119
119
  <div class="svPanel">
120
- <iframe get-value="demo" frameBorder="0" height="100%" width="100%" class="min-width:300px"></iframe>
120
+ <iframe get-value="#demo" frameBorder="0" height="100%" width="100%" class="min-width:300px"></iframe>
121
121
  </div>
122
122
 
123
123
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/resize",
3
- "version": "1.1.58",
3
+ "version": "1.1.62",
4
4
  "description": "A light weight resize handler make any element resizable by adding data attributes or usinng init object. Great for Customized text box or text area.",
5
5
  "keywords": [
6
6
  "resize",