@weni/unnnic-system 1.16.31-develop.0 → 1.16.32-develop.0

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.
@@ -186,13 +186,6 @@ module.exports = String(test) === '[object z]';
186
186
  })));
187
187
 
188
188
 
189
- /***/ }),
190
-
191
- /***/ "01c1":
192
- /***/ (function(module, exports, __webpack_require__) {
193
-
194
- // extracted by mini-css-extract-plugin
195
-
196
189
  /***/ }),
197
190
 
198
191
  /***/ "020e":
@@ -17668,17 +17661,6 @@ $({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
17668
17661
  });
17669
17662
 
17670
17663
 
17671
- /***/ }),
17672
-
17673
- /***/ "ac9a":
17674
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
17675
-
17676
- "use strict";
17677
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Modal_vue_vue_type_style_index_0_id_3f8fc3bd_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("01c1");
17678
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Modal_vue_vue_type_style_index_0_id_3f8fc3bd_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Modal_vue_vue_type_style_index_0_id_3f8fc3bd_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
17679
- /* unused harmony reexport * */
17680
-
17681
-
17682
17664
  /***/ }),
17683
17665
 
17684
17666
  /***/ "acfe":
@@ -28594,6 +28576,13 @@ module.exports = "<svg viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3
28594
28576
  })));
28595
28577
 
28596
28578
 
28579
+ /***/ }),
28580
+
28581
+ /***/ "e843":
28582
+ /***/ (function(module, exports, __webpack_require__) {
28583
+
28584
+ // extracted by mini-css-extract-plugin
28585
+
28597
28586
  /***/ }),
28598
28587
 
28599
28588
  /***/ "e893":
@@ -29089,6 +29078,17 @@ module.exports = function (target, name, descriptor) {
29089
29078
  /* unused harmony reexport * */
29090
29079
 
29091
29080
 
29081
+ /***/ }),
29082
+
29083
+ /***/ "f0cf":
29084
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
29085
+
29086
+ "use strict";
29087
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Modal_vue_vue_type_style_index_0_id_5ebc5326_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("e843");
29088
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Modal_vue_vue_type_style_index_0_id_5ebc5326_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Modal_vue_vue_type_style_index_0_id_5ebc5326_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
29089
+ /* unused harmony reexport * */
29090
+
29091
+
29092
29092
  /***/ }),
29093
29093
 
29094
29094
  /***/ "f0d9":
@@ -36482,15 +36482,15 @@ var Radio_component = normalizeComponent(
36482
36482
  )
36483
36483
 
36484
36484
  /* harmony default export */ var Radio = (Radio_component.exports);
36485
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3be1353e-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Modal/Modal.vue?vue&type=template&id=3f8fc3bd&scoped=true&
36486
- var Modalvue_type_template_id_3f8fc3bd_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showModal)?_c('transition',{attrs:{"name":"modal"}},[_c('div',_vm._g(_vm._b({class:['unnnic-modal']},'div',_vm.$attrs,false),_vm.$listeners),[_c('div',{staticClass:"unnnic-modal-container"},[_c('div',{staticClass:"unnnic-modal-container-background"},[_c('div',{staticClass:"unnnic-modal-container-background-body"},[(_vm.closeIcon)?_c('div',{staticClass:"unnnic-modal-container-background-body-close_icon"},[_c('unnnic-icon-svg',{attrs:{"icon":"close-1","scheme":"neutral-dark","size":"sm","clickable":""},on:{"click":_vm.onCloseClick}})],1):_vm._e(),(_vm.modalIcon)?_c('div',{class:[
36485
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3be1353e-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Modal/Modal.vue?vue&type=template&id=5ebc5326&scoped=true&
36486
+ var Modalvue_type_template_id_5ebc5326_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showModal)?_c('transition',{attrs:{"name":"modal"}},[_c('div',_vm._g(_vm._b({ref:"modalContainer",class:['unnnic-modal']},'div',_vm.$attrs,false),_vm.$listeners),[_c('div',{staticClass:"unnnic-modal-container",on:{"click":function($event){if($event.target !== $event.currentTarget){ return null; }return _vm.onOutsideCloseClick($event)}}},[_c('div',{ref:"modal",staticClass:"unnnic-modal-container-background"},[_c('div',{staticClass:"unnnic-modal-container-background-body"},[(_vm.closeIcon)?_c('div',{staticClass:"unnnic-modal-container-background-body-close_icon"},[_c('unnnic-icon-svg',{attrs:{"icon":"close-1","scheme":"neutral-dark","size":"sm","clickable":""},on:{"click":_vm.onCloseClick}})],1):_vm._e(),(_vm.modalIcon)?_c('div',{class:[
36487
36487
  'unnnic-modal-container-background-body-alert_icon',
36488
36488
  ("unnnic-card-scheme--" + _vm.scheme + "--icon"),
36489
- _vm.closeIcon ? '' : 'unnnic-modal-container-background-body-spacing_header' ]},[_c('unnnic-icon-svg',{attrs:{"scheme":_vm.scheme,"icon":_vm.modalIcon,"size":"xl"}})],1):_vm._e(),_c('div',{staticClass:"unnnic-modal-container-background-body-title"},[_vm._v(" "+_vm._s(_vm.text)+" ")]),_c('div',{staticClass:"unnnic-modal-container-background-body-description"},[_vm._v(" "+_vm._s(_vm.description)+" "),_vm._t("message")],2)]),(_vm.hasAlertMessage)?_c('div',{staticClass:"unnnic-modal-container-background-report"},[_vm._v(" "+_vm._s(_vm.alertMessage)+" ")]):_vm._e(),(_vm.hasButton)?_c('div',{staticClass:"unnnic-modal-container-background-button"},[_vm._t("options")],2):_vm._e()])])])]):_vm._e()}
36490
- var Modalvue_type_template_id_3f8fc3bd_scoped_true_staticRenderFns = []
36489
+ _vm.closeIcon ? '' : 'unnnic-modal-container-background-body-spacing_header' ]},[_c('unnnic-icon-svg',{attrs:{"scheme":_vm.scheme,"icon":_vm.modalIcon,"size":"xl"}})],1):_vm._e(),_c('div',{staticClass:"unnnic-modal-container-background-body-title"},[_vm._v(" "+_vm._s(_vm.text)+" ")])]),_c('div',{staticClass:"unnnic-modal-container-background-body-description-container"},[_c('div',{staticClass:"unnnic-modal-container-background-body-description"},[_vm._v(" "+_vm._s(_vm.description)+" "),_vm._t("message"),_vm._t("default")],2)]),(_vm.hasAlertMessage)?_c('div',{staticClass:"unnnic-modal-container-background-report"},[_vm._v(" "+_vm._s(_vm.alertMessage)+" ")]):_vm._e(),(_vm.hasButton)?_c('div',{staticClass:"unnnic-modal-container-background-button"},[_vm._t("options")],2):_vm._e()])])])]):_vm._e()}
36490
+ var Modalvue_type_template_id_5ebc5326_scoped_true_staticRenderFns = []
36491
36491
 
36492
36492
 
36493
- // CONCATENATED MODULE: ./src/components/Modal/Modal.vue?vue&type=template&id=3f8fc3bd&scoped=true&
36493
+ // CONCATENATED MODULE: ./src/components/Modal/Modal.vue?vue&type=template&id=5ebc5326&scoped=true&
36494
36494
 
36495
36495
  // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Modal/Modal.vue?vue&type=script&lang=js&
36496
36496
  //
@@ -36537,6 +36537,9 @@ var Modalvue_type_template_id_3f8fc3bd_scoped_true_staticRenderFns = []
36537
36537
  //
36538
36538
  //
36539
36539
  //
36540
+ //
36541
+ //
36542
+ //
36540
36543
 
36541
36544
 
36542
36545
  /* harmony default export */ var Modalvue_type_script_lang_js_ = ({
@@ -36572,10 +36575,61 @@ var Modalvue_type_template_id_3f8fc3bd_scoped_true_staticRenderFns = []
36572
36575
  scheme: {
36573
36576
  type: String,
36574
36577
  default: null
36578
+ },
36579
+ persistent: {
36580
+ type: Boolean,
36581
+ default: false
36582
+ }
36583
+ },
36584
+ mounted() {
36585
+ if (window.innerWidth <= 600) {
36586
+ this.mobileAnimateOpen();
36575
36587
  }
36576
36588
  },
36577
36589
  methods: {
36578
- onCloseClick() {
36590
+ mobileAnimateReset() {
36591
+ this.$refs.modalContainer.style.transition = null;
36592
+ this.$refs.modal.style.transition = null;
36593
+ },
36594
+ mobileAnimateOpen() {
36595
+ this.$nextTick(() => {
36596
+ this.$refs.modalContainer.style.transition = 'none';
36597
+ this.$refs.modalContainer.style.backgroundColor = 'transparent';
36598
+ this.$refs.modal.style.transition = 'none';
36599
+ this.$refs.modal.style.marginBottom = `${-this.$refs.modal.offsetHeight}px`;
36600
+ setTimeout(() => {
36601
+ this.$refs.modalContainer.style.transition = 'background-color 0.2s';
36602
+ this.$refs.modalContainer.style.backgroundColor = null;
36603
+ this.$refs.modal.style.transition = 'margin-bottom 0.2s';
36604
+ this.$refs.modal.style.marginBottom = null;
36605
+ setTimeout(() => {
36606
+ this.mobileAnimateReset();
36607
+ }, 200);
36608
+ });
36609
+ });
36610
+ },
36611
+ mobileAnimateClose() {
36612
+ return new Promise(resolve => {
36613
+ this.$refs.modalContainer.style.transition = 'background-color 0.2s';
36614
+ this.$refs.modalContainer.style.backgroundColor = 'transparent';
36615
+ this.$refs.modal.style.transition = 'margin-bottom 0.2s';
36616
+ this.$refs.modal.style.marginBottom = `${-this.$refs.modal.offsetHeight}px`;
36617
+ setTimeout(() => {
36618
+ this.mobileAnimateReset();
36619
+ resolve();
36620
+ }, 200);
36621
+ });
36622
+ },
36623
+ onOutsideCloseClick() {
36624
+ if (this.persistent) {
36625
+ return;
36626
+ }
36627
+ this.onCloseClick();
36628
+ },
36629
+ async onCloseClick() {
36630
+ if (window.innerWidth <= 600) {
36631
+ await this.mobileAnimateClose();
36632
+ }
36579
36633
  this.$emit('close');
36580
36634
  }
36581
36635
  },
@@ -36590,8 +36644,8 @@ var Modalvue_type_template_id_3f8fc3bd_scoped_true_staticRenderFns = []
36590
36644
  });
36591
36645
  // CONCATENATED MODULE: ./src/components/Modal/Modal.vue?vue&type=script&lang=js&
36592
36646
  /* harmony default export */ var Modal_Modalvue_type_script_lang_js_ = (Modalvue_type_script_lang_js_);
36593
- // EXTERNAL MODULE: ./src/components/Modal/Modal.vue?vue&type=style&index=0&id=3f8fc3bd&lang=scss&scoped=true&
36594
- var Modalvue_type_style_index_0_id_3f8fc3bd_lang_scss_scoped_true_ = __webpack_require__("ac9a");
36647
+ // EXTERNAL MODULE: ./src/components/Modal/Modal.vue?vue&type=style&index=0&id=5ebc5326&lang=scss&scoped=true&
36648
+ var Modalvue_type_style_index_0_id_5ebc5326_lang_scss_scoped_true_ = __webpack_require__("f0cf");
36595
36649
 
36596
36650
  // CONCATENATED MODULE: ./src/components/Modal/Modal.vue
36597
36651
 
@@ -36604,11 +36658,11 @@ var Modalvue_type_style_index_0_id_3f8fc3bd_lang_scss_scoped_true_ = __webpack_r
36604
36658
 
36605
36659
  var Modal_component = normalizeComponent(
36606
36660
  Modal_Modalvue_type_script_lang_js_,
36607
- Modalvue_type_template_id_3f8fc3bd_scoped_true_render,
36608
- Modalvue_type_template_id_3f8fc3bd_scoped_true_staticRenderFns,
36661
+ Modalvue_type_template_id_5ebc5326_scoped_true_render,
36662
+ Modalvue_type_template_id_5ebc5326_scoped_true_staticRenderFns,
36609
36663
  false,
36610
36664
  null,
36611
- "3f8fc3bd",
36665
+ "5ebc5326",
36612
36666
  null
36613
36667
 
36614
36668
  )