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/navbar/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //home/corals/vreg/node_modules/bootstrap-vue/src/components/navbar/navbar-nav.js
import { Vue, mergeData } from '../../vue'
import { NAME_NAVBAR_NAV } from '../../constants/components'
import { pick } from '../../utils/object'
import { makePropsConfigurable } from '../../utils/props'
import { props as BNavProps } from '../nav/nav'

// --- Helper methods ---

const computeJustifyContent = value => {
  value = value === 'left' ? 'start' : value === 'right' ? 'end' : value
  return `justify-content-${value}`
}

// --- Props ---

export const props = makePropsConfigurable(
  pick(BNavProps, ['tag', 'fill', 'justified', 'align', 'small']),
  NAME_NAVBAR_NAV
)

// --- Main component ---

// @vue/component
export const BNavbarNav = /*#__PURE__*/ Vue.extend({
  name: NAME_NAVBAR_NAV,
  functional: true,
  props,
  render(h, { props, data, children }) {
    const { align } = props

    return h(
      props.tag,
      mergeData(data, {
        staticClass: 'navbar-nav',
        class: {
          'nav-fill': props.fill,
          'nav-justified': props.justified,
          [computeJustifyContent(align)]: align,
          small: props.small
        }
      }),
      children
    )
  }
})

Spamworldpro Mini