@cortezaproject/corteza-vue 2023.3.3 → 2023.3.4-rc.2

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/index.es.js CHANGED
@@ -14534,11 +14534,11 @@ var __vue_staticRenderFns__$1 = [];
14534
14534
  /* style */
14535
14535
  const __vue_inject_styles__$2 = function (inject) {
14536
14536
  if (!inject) return
14537
- inject("data-v-31415829_0", { source: "div[data-v-31415829]{object-fit:contain}div img.loaded[data-v-31415829]{width:auto;height:auto;display:block}div.inline img[data-v-31415829]:not(.disable-zoom-cursor){cursor:zoom-in}", map: undefined, media: undefined });
14537
+ inject("data-v-12aadc44_0", { source: "div[data-v-12aadc44]{object-fit:contain}div img.loaded[data-v-12aadc44]{width:auto;height:auto;display:block}div.inline img[data-v-12aadc44]{cursor:zoom-in}div.inline img.disable-zoom-cursor[data-v-12aadc44]{cursor:default}", map: undefined, media: undefined });
14538
14538
 
14539
14539
  };
14540
14540
  /* scoped */
14541
- const __vue_scope_id__$2 = "data-v-31415829";
14541
+ const __vue_scope_id__$2 = "data-v-12aadc44";
14542
14542
  /* module identifier */
14543
14543
  const __vue_module_identifier__$2 = undefined;
14544
14544
  /* functional template */
@@ -79449,6 +79449,7 @@ var __vue_staticRenderFns__$j = [];
79449
79449
  //
79450
79450
  //
79451
79451
  //
79452
+ //
79452
79453
  var script$n = {
79453
79454
  props: {
79454
79455
  value: {
@@ -79466,19 +79467,21 @@ var script$n = {
79466
79467
  }
79467
79468
  },
79468
79469
  computed: {
79469
- noClass() {
79470
+ offClass() {
79470
79471
  const value = this.invert ? !this.value : this.value;
79471
79472
  return {
79472
79473
  'text-muted': value,
79473
- 'font-weight-bold': !value
79474
+ 'font-weight-bold': !value,
79475
+ 'mr-2': !!this.labels.off
79474
79476
  };
79475
79477
  },
79476
79478
 
79477
- yesClass() {
79479
+ onClass() {
79478
79480
  const value = this.invert ? !this.value : this.value;
79479
79481
  return {
79480
79482
  'text-muted': !value,
79481
- 'font-weight-bold': value
79483
+ 'font-weight-bold': value,
79484
+ 'ml-1': !!this.labels.on
79482
79485
  };
79483
79486
  }
79484
79487
 
@@ -79489,7 +79492,7 @@ var script$n = {
79489
79492
  const __vue_script__$n = script$n;
79490
79493
 
79491
79494
  /* template */
79492
- var __vue_render__$k = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-flex"},[_c('span',{staticClass:"mb-0 inline-block text-primary mr-2",class:_vm.noClass},[_vm._v("\n "+_vm._s(_vm.labels.off)+"\n ")]),_vm._v(" "),_c('b-form-checkbox',_vm._g(_vm._b({attrs:{"checked":_vm.value,"value":!_vm.invert,"unchecked-value":_vm.invert}},'b-form-checkbox',_vm.$attrs,false),_vm.$listeners)),_vm._v(" "),_c('span',{staticClass:"mb-0 inline-block strong text-primary ml-2",class:_vm.yesClass},[_vm._v("\n "+_vm._s(_vm.labels.on)+"\n ")])],1)};
79495
+ var __vue_render__$k = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"d-flex align-items-center"},[_c('span',{staticClass:"mb-0 inline-block text-primary",class:_vm.offClass},[_vm._v("\n "+_vm._s(_vm.labels.off)+"\n ")]),_vm._v(" "),_c('b-form-checkbox',_vm._g(_vm._b({attrs:{"checked":_vm.value,"value":!_vm.invert,"unchecked-value":_vm.invert}},'b-form-checkbox',_vm.$attrs,false),_vm.$listeners),[_vm._t("default")],2),_vm._v(" "),_c('span',{staticClass:"mb-0 inline-block strong text-primary",class:_vm.onClass},[_vm._v("\n "+_vm._s(_vm.labels.on)+"\n ")])],1)};
79493
79496
  var __vue_staticRenderFns__$k = [];
79494
79497
 
79495
79498
  /* style */
@@ -85797,7 +85800,7 @@ var script$D = {
85797
85800
  if (this.hasFocus !== f) {
85798
85801
  this.hasFocus = f;
85799
85802
  }
85800
- }, 250);
85803
+ }, 1000);
85801
85804
  }
85802
85805
 
85803
85806
  },
@@ -85826,11 +85829,11 @@ var __vue_staticRenderFns__$z = [];
85826
85829
  /* style */
85827
85830
  const __vue_inject_styles__$E = function (inject) {
85828
85831
  if (!inject) return
85829
- inject("data-v-7c0c67b4_0", { source: ".slide-enter-active[data-v-7c0c67b4]{transition:all .3s ease}.slide-leave-active[data-v-7c0c67b4]{transition:all .8s cubic-bezier(1,.5,.8,1)}.slide-enter[data-v-7c0c67b4],.slide-leave-to[data-v-7c0c67b4]{transform:translateX(10px);opacity:0}", map: undefined, media: undefined });
85832
+ inject("data-v-4017a64a_0", { source: ".slide-enter-active[data-v-4017a64a]{transition:all .3s ease}.slide-leave-active[data-v-4017a64a]{transition:all .8s cubic-bezier(1,.5,.8,1)}.slide-enter[data-v-4017a64a],.slide-leave-to[data-v-4017a64a]{transform:translateX(10px);opacity:0}", map: undefined, media: undefined });
85830
85833
 
85831
85834
  };
85832
85835
  /* scoped */
85833
- const __vue_scope_id__$E = "data-v-7c0c67b4";
85836
+ const __vue_scope_id__$E = "data-v-4017a64a";
85834
85837
  /* module identifier */
85835
85838
  const __vue_module_identifier__$E = undefined;
85836
85839
  /* functional template */
@@ -88901,7 +88904,7 @@ var script$$ = {
88901
88904
  const __vue_script__$$ = script$$;
88902
88905
 
88903
88906
  /* template */
88904
- var __vue_render__$V = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('vue-select',{key:"type",staticClass:"bg-white",attrs:{"value":_vm._value,"disabled":_vm._disabled,"options":_vm.sensitivityLevels,"get-option-label":_vm.getLabel,"get-option-key":_vm.getOptionKey,"placeholder":_vm.placeholder,"reduce":function (l) { return l.sensitivityLevelID; },"append-to-body":"","calculate-position":_vm.calculateDropdownPosition},on:{"input":_vm.onInput}})};
88907
+ var __vue_render__$V = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('vue-select',{key:"type",staticClass:"bg-white",attrs:{"data-test-id":"select-sens-lvl","value":_vm._value,"disabled":_vm._disabled,"options":_vm.sensitivityLevels,"get-option-label":_vm.getLabel,"get-option-key":_vm.getOptionKey,"placeholder":_vm.placeholder,"reduce":function (l) { return l.sensitivityLevelID; },"append-to-body":"","calculate-position":_vm.calculateDropdownPosition},on:{"input":_vm.onInput}})};
88905
88908
  var __vue_staticRenderFns__$V = [];
88906
88909
 
88907
88910
  /* style */
@@ -89148,7 +89151,7 @@ var __vue_staticRenderFns__$W = [];
89148
89151
  /* style */
89149
89152
  const __vue_inject_styles__$11 = function (inject) {
89150
89153
  if (!inject) return
89151
- inject("data-v-acd0ac20_0", { source: "#resource-list td.actions{padding-top:8px;right:0;opacity:0;position:sticky;transition:opacity .25s;width:1%}#resource-list td.actions .regular-font{font-family:Poppins-Regular!important}#resource-list tr:hover td.actions{opacity:1;background-color:#f9fafb}", map: undefined, media: undefined });
89154
+ inject("data-v-101e6cb5_0", { source: "#resource-list td.actions{padding-top:8px;right:0;opacity:0;position:sticky;transition:opacity .25s;width:1%}#resource-list td.actions .regular-font{font-family:Poppins-Regular!important}#resource-list tr:hover td.actions{opacity:1;background-color:#f9fafb;z-index:1}", map: undefined, media: undefined });
89152
89155
 
89153
89156
  };
89154
89157
  /* scoped */