Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/vreg/node_modules/bootstrap-vue/src/components/table/helpers/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //home/corals/vreg/node_modules/bootstrap-vue/src/components/table/helpers/mixin-stacked.js
import { Vue } from '../../../vue'
import { PROP_TYPE_BOOLEAN_STRING } from '../../../constants/props'
import { makeProp } from '../../../utils/props'

// --- Props ---

export const props = {
  stacked: makeProp(PROP_TYPE_BOOLEAN_STRING, false)
}

// --- Mixin ---

// @vue/component
export const stackedMixin = Vue.extend({
  props,
  computed: {
    isStacked() {
      const { stacked } = this
      // `true` when always stacked, or returns breakpoint specified
      return stacked === '' ? true : stacked
    },
    isStackedAlways() {
      return this.isStacked === true
    },
    stackedTableClasses() {
      const { isStackedAlways } = this
      return {
        'b-table-stacked': isStackedAlways,
        [`b-table-stacked-${this.stacked}`]: !isStackedAlways && this.isStacked
      }
    }
  }
})

Spamworldpro Mini