GRAYBYTE WORDPRESS FILE MANAGER5453

Server IP : 198.54.121.189 / Your IP : 216.73.216.140
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /lib/node_modules/npm/node_modules/gauge/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /lib/node_modules/npm/node_modules/gauge//plumbing.js
'use strict'
var consoleControl = require('console-control-strings')
var renderTemplate = require('./render-template.js')
var validate = require('aproba')

var Plumbing = module.exports = function (theme, template, width) {
  if (!width) width = 80
  validate('OAN', [theme, template, width])
  this.showing = false
  this.theme = theme
  this.width = width
  this.template = template
}
Plumbing.prototype = {}

Plumbing.prototype.setTheme = function (theme) {
  validate('O', [theme])
  this.theme = theme
}

Plumbing.prototype.setTemplate = function (template) {
  validate('A', [template])
  this.template = template
}

Plumbing.prototype.setWidth = function (width) {
  validate('N', [width])
  this.width = width
}

Plumbing.prototype.hide = function () {
  return consoleControl.gotoSOL() + consoleControl.eraseLine()
}

Plumbing.prototype.hideCursor = consoleControl.hideCursor

Plumbing.prototype.showCursor = consoleControl.showCursor

Plumbing.prototype.show = function (status) {
  var values = Object.create(this.theme)
  for (var key in status) {
    values[key] = status[key]
  }

  return renderTemplate(this.width, this.template, values).trim() +
         consoleControl.color('reset') +
         consoleControl.eraseLine() + consoleControl.gotoSOL()
}

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
March 03 2024 22:36:29
root / root
0755
node_modules
--
March 03 2024 22:36:28
root / root
0755
CHANGELOG.md
6.227 KB
March 10 2021 14:36:39
root / root
0644
LICENSE
0.733 KB
March 10 2021 14:36:39
root / root
0644
README.md
14.72 KB
March 10 2021 14:36:39
root / root
0644
base-theme.js
0.386 KB
March 10 2021 14:36:39
root / root
0644
error.js
0.602 KB
March 10 2021 14:36:39
root / root
0644
has-color.js
0.285 KB
March 10 2021 14:36:39
root / root
0644
index.js
6.835 KB
March 10 2021 14:36:39
root / root
0644
package.json
2.13 KB
March 10 2021 14:36:39
root / root
0644
plumbing.js
1.239 KB
March 10 2021 14:36:39
root / root
0644
process.js
0.087 KB
March 10 2021 14:36:39
root / root
0644
progress-bar.js
0.975 KB
March 10 2021 14:36:39
root / root
0644
render-template.js
5.604 KB
March 10 2021 14:36:39
root / root
0644
set-immediate.js
0.136 KB
March 10 2021 14:36:39
root / root
0644
set-interval.js
0.091 KB
March 10 2021 14:36:39
root / root
0644
spin.js
0.103 KB
March 10 2021 14:36:39
root / root
0644
template-item.js
1.859 KB
March 10 2021 14:36:39
root / root
0644
theme-set.js
3.606 KB
March 10 2021 14:36:39
root / root
0644
themes.js
1.507 KB
March 10 2021 14:36:39
root / root
0644
wide-truncate.js
0.809 KB
March 10 2021 14:36:39
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF