@cocreate/organizations 1.7.9 → 1.7.11

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,19 @@
1
+ ## [1.7.11](https://github.com/CoCreate-app/CoCreate-organizations/compare/v1.7.10...v1.7.11) (2022-11-26)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * bump dependencies ([7d75157](https://github.com/CoCreate-app/CoCreate-organizations/commit/7d75157ee4e3192232c8b12da345f62dfb9ad251))
7
+ * toggle-order renamed to filter-sort-toggle ([cdbf1a1](https://github.com/CoCreate-app/CoCreate-organizations/commit/cdbf1a1c40add6ae98b6285ec862ba11d4246199))
8
+
9
+ ## [1.7.10](https://github.com/CoCreate-app/CoCreate-organizations/compare/v1.7.9...v1.7.10) (2022-11-25)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * bump dependencies ([bcf1b85](https://github.com/CoCreate-app/CoCreate-organizations/commit/bcf1b85a5d5723c407c3745fcb0217f8546574b7))
15
+ * CoCreate.crud.default removed bug causing default object ([48c810d](https://github.com/CoCreate-app/CoCreate-organizations/commit/48c810dfa5c110f52e0b190d2fe31d81814440be))
16
+
1
17
  ## [1.7.9](https://github.com/CoCreate-app/CoCreate-organizations/compare/v1.7.8...v1.7.9) (2022-11-24)
2
18
 
3
19
 
@@ -19,7 +19,7 @@
19
19
  placeholder="Industry Name">
20
20
  <span class="position:absolute bottom:18px right:20px float:right font-size:18px z-index:6">
21
21
  <!-- need a solution to update toggle value="desc|asc" and define and upadte icons... show hide works great but to much html and orderby only has 2 values -->
22
- <a filter-sort-name="name" toggle-order template_id="datatable">
22
+ <a filter-sort-name="name" filter-sort-toggle template_id="datatable">
23
23
  <i></i>
24
24
  </a>
25
25
  </span>
@@ -32,7 +32,7 @@
32
32
  template_id="datatable"
33
33
  placeholder="Industry_id"/>
34
34
  <span class="position:absolute bottom:18px right:20px float:right font-size:18px z-index:6" >
35
- <a filter-sort-name="_id" value="" toggle-order="true" template_id="datatable">
35
+ <a filter-sort-name="_id" value="" filter-sort-toggle="true" template_id="datatable">
36
36
  </a>
37
37
  </span>
38
38
  </td>
@@ -21,7 +21,7 @@
21
21
  placeholder="Industry Name">
22
22
  <span class="position:absolute bottom:18px right:20px float:right font-size:18px z-index:6">
23
23
  <!-- need a solution to update toggle value="desc|asc" and define and upadte icons... show hide works great but to much html and orderby only has 2 values -->
24
- <a filter-sort-name="name" toggle-order template_id="datatable">
24
+ <a filter-sort-name="name" filter-sort-toggle template_id="datatable">
25
25
  <i></i>
26
26
  </a>
27
27
  </span>
@@ -34,7 +34,7 @@
34
34
  template_id="datatable"
35
35
  placeholder="Industry_id"/>
36
36
  <span class="position:absolute bottom:18px right:20px float:right font-size:18px z-index:6" >
37
- <a filter-sort-name="_id" value="" toggle-order="true" template_id="datatable">
37
+ <a filter-sort-name="_id" value="" filter-sort-toggle="true" template_id="datatable">
38
38
  </a>
39
39
  </span>
40
40
  </td>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/organizations",
3
- "version": "1.7.9",
3
+ "version": "1.7.11",
4
4
  "description": "A simple organizations component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API.",
5
5
  "keywords": [
6
6
  "organizations",
@@ -61,10 +61,10 @@
61
61
  "webpack-log": "^3.0.1"
62
62
  },
63
63
  "dependencies": {
64
- "@cocreate/actions": "^1.5.21",
65
- "@cocreate/crud-client": "^1.14.2",
66
- "@cocreate/docs": "^1.4.3",
67
- "@cocreate/element-prototype": "^1.1.6",
64
+ "@cocreate/actions": "^1.5.23",
65
+ "@cocreate/crud-client": "^1.15.1",
66
+ "@cocreate/docs": "^1.4.5",
67
+ "@cocreate/element-prototype": "^1.1.8",
68
68
  "mongodb": "^4.4.0"
69
69
  }
70
70
  }
package/src/client.js CHANGED
@@ -1,14 +1,8 @@
1
- import CRUD from '@cocreate/crud-client';
1
+ import crud from '@cocreate/crud-client';
2
2
  import '@cocreate/element-prototype';
3
3
  import action from '@cocreate/actions';
4
4
  import uuid from '@cocreate/uuid';
5
5
 
6
- let crud
7
- if (CRUD && CRUD.default)
8
- crud = CRUD.default
9
- else
10
- crud = CRUD
11
-
12
6
  const CoCreateOrganization = {
13
7
  init: function() {
14
8
  const self = this;