vue-intergrall-plugins 0.0.148 → 0.0.151

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.
@@ -5603,8 +5603,18 @@ var script$9 = {
5603
5603
  },
5604
5604
  tooltipContent: {
5605
5605
  type: String
5606
+ },
5607
+ resizeCard: {
5608
+ type: Boolean,
5609
+ required: false,
5610
+ default: false
5606
5611
  }
5607
5612
  },
5613
+ data: function data() {
5614
+ return {
5615
+ styleCard: ''
5616
+ };
5617
+ },
5608
5618
  mixins: [textoLongo],
5609
5619
  computed: {
5610
5620
  randomizeValue: function randomizeValue() {
@@ -5644,6 +5654,15 @@ var script$9 = {
5644
5654
  default:
5645
5655
  return "";
5646
5656
  }
5657
+ },
5658
+ resizeHeaderCard: function resizeHeaderCard() {
5659
+ if (this.resizeCard) {
5660
+ this.styleCard = "flex-direction: column;";
5661
+ } else {
5662
+ this.styleCard = "flex-direction: row;";
5663
+ }
5664
+
5665
+ return this.styleCard;
5647
5666
  }
5648
5667
  },
5649
5668
  methods: {
@@ -5682,7 +5701,7 @@ var __vue_render__$9 = function __vue_render__() {
5682
5701
  domProps: {
5683
5702
  "textContent": _vm._s("Nova mensagem")
5684
5703
  }
5685
- }) : _vm._e()]), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"card box-shadow\">", "</div>", [_vm._ssrNode("<div class=\"card-header\">", "</div>", [_vm._ssrNode("<div class=\"card-author\">", "</div>", [_c('fa-icon', {
5704
+ }) : _vm._e()]), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"card box-shadow\">", "</div>", [_vm._ssrNode("<div class=\"card-header\"" + _vm._ssrStyle(null, _vm.resizeHeaderCard, null) + ">", "</div>", [_vm._ssrNode("<div class=\"card-author\">", "</div>", [_c('fa-icon', {
5686
5705
  attrs: {
5687
5706
  "icon": _vm.currentIcon
5688
5707
  }
@@ -5718,7 +5737,7 @@ var __vue_staticRenderFns__$9 = [];
5718
5737
 
5719
5738
  var __vue_inject_styles__$9 = function __vue_inject_styles__(inject) {
5720
5739
  if (!inject) return;
5721
- inject("data-v-5ef2322e_0", {
5740
+ inject("data-v-4be10146_0", {
5722
5741
  source: ".fade-enter-active,.fade-leave-active{transition:opacity .2s}.fade-enter,.fade-leave-to{opacity:0}.card-cli,.card-ope{display:flex;width:95%;margin:5px 0;position:relative}.card-cli.newMessage,.card-ope.newMessage{margin-top:30px}.new-messages{position:absolute;top:-30px;width:100%;display:flex;justify-content:center;align-items:center;margin:2.5px 0;background-color:lighten(#fff249,15)}.card-cli .card{border-left:3px solid #90b823}.card-ope{align-self:flex-end;background-color:lighten(#007535,72)}.card-ope .card{border-right:3px solid #007535}.card{background-color:rgba(255,255,255,.9);overflow:hidden;width:100%;padding:2.5px 5px}.card p{word-break:break-all}.card-header{width:100%;border-bottom:1px solid #ddd;margin-bottom:5px;display:flex;justify-content:space-between}.card-header svg{font-size:1rem}.card-author{display:flex;align-items:center}.card-author svg{margin-right:5px}.card-canal{flex:1;margin-right:10px}.card-dates{display:flex;flex-direction:column;margin-right:10px;font-size:.9rem}.card-date{overflow:hidden;display:flex;align-content:center}.card-date span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.card-date svg{margin-right:5px;color:#232323}.card-expand{display:flex;justify-content:center;align-items:center;margin:2.5px;cursor:pointer;opacity:.8;transition:opacity 150ms}.card-expand:hover{opacity:1}.card-footer{margin-top:5px;border-top:1px solid #ddd;display:flex;flex-wrap:wrap;min-height:25px}.card-chip{font-size:.8rem;width:fit-content;border-radius:15px;transition:all 150ms ease-in-out;padding:2.5px 7px;color:#1f69c1;background-color:rgba(207,216,244,.6);margin-bottom:5px}.card-chip:hover{background-color:#cfd8f4}.card-chip.orange{color:#e14924;background-color:rgba(228,92,58,.15)}.card-chip.orange:hover{background-color:rgba(228,92,58,.2)}.card-chip.yellow{color:#f4a304;background-color:rgba(252,191,73,.15)}.card-chip.yellow:hover{background-color:rgba(252,191,73,.2)}.card-chip.red{color:#e74c3c;background-color:rgba(231,76,60,.2)}.card-chip.red:hover{background-color:rgba(231,76,60,.25)}.card-file{width:60px;height:50px;margin-right:5px;display:flex;justify-content:center;align-items:center}.card-reply{cursor:pointer;position:absolute;right:30px;bottom:5px;font-size:.6rem;color:#67a332;width:.9rem;height:.9rem;display:flex;justify-content:center;align-items:center;border-radius:50%;background-color:#fff}.card-reply svg{margin-top:-1px;margin-right:-1px}.card-check{position:absolute;bottom:5px;right:5px;cursor:pointer;font-size:.7rem}.card-check svg{font-size:.8rem}.card-check.seen,.card-check.seen svg{color:#006daa}.card-check.green,.card-check.green svg{color:#4f772d}.card-check.red,.card-check.red svg{color:#ba181b}.card-check.gray,.card-check.gray svg{color:#999}.card-check.black,.card-check.black svg{color:#666}",
5723
5742
  map: undefined,
5724
5743
  media: undefined
@@ -5730,7 +5749,7 @@ var __vue_inject_styles__$9 = function __vue_inject_styles__(inject) {
5730
5749
  var __vue_scope_id__$9 = undefined;
5731
5750
  /* module identifier */
5732
5751
 
5733
- var __vue_module_identifier__$9 = "data-v-5ef2322e";
5752
+ var __vue_module_identifier__$9 = "data-v-4be10146";
5734
5753
  /* functional template */
5735
5754
 
5736
5755
  var __vue_is_functional_template__$9 = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-intergrall-plugins",
3
- "version": "0.0.148",
3
+ "version": "0.0.151",
4
4
  "description": "",
5
5
  "main": "dist/vue-intergrall-plugins.ssr.js",
6
6
  "browser": "dist/vue-intergrall-plugins.esm.js",
@@ -8,7 +8,7 @@
8
8
  <span v-if="newMessage" class="new-messages" v-text="`Nova mensagem`"></span>
9
9
  </transition>
10
10
  <div class="card box-shadow">
11
- <div class="card-header">
11
+ <div class="card-header" :style="resizeHeaderCard">
12
12
  <div class="card-author">
13
13
  <fa-icon :icon="currentIcon" />
14
14
  <p
@@ -126,6 +126,16 @@ export default {
126
126
  },
127
127
  tooltipContent: {
128
128
  type: String
129
+ },
130
+ resizeCard: {
131
+ type: Boolean,
132
+ required: false,
133
+ default: false
134
+ },
135
+ },
136
+ data(){
137
+ return {
138
+ styleCard: ''
129
139
  }
130
140
  },
131
141
  mixins: [textoLongo],
@@ -163,7 +173,16 @@ export default {
163
173
  default:
164
174
  return ""
165
175
  }
166
- }
176
+ },
177
+ resizeHeaderCard(){
178
+ if(this.resizeCard){
179
+ this.styleCard = "flex-direction: column;"
180
+ }
181
+ else {
182
+ this.styleCard = "flex-direction: row;"
183
+ }
184
+ return this.styleCard
185
+ },
167
186
  },
168
187
  methods: {
169
188
  formataTimezoneData(timezoneData) {