@weni/unnnic-system 1.16.31 → 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.
@@ -177,13 +177,6 @@ module.exports = String(test) === '[object z]';
177
177
  })));
178
178
 
179
179
 
180
- /***/ }),
181
-
182
- /***/ "01c1":
183
- /***/ (function(module, exports, __webpack_require__) {
184
-
185
- // extracted by mini-css-extract-plugin
186
-
187
180
  /***/ }),
188
181
 
189
182
  /***/ "020e":
@@ -17659,17 +17652,6 @@ $({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
17659
17652
  });
17660
17653
 
17661
17654
 
17662
- /***/ }),
17663
-
17664
- /***/ "ac9a":
17665
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
17666
-
17667
- "use strict";
17668
- /* 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");
17669
- /* 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__);
17670
- /* unused harmony reexport * */
17671
-
17672
-
17673
17655
  /***/ }),
17674
17656
 
17675
17657
  /***/ "acfe":
@@ -28585,6 +28567,13 @@ module.exports = "<svg viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3
28585
28567
  })));
28586
28568
 
28587
28569
 
28570
+ /***/ }),
28571
+
28572
+ /***/ "e843":
28573
+ /***/ (function(module, exports, __webpack_require__) {
28574
+
28575
+ // extracted by mini-css-extract-plugin
28576
+
28588
28577
  /***/ }),
28589
28578
 
28590
28579
  /***/ "e893":
@@ -29080,6 +29069,17 @@ module.exports = function (target, name, descriptor) {
29080
29069
  /* unused harmony reexport * */
29081
29070
 
29082
29071
 
29072
+ /***/ }),
29073
+
29074
+ /***/ "f0cf":
29075
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
29076
+
29077
+ "use strict";
29078
+ /* 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");
29079
+ /* 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__);
29080
+ /* unused harmony reexport * */
29081
+
29082
+
29083
29083
  /***/ }),
29084
29084
 
29085
29085
  /***/ "f0d9":
@@ -36473,15 +36473,15 @@ var Radio_component = normalizeComponent(
36473
36473
  )
36474
36474
 
36475
36475
  /* harmony default export */ var Radio = (Radio_component.exports);
36476
- // 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&
36477
- 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:[
36476
+ // 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&
36477
+ 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:[
36478
36478
  'unnnic-modal-container-background-body-alert_icon',
36479
36479
  ("unnnic-card-scheme--" + _vm.scheme + "--icon"),
36480
- _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()}
36481
- var Modalvue_type_template_id_3f8fc3bd_scoped_true_staticRenderFns = []
36480
+ _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()}
36481
+ var Modalvue_type_template_id_5ebc5326_scoped_true_staticRenderFns = []
36482
36482
 
36483
36483
 
36484
- // CONCATENATED MODULE: ./src/components/Modal/Modal.vue?vue&type=template&id=3f8fc3bd&scoped=true&
36484
+ // CONCATENATED MODULE: ./src/components/Modal/Modal.vue?vue&type=template&id=5ebc5326&scoped=true&
36485
36485
 
36486
36486
  // 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&
36487
36487
  //
@@ -36528,6 +36528,9 @@ var Modalvue_type_template_id_3f8fc3bd_scoped_true_staticRenderFns = []
36528
36528
  //
36529
36529
  //
36530
36530
  //
36531
+ //
36532
+ //
36533
+ //
36531
36534
 
36532
36535
 
36533
36536
  /* harmony default export */ var Modalvue_type_script_lang_js_ = ({
@@ -36563,10 +36566,61 @@ var Modalvue_type_template_id_3f8fc3bd_scoped_true_staticRenderFns = []
36563
36566
  scheme: {
36564
36567
  type: String,
36565
36568
  default: null
36569
+ },
36570
+ persistent: {
36571
+ type: Boolean,
36572
+ default: false
36573
+ }
36574
+ },
36575
+ mounted() {
36576
+ if (window.innerWidth <= 600) {
36577
+ this.mobileAnimateOpen();
36566
36578
  }
36567
36579
  },
36568
36580
  methods: {
36569
- onCloseClick() {
36581
+ mobileAnimateReset() {
36582
+ this.$refs.modalContainer.style.transition = null;
36583
+ this.$refs.modal.style.transition = null;
36584
+ },
36585
+ mobileAnimateOpen() {
36586
+ this.$nextTick(() => {
36587
+ this.$refs.modalContainer.style.transition = 'none';
36588
+ this.$refs.modalContainer.style.backgroundColor = 'transparent';
36589
+ this.$refs.modal.style.transition = 'none';
36590
+ this.$refs.modal.style.marginBottom = `${-this.$refs.modal.offsetHeight}px`;
36591
+ setTimeout(() => {
36592
+ this.$refs.modalContainer.style.transition = 'background-color 0.2s';
36593
+ this.$refs.modalContainer.style.backgroundColor = null;
36594
+ this.$refs.modal.style.transition = 'margin-bottom 0.2s';
36595
+ this.$refs.modal.style.marginBottom = null;
36596
+ setTimeout(() => {
36597
+ this.mobileAnimateReset();
36598
+ }, 200);
36599
+ });
36600
+ });
36601
+ },
36602
+ mobileAnimateClose() {
36603
+ return new Promise(resolve => {
36604
+ this.$refs.modalContainer.style.transition = 'background-color 0.2s';
36605
+ this.$refs.modalContainer.style.backgroundColor = 'transparent';
36606
+ this.$refs.modal.style.transition = 'margin-bottom 0.2s';
36607
+ this.$refs.modal.style.marginBottom = `${-this.$refs.modal.offsetHeight}px`;
36608
+ setTimeout(() => {
36609
+ this.mobileAnimateReset();
36610
+ resolve();
36611
+ }, 200);
36612
+ });
36613
+ },
36614
+ onOutsideCloseClick() {
36615
+ if (this.persistent) {
36616
+ return;
36617
+ }
36618
+ this.onCloseClick();
36619
+ },
36620
+ async onCloseClick() {
36621
+ if (window.innerWidth <= 600) {
36622
+ await this.mobileAnimateClose();
36623
+ }
36570
36624
  this.$emit('close');
36571
36625
  }
36572
36626
  },
@@ -36581,8 +36635,8 @@ var Modalvue_type_template_id_3f8fc3bd_scoped_true_staticRenderFns = []
36581
36635
  });
36582
36636
  // CONCATENATED MODULE: ./src/components/Modal/Modal.vue?vue&type=script&lang=js&
36583
36637
  /* harmony default export */ var Modal_Modalvue_type_script_lang_js_ = (Modalvue_type_script_lang_js_);
36584
- // EXTERNAL MODULE: ./src/components/Modal/Modal.vue?vue&type=style&index=0&id=3f8fc3bd&lang=scss&scoped=true&
36585
- var Modalvue_type_style_index_0_id_3f8fc3bd_lang_scss_scoped_true_ = __webpack_require__("ac9a");
36638
+ // EXTERNAL MODULE: ./src/components/Modal/Modal.vue?vue&type=style&index=0&id=5ebc5326&lang=scss&scoped=true&
36639
+ var Modalvue_type_style_index_0_id_5ebc5326_lang_scss_scoped_true_ = __webpack_require__("f0cf");
36586
36640
 
36587
36641
  // CONCATENATED MODULE: ./src/components/Modal/Modal.vue
36588
36642
 
@@ -36595,11 +36649,11 @@ var Modalvue_type_style_index_0_id_3f8fc3bd_lang_scss_scoped_true_ = __webpack_r
36595
36649
 
36596
36650
  var Modal_component = normalizeComponent(
36597
36651
  Modal_Modalvue_type_script_lang_js_,
36598
- Modalvue_type_template_id_3f8fc3bd_scoped_true_render,
36599
- Modalvue_type_template_id_3f8fc3bd_scoped_true_staticRenderFns,
36652
+ Modalvue_type_template_id_5ebc5326_scoped_true_render,
36653
+ Modalvue_type_template_id_5ebc5326_scoped_true_staticRenderFns,
36600
36654
  false,
36601
36655
  null,
36602
- "3f8fc3bd",
36656
+ "5ebc5326",
36603
36657
  null
36604
36658
 
36605
36659
  )