@qikdev/vue-ui 0.2.185 → 0.2.186

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/dist/lib.es.js CHANGED
@@ -24259,8 +24259,10 @@ const HA = `qik vue ui ${Yo}`, ka = {
24259
24259
  component: $A,
24260
24260
  options: r
24261
24261
  });
24262
- }, t.selectScopes = function(n) {
24263
- return n = n || {}, n.model = n.model || [], t.modal({
24262
+ }, t.selectScopes = async function(n) {
24263
+ n = n || {}, n.model = n.model || [];
24264
+ const { session: r } = await t.auth.getCurrentUser(), { type: s, action: i } = n, a = t.access.actionableScopes(r, i, s, s);
24265
+ return a.length === 1 ? Promise.resolve(a) : t.modal({
24264
24266
  component: BA,
24265
24267
  options: n
24266
24268
  });