@concretecms/bedrock 1.5.2 → 1.5.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.
@@ -57,6 +57,11 @@ export default {
57
57
  components: {
58
58
  },
59
59
  props: {
60
+ filter: {
61
+ type: String,
62
+ required: false,
63
+ default: '' /* Values are either "" or "assign". If assign, we strip out faux-groups like "Guest" and "Registered Users" */
64
+ },
60
65
  mode: {
61
66
  type: String,
62
67
  required: false,
@@ -83,7 +88,7 @@ export default {
83
88
  treeID: function() {
84
89
  var my = this
85
90
  var removeNodesByKey = []
86
- if (this.guestGroupTreeNodeID !== null && this.registeredGroupTreeNodeID !== null) {
91
+ if (this.filter === 'assign' && this.guestGroupTreeNodeID !== null && this.registeredGroupTreeNodeID !== null) {
87
92
  removeNodesByKey.push(this.guestGroupTreeNodeID)
88
93
  removeNodesByKey.push(this.registeredGroupTreeNodeID)
89
94
  }
@@ -148,7 +153,7 @@ export default {
148
153
  url: CCM_DISPATCHER_FILENAME + '/ccm/system/group/chooser/search',
149
154
  method: 'POST',
150
155
  data: {
151
- filter: 'assign',
156
+ filter: my.filter,
152
157
  ccm_token: CCM_SECURITY_TOKEN,
153
158
  keywords: my.searchKeywords
154
159
  },
@@ -146,11 +146,7 @@
146
146
  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
147
147
  <g id="Page-1" stroke="none" stroke-width="1" fill-rule="evenodd">
148
148
  <g id="Dialog---Add-Page-List" transform="translate(-1021.000000, -105.000000)">
149
- <mask id="mask-2" fill="white">
150
- <use xlink:href="#path-1"></use>
151
- </mask>
152
- <use id="Rectangle" fill-opacity="0.6" xlink:href="#path-1"></use>
153
- <g id="Group" mask="url(#mask-2)">
149
+ <g id="Group">
154
150
  <g transform="translate(315.000000, 80.000000)">
155
151
  <g id="icons8-info-(1)" stroke-width="1" fill="none" fill-rule="evenodd"
156
152
  transform="translate(706.000000, 25.000000)">
@@ -4,7 +4,7 @@
4
4
  if (window.innerWidth > 992) {
5
5
  document.querySelectorAll('.ccm-block-top-navigation-bar .nav-item').forEach(function(everyitem) {
6
6
  everyitem.addEventListener('mouseover', function(e) {
7
- const linkElement = this.querySelector('a[data-bs-toggle]')
7
+ const linkElement = this.querySelector('a[data-concrete-toggle]')
8
8
  if (linkElement != null) {
9
9
  const nextElement = linkElement.nextElementSibling
10
10
  linkElement.classList.add('show')
@@ -12,7 +12,7 @@
12
12
  }
13
13
  })
14
14
  everyitem.addEventListener('mouseleave', function(e) {
15
- const linkElement = this.querySelector('a[data-bs-toggle]')
15
+ const linkElement = this.querySelector('a[data-concrete-toggle]')
16
16
  if (linkElement != null) {
17
17
  const nextElement = linkElement.nextElementSibling
18
18
  linkElement.classList.remove('show')
@@ -21,7 +21,7 @@
21
21
  })
22
22
  })
23
23
  } else {
24
- $('a[data-bs-toggle]').on('click', function(e) {
24
+ $('a[data-concrete-toggle]').on('click', function(e) {
25
25
  if (!$(this).hasClass('show')) {
26
26
  e.preventDefault()
27
27
  const $nextElement = $(this).next()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@concretecms/bedrock",
3
- "version": "1.5.2",
3
+ "version": "1.5.3",
4
4
  "description": "The asset framework and dependencies for Concrete CMS.",
5
5
  "scripts": {
6
6
  "lint": "standardx \"**/*.{js,vue}\" && stylelint assets/**/*.{scss,vue}",