[
  {
    "path": ".babelrc",
    "content": "{\n  \"presets\": [\n//    [\n//      \"env\",\n//      {\n//        \"modules\": false\n//      }\n//    ],\n    \"stage-2\"\n  ]\n}"
  },
  {
    "path": ".eslintrc.js",
    "content": "// https://eslint.org/docs/user-guide/configuring\n\nmodule.exports = {\n  root: true,\n  parserOptions: {\n    parser: 'babel-eslint'\n  },\n  env: {\n    browser: true,\n  },\n  extends: [\n    // https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention\n    // consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules.\n    'plugin:vue/essential', \n    // https://github.com/standard/standard/blob/master/docs/RULES-en.md\n    'standard'\n  ],\n  // required to lint *.vue files\n  plugins: [\n    'vue'\n  ],\n  // add your custom rules here\n  rules: {\n    // allow async-await\n    'generator-star-spacing': 'off',\n    // allow debugger during development\n    'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'\n  }\n}\n"
  },
  {
    "path": ".gitignore",
    "content": "# MacOS\n.DS_Store\n\n# Thumbnails\n._*\n\n# Files that might appear in the root of a volume\n.DocumentRevisions-V100\n.fseventsd\n.Spotlight-V100\n.TemporaryItems\n.Trashes\n.VolumeIcon.icns\n.com.apple.timemachine.donotpresent\n\n# Directories potentially created on remote AFP share\n.AppleDB\n.AppleDesktop\nNetwork Trash Folder\nTemporary Items\n.apdisk\n\n# Windows thumbnail cache files\nThumbs.db\n\n# Folder config file\nDesktop.ini\n\n# Recycle Bin used on file shares\n$RECYCLE.BIN/\n\n# IntellijIDEA\n*.iml\n*.iws\n*.ipr\n.idea/\n\n# VSCode\n.vscode/*\n.history\n\n# npm\nnode_modules/\n\n\nyarn-error\\.log\n\ndist/\n"
  },
  {
    "path": "AUTHORS.md",
    "content": "Rob Dunham <devnilpo@gmail.com>\n"
  },
  {
    "path": "CONTRIBUTING.md",
    "content": "# Contributing to tabler-vue\n\nPlease take a moment to review this document in order to make the contribution\nprocess easy and effective for everyone involved. You should also have an\nunderstanding of the [Github Flow](https://guides.github.com/introduction/flow/).\n\nFollowing these guidelines helps to communicate that you respect the time of\nthe developers managing and developing this open source project. In return,\nthey should reciprocate that respect in addressing your issue or assessing\npatches and features.\n\n\n## Using the issue tracker\n\nThe [issue tracker](https://github.com/tabler/tabler-vue) is the preferred\nchannel for [bug reports](#bugs), [features requests](#features) and\n[submitting pull requests](#pull-requests), but please respect the following\nrestrictions:\n\n* Please **do not** use the issue tracker for personal support requests (use\n  [StackOverflow](https://stackoverflow.com/).\n\n* Please **do not** derail or troll issues. Keep the discussion on topic and\n  respect the opinions of others.\n\n\n<a name=\"bugs\"></a>\n## Bug reports\n\nA bug is a _demonstrable problem_ that is caused by the code in the repository.\nGood bug reports are extremely helpful - thank you!\n\nGuidelines for bug reports:\n\n1. **Use the GitHub issue search** &mdash; check if the issue has already been\n   reported.\n\n2. **Check if the issue has been fixed** &mdash; try to reproduce it using the\n   latest `master` or development branch in the repository.\n\n3. **Isolate the problem** &mdash; ideally create a [reduced test\n   case](https://css-tricks.com/reduced-test-cases/) and a live example.\n\nA good bug report shouldn't leave others needing to chase you up for more\ninformation. Please try to be as detailed as possible in your report. What is\nyour environment? What steps will reproduce the issue? What browser(s) and OS\nexperience the problem? What would you expect to be the outcome? All these\ndetails will help people to fix any potential bugs.\n\nExample:\n\n> Short and descriptive example bug report title\n>\n> A summary of the issue and the browser/OS environment in which it occurs. If\n> suitable, include the steps required to reproduce the bug.\n>\n> 1. This is the first step\n> 2. This is the second step\n> 3. Further steps, etc.\n>\n> `<url>` - a link to the reduced test case\n>\n> Any other information you want to share that is relevant to the issue being\n> reported. This might include the lines of code that you have identified as\n> causing the bug, and potential solutions (and your opinions on their\n> merits).\n\n\n<a name=\"features\"></a>\n## Feature requests\n\nFeature requests are welcome. But take a moment to find out whether your idea\nfits with the scope and aims of the project. It's up to *you* to make a strong\ncase to convince the project's developers of the merits of this feature. Please\nprovide as much detail and context as possible.\n\n\n<a name=\"pull-requests\"></a>\n## Pull requests\n\nGood pull requests - patches, improvements, new features - are a fantastic\nhelp. They should remain focused in scope and avoid containing unrelated\ncommits.\n\n**Please ask first** before embarking on any significant pull request (e.g.\nimplementing features, refactoring code, integrating a build system),\notherwise you risk spending a lot of time working on something that the\nproject's developers might not want to merge into the project.\n\nPlease adhere to the coding conventions used throughout a project (indentation,\naccurate comments, etc.) and any other requirements.\n\nAdhering to the following process is the best way to get your work\nincluded in the project:\n\n1. [Fork](https://help.github.com/articles/fork-a-repo/) the project, clone your\n   fork, and configure the remotes:\n\n   ```bash\n   # Clone your fork of the repo into the current directory\n   git clone https://github.com/<your-username>/tabler-vue.git\n   # Navigate to the newly cloned directory\n   cd tabler-vue\n   # Assign the original repo to a remote called \"upstream\"\n   git remote add upstream https://github.com/tabler/tabler-vue.git\n   ```\n\n2. If you cloned a while ago, get the latest changes from upstream:\n\n   ```bash\n   git checkout master\n   git pull upstream master\n   ```\n\n3. Create a new topic branch (off the main project development branch) to\n   contain your feature, change, or fix:\n\n   ```bash\n   git checkout -b <topic-branch-name>\n   ```\n\n4. Commit your changes in logical chunks. Please adhere to these [git commit\n   message guidelines](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html)\n   or your code is unlikely be merged into the main project. Use Git's\n   [interactive rebase](https://help.github.com/articles/about-git-rebase/)\n   feature to tidy up your commits before making them public. It's best to squash\n   down to the smallest number of commits that is reasonably possible.\n\n5. Locally merge (or rebase) the upstream development branch into your topic branch:\n\n   ```bash\n   git pull [--rebase] upstream master\n   ```\n\n6. Push your topic branch up to your fork:\n\n   ```bash\n   git push origin <topic-branch-name>\n   ```\n\n7. [Open a Pull Request](https://help.github.com/articles/using-pull-requests/)\n    with a clear title and description.\n\n**IMPORTANT**: By submitting a patch, you agree to allow the project\nowners to license your work under the terms of the [MIT License](LICENSE)."
  },
  {
    "path": "LICENSE",
    "content": "The MIT License (MIT)\n\nCopyright (c) 2018 Rob Dunham\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE."
  },
  {
    "path": "README.md",
    "content": "# tabler-vue\n\n*tabler-vue* is a collection of Vue.js components for implementing Tabler themed elements\nin your project. [Tabler](https://tabler.github.io) is a free and open-source\nHTML Dashboard UI Kit built on Bootstrap 4.\n\n## Installation\n\nTODO: Describe the installation process\n\n## Usage\n\nTODO: Write usage instructions\n\n## Contributing\nContributions are welcome. See [CONTRIBUTING.md](CONTRIBUTING.md).\n\nThe package is made up of 2 main folders:\n- /src\n- /example is a [vue-cli webpack](https://github.com/vuejs/vue-cli) based demo website\n\nTo setup and run a local copy:\n1. Clone this repo with `git clone https://github.com/tabler/tabler-vue.git`\n2. Run `yarn install` in root folder\n3. Run `yarn dev`\n\nYou should now be up and running with live browser reloading of the example website while you work\non Tabler Vue components in the /src folder.\n\nWhen you're done working on your changes, submit a PR with the details and include a \nscreenshot if you've changed anything visually.\n\n## History\n\nTODO: Write history\n\n## Credits\n\nTODO: Write credits\n\n## License\n\nReleased under the MIT License. See [LICENSE](LICENSE)\n"
  },
  {
    "path": "example/.babelrc",
    "content": "{\n  \"presets\": [\n    [\"env\", {\n      \"modules\": false,\n      \"targets\": {\n        \"browsers\": [\"> 1%\", \"last 2 versions\", \"not ie <= 8\"]\n      }\n    }],\n    \"stage-2\"\n  ],\n  \"plugins\": [\"transform-vue-jsx\", \"transform-runtime\"]\n}\n"
  },
  {
    "path": "example/.editorconfig",
    "content": "root = true\n\n[*]\ncharset = utf-8\nindent_style = space\nindent_size = 2\nend_of_line = lf\ninsert_final_newline = true\ntrim_trailing_whitespace = true\n"
  },
  {
    "path": "example/.eslintignore",
    "content": "/build/\n/config/\n/dist/\n/*.js\n"
  },
  {
    "path": "example/.gitignore",
    "content": ".DS_Store\nnode_modules/\n/dist/\nnpm-debug.log*\nyarn-debug.log*\nyarn-error.log*\n\n# Editor directories and files\n.idea\n.vscode\n*.suo\n*.ntvs*\n*.njsproj\n*.sln\n"
  },
  {
    "path": "example/.postcssrc.js",
    "content": "// https://github.com/michael-ciniawsky/postcss-load-config\n\nmodule.exports = {\n  \"plugins\": {\n    \"postcss-import\": {},\n    \"postcss-url\": {},\n    // to edit target browsers: use \"browserslist\" field in package.json\n    \"autoprefixer\": {}\n  }\n}\n"
  },
  {
    "path": "example/README.md",
    "content": "# tabler-vue-example\n\n>  \n\n## Build Setup\n\n``` bash\n# install dependencies\nnpm install\n\n# serve with hot reload at localhost:8080\nnpm run dev\n\n# build for production with minification\nnpm run build\n\n# build for production and view the bundle analyzer report\nnpm run build --report\n```\n\nFor a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).\n"
  },
  {
    "path": "example/build/build.js",
    "content": "'use strict'\nrequire('./check-versions')()\n\nprocess.env.NODE_ENV = 'production'\n\nconst ora = require('ora')\nconst rm = require('rimraf')\nconst path = require('path')\nconst chalk = require('chalk')\nconst webpack = require('webpack')\nconst config = require('../config')\nconst webpackConfig = require('./webpack.prod.conf')\n\nconst spinner = ora('building for production...')\nspinner.start()\n\nrm(path.join(config.build.assetsRoot, config.build.assetsSubDirectory), err => {\n  if (err) throw err\n  webpack(webpackConfig, (err, stats) => {\n    spinner.stop()\n    if (err) throw err\n    process.stdout.write(stats.toString({\n      colors: true,\n      modules: false,\n      children: false, // If you are using ts-loader, setting this to true will make TypeScript errors show up during build.\n      chunks: false,\n      chunkModules: false\n    }) + '\\n\\n')\n\n    if (stats.hasErrors()) {\n      console.log(chalk.red('  Build failed with errors.\\n'))\n      process.exit(1)\n    }\n\n    console.log(chalk.cyan('  Build complete.\\n'))\n    console.log(chalk.yellow(\n      '  Tip: built files are meant to be served over an HTTP server.\\n' +\n      '  Opening index.html over file:// won\\'t work.\\n'\n    ))\n  })\n})\n"
  },
  {
    "path": "example/build/check-versions.js",
    "content": "'use strict'\nconst chalk = require('chalk')\nconst semver = require('semver')\nconst packageConfig = require('../package.json')\nconst shell = require('shelljs')\n\nfunction exec (cmd) {\n  return require('child_process').execSync(cmd).toString().trim()\n}\n\nconst versionRequirements = [\n  {\n    name: 'node',\n    currentVersion: semver.clean(process.version),\n    versionRequirement: packageConfig.engines.node\n  }\n]\n\nif (shell.which('npm')) {\n  versionRequirements.push({\n    name: 'npm',\n    currentVersion: exec('npm --version'),\n    versionRequirement: packageConfig.engines.npm\n  })\n}\n\nmodule.exports = function () {\n  const warnings = []\n\n  for (let i = 0; i < versionRequirements.length; i++) {\n    const mod = versionRequirements[i]\n\n    if (!semver.satisfies(mod.currentVersion, mod.versionRequirement)) {\n      warnings.push(mod.name + ': ' +\n        chalk.red(mod.currentVersion) + ' should be ' +\n        chalk.green(mod.versionRequirement)\n      )\n    }\n  }\n\n  if (warnings.length) {\n    console.log('')\n    console.log(chalk.yellow('To use this template, you must update following to modules:'))\n    console.log()\n\n    for (let i = 0; i < warnings.length; i++) {\n      const warning = warnings[i]\n      console.log('  ' + warning)\n    }\n\n    console.log()\n    process.exit(1)\n  }\n}\n"
  },
  {
    "path": "example/build/utils.js",
    "content": "'use strict'\nconst path = require('path')\nconst config = require('../config')\nconst ExtractTextPlugin = require('extract-text-webpack-plugin')\nconst packageConfig = require('../package.json')\n\nexports.assetsPath = function (_path) {\n  const assetsSubDirectory = process.env.NODE_ENV === 'production'\n    ? config.build.assetsSubDirectory\n    : config.dev.assetsSubDirectory\n\n  return path.posix.join(assetsSubDirectory, _path)\n}\n\nexports.cssLoaders = function (options) {\n  options = options || {}\n\n  const cssLoader = {\n    loader: 'css-loader',\n    options: {\n      sourceMap: options.sourceMap\n    }\n  }\n\n  const postcssLoader = {\n    loader: 'postcss-loader',\n    options: {\n      sourceMap: options.sourceMap\n    }\n  }\n\n  // generate loader string to be used with extract text plugin\n  function generateLoaders (loader, loaderOptions) {\n    const loaders = options.usePostCSS ? [cssLoader, postcssLoader] : [cssLoader]\n\n    if (loader) {\n      loaders.push({\n        loader: loader + '-loader',\n        options: Object.assign({}, loaderOptions, {\n          sourceMap: options.sourceMap\n        })\n      })\n    }\n\n    // Extract CSS when that option is specified\n    // (which is the case during production build)\n    if (options.extract) {\n      return ExtractTextPlugin.extract({\n        use: loaders,\n        fallback: 'vue-style-loader'\n      })\n    } else {\n      return ['vue-style-loader'].concat(loaders)\n    }\n  }\n\n  // https://vue-loader.vuejs.org/en/configurations/extract-css.html\n  return {\n    css: generateLoaders(),\n    postcss: generateLoaders(),\n    less: generateLoaders('less'),\n    sass: generateLoaders('sass', { indentedSyntax: true }),\n    scss: generateLoaders('sass'),\n    stylus: generateLoaders('stylus'),\n    styl: generateLoaders('stylus')\n  }\n}\n\n// Generate loaders for standalone style files (outside of .vue)\nexports.styleLoaders = function (options) {\n  const output = []\n  const loaders = exports.cssLoaders(options)\n\n  for (const extension in loaders) {\n    const loader = loaders[extension]\n    output.push({\n      test: new RegExp('\\\\.' + extension + '$'),\n      use: loader\n    })\n  }\n\n  return output\n}\n\nexports.createNotifierCallback = () => {\n  const notifier = require('node-notifier')\n\n  return (severity, errors) => {\n    if (severity !== 'error') return\n\n    const error = errors[0]\n    const filename = error.file && error.file.split('!').pop()\n\n    notifier.notify({\n      title: packageConfig.name,\n      message: severity + ': ' + error.name,\n      subtitle: filename || '',\n      icon: path.join(__dirname, 'logo.png')\n    })\n  }\n}\n"
  },
  {
    "path": "example/build/vue-loader.conf.js",
    "content": "'use strict'\nconst utils = require('./utils')\nconst config = require('../config')\nconst isProduction = process.env.NODE_ENV === 'production'\nconst sourceMapEnabled = isProduction\n  ? config.build.productionSourceMap\n  : config.dev.cssSourceMap\n\nmodule.exports = {\n  loaders: utils.cssLoaders({\n    sourceMap: sourceMapEnabled,\n    extract: isProduction\n  }),\n  cssSourceMap: sourceMapEnabled,\n  cacheBusting: config.dev.cacheBusting,\n  transformToRequire: {\n    video: ['src', 'poster'],\n    source: 'src',\n    img: 'src',\n    image: 'xlink:href'\n  }\n}\n"
  },
  {
    "path": "example/build/webpack.base.conf.js",
    "content": "'use strict'\nconst path = require('path')\nconst utils = require('./utils')\nconst config = require('../config')\nconst vueLoaderConfig = require('./vue-loader.conf')\n\nfunction resolve (dir) {\n  return path.join(__dirname, '..', dir)\n}\n\nconst createLintingRule = () => ({\n  test: /\\.(js|vue)$/,\n  loader: 'eslint-loader',\n  enforce: 'pre',\n  include: [resolve('src'), resolve('test')],\n  options: {\n    formatter: require('eslint-friendly-formatter'),\n    emitWarning: !config.dev.showEslintErrorsInOverlay\n  }\n})\n\nmodule.exports = {\n  context: path.resolve(__dirname, '../'),\n  entry: {\n    app: './src/main.js'\n  },\n  output: {\n    path: config.build.assetsRoot,\n    filename: '[name].js',\n    publicPath: process.env.NODE_ENV === 'production'\n      ? config.build.assetsPublicPath\n      : config.dev.assetsPublicPath\n  },\n  resolve: {\n    extensions: ['.js', '.vue', '.json'],\n    alias: {\n      'vue$': 'vue/dist/vue.esm.js',\n      '@': resolve('src'),\n    }\n  },\n  module: {\n    rules: [\n      ...(config.dev.useEslint ? [createLintingRule()] : []),\n      {\n        test: /\\.vue$/,\n        loader: 'vue-loader',\n        options: vueLoaderConfig\n      },\n      {\n        test: /\\.js$/,\n        loader: 'babel-loader',\n        include: [resolve('src'), resolve('test'), resolve('node_modules/webpack-dev-server/client')]\n      },\n      {\n        test: /\\.(png|jpe?g|gif|svg)(\\?.*)?$/,\n        loader: 'url-loader',\n        options: {\n          limit: 10000,\n          name: utils.assetsPath('img/[name].[hash:7].[ext]')\n        }\n      },\n      {\n        test: /\\.(mp4|webm|ogg|mp3|wav|flac|aac)(\\?.*)?$/,\n        loader: 'url-loader',\n        options: {\n          limit: 10000,\n          name: utils.assetsPath('media/[name].[hash:7].[ext]')\n        }\n      },\n      {\n        test: /\\.(woff2?|eot|ttf|otf)(\\?.*)?$/,\n        loader: 'url-loader',\n        options: {\n          limit: 10000,\n          name: utils.assetsPath('fonts/[name].[hash:7].[ext]')\n        }\n      }\n    ]\n  },\n  node: {\n    // prevent webpack from injecting useless setImmediate polyfill because Vue\n    // source contains it (although only uses it if it's native).\n    setImmediate: false,\n    // prevent webpack from injecting mocks to Node native modules\n    // that does not make sense for the client\n    dgram: 'empty',\n    fs: 'empty',\n    net: 'empty',\n    tls: 'empty',\n    child_process: 'empty'\n  }\n}\n"
  },
  {
    "path": "example/build/webpack.dev.conf.js",
    "content": "'use strict'\nconst utils = require('./utils')\nconst webpack = require('webpack')\nconst config = require('../config')\nconst merge = require('webpack-merge')\nconst path = require('path')\nconst baseWebpackConfig = require('./webpack.base.conf')\nconst CopyWebpackPlugin = require('copy-webpack-plugin')\nconst HtmlWebpackPlugin = require('html-webpack-plugin')\nconst FriendlyErrorsPlugin = require('friendly-errors-webpack-plugin')\nconst portfinder = require('portfinder')\n\nconst HOST = process.env.HOST\nconst PORT = process.env.PORT && Number(process.env.PORT)\n\nconst devWebpackConfig = merge(baseWebpackConfig, {\n  module: {\n    rules: utils.styleLoaders({ sourceMap: config.dev.cssSourceMap, usePostCSS: true })\n  },\n  // cheap-module-eval-source-map is faster for development\n  devtool: config.dev.devtool,\n\n  // these devServer options should be customized in /config/index.js\n  devServer: {\n    clientLogLevel: 'warning',\n    historyApiFallback: {\n      rewrites: [\n        { from: /.*/, to: path.posix.join(config.dev.assetsPublicPath, 'index.html') },\n      ],\n    },\n    hot: true,\n    contentBase: false, // since we use CopyWebpackPlugin.\n    compress: true,\n    host: HOST || config.dev.host,\n    port: PORT || config.dev.port,\n    open: config.dev.autoOpenBrowser,\n    overlay: config.dev.errorOverlay\n      ? { warnings: false, errors: true }\n      : false,\n    publicPath: config.dev.assetsPublicPath,\n    proxy: config.dev.proxyTable,\n    quiet: true, // necessary for FriendlyErrorsPlugin\n    watchOptions: {\n      poll: config.dev.poll,\n    }\n  },\n  plugins: [\n    new webpack.DefinePlugin({\n      'process.env': require('../config/dev.env')\n    }),\n    new webpack.HotModuleReplacementPlugin(),\n    new webpack.NamedModulesPlugin(), // HMR shows correct file names in console on update.\n    new webpack.NoEmitOnErrorsPlugin(),\n    // https://github.com/ampedandwired/html-webpack-plugin\n    new HtmlWebpackPlugin({\n      filename: 'index.html',\n      template: 'index.html',\n      inject: true\n    }),\n    // copy custom static assets\n    new CopyWebpackPlugin([\n      {\n        from: path.resolve(__dirname, '../static'),\n        to: config.dev.assetsSubDirectory,\n        ignore: ['.*']\n      }\n    ])\n  ]\n})\n\nmodule.exports = new Promise((resolve, reject) => {\n  portfinder.basePort = process.env.PORT || config.dev.port\n  portfinder.getPort((err, port) => {\n    if (err) {\n      reject(err)\n    } else {\n      // publish the new Port, necessary for e2e tests\n      process.env.PORT = port\n      // add port to devServer config\n      devWebpackConfig.devServer.port = port\n\n      // Add FriendlyErrorsPlugin\n      devWebpackConfig.plugins.push(new FriendlyErrorsPlugin({\n        compilationSuccessInfo: {\n          messages: [`Your application is running here: http://${devWebpackConfig.devServer.host}:${port}`],\n        },\n        onErrors: config.dev.notifyOnErrors\n        ? utils.createNotifierCallback()\n        : undefined\n      }))\n\n      resolve(devWebpackConfig)\n    }\n  })\n})\n"
  },
  {
    "path": "example/build/webpack.prod.conf.js",
    "content": "'use strict'\nconst path = require('path')\nconst utils = require('./utils')\nconst webpack = require('webpack')\nconst config = require('../config')\nconst merge = require('webpack-merge')\nconst baseWebpackConfig = require('./webpack.base.conf')\nconst CopyWebpackPlugin = require('copy-webpack-plugin')\nconst HtmlWebpackPlugin = require('html-webpack-plugin')\nconst ExtractTextPlugin = require('extract-text-webpack-plugin')\nconst OptimizeCSSPlugin = require('optimize-css-assets-webpack-plugin')\nconst UglifyJsPlugin = require('uglifyjs-webpack-plugin')\n\nconst env = require('../config/prod.env')\n\nconst webpackConfig = merge(baseWebpackConfig, {\n  module: {\n    rules: utils.styleLoaders({\n      sourceMap: config.build.productionSourceMap,\n      extract: true,\n      usePostCSS: true\n    })\n  },\n  devtool: config.build.productionSourceMap ? config.build.devtool : false,\n  output: {\n    path: config.build.assetsRoot,\n    filename: utils.assetsPath('js/[name].[chunkhash].js'),\n    chunkFilename: utils.assetsPath('js/[id].[chunkhash].js')\n  },\n  plugins: [\n    // http://vuejs.github.io/vue-loader/en/workflow/production.html\n    new webpack.DefinePlugin({\n      'process.env': env\n    }),\n    new UglifyJsPlugin({\n      uglifyOptions: {\n        compress: {\n          warnings: false\n        }\n      },\n      sourceMap: config.build.productionSourceMap,\n      parallel: true\n    }),\n    // extract css into its own file\n    new ExtractTextPlugin({\n      filename: utils.assetsPath('css/[name].[contenthash].css'),\n      // Setting the following option to `false` will not extract CSS from codesplit chunks.\n      // Their CSS will instead be inserted dynamically with style-loader when the codesplit chunk has been loaded by webpack.\n      // It's currently set to `true` because we are seeing that sourcemaps are included in the codesplit bundle as well when it's `false`, \n      // increasing file size: https://github.com/vuejs-templates/webpack/issues/1110\n      allChunks: true,\n    }),\n    // Compress extracted CSS. We are using this plugin so that possible\n    // duplicated CSS from different components can be deduped.\n    new OptimizeCSSPlugin({\n      cssProcessorOptions: config.build.productionSourceMap\n        ? { safe: true, map: { inline: false } }\n        : { safe: true }\n    }),\n    // generate dist index.html with correct asset hash for caching.\n    // you can customize output by editing /index.html\n    // see https://github.com/ampedandwired/html-webpack-plugin\n    new HtmlWebpackPlugin({\n      filename: config.build.index,\n      template: 'index.html',\n      inject: true,\n      minify: {\n        removeComments: true,\n        collapseWhitespace: true,\n        removeAttributeQuotes: true\n        // more options:\n        // https://github.com/kangax/html-minifier#options-quick-reference\n      },\n      // necessary to consistently work with multiple chunks via CommonsChunkPlugin\n      chunksSortMode: 'dependency'\n    }),\n    // keep module.id stable when vendor modules does not change\n    new webpack.HashedModuleIdsPlugin(),\n    // enable scope hoisting\n    new webpack.optimize.ModuleConcatenationPlugin(),\n    // split vendor js into its own file\n    new webpack.optimize.CommonsChunkPlugin({\n      name: 'vendor',\n      minChunks (module) {\n        // any required modules inside node_modules are extracted to vendor\n        return (\n          module.resource &&\n          /\\.js$/.test(module.resource) &&\n          module.resource.indexOf(\n            path.join(__dirname, '../node_modules')\n          ) === 0\n        )\n      }\n    }),\n    // extract webpack runtime and module manifest to its own file in order to\n    // prevent vendor hash from being updated whenever app bundle is updated\n    new webpack.optimize.CommonsChunkPlugin({\n      name: 'manifest',\n      minChunks: Infinity\n    }),\n    // This instance extracts shared chunks from code splitted chunks and bundles them\n    // in a separate chunk, similar to the vendor chunk\n    // see: https://webpack.js.org/plugins/commons-chunk-plugin/#extra-async-commons-chunk\n    new webpack.optimize.CommonsChunkPlugin({\n      name: 'app',\n      async: 'vendor-async',\n      children: true,\n      minChunks: 3\n    }),\n\n    // copy custom static assets\n    new CopyWebpackPlugin([\n      {\n        from: path.resolve(__dirname, '../static'),\n        to: config.build.assetsSubDirectory,\n        ignore: ['.*']\n      }\n    ])\n  ]\n})\n\nif (config.build.productionGzip) {\n  const CompressionWebpackPlugin = require('compression-webpack-plugin')\n\n  webpackConfig.plugins.push(\n    new CompressionWebpackPlugin({\n      asset: '[path].gz[query]',\n      algorithm: 'gzip',\n      test: new RegExp(\n        '\\\\.(' +\n        config.build.productionGzipExtensions.join('|') +\n        ')$'\n      ),\n      threshold: 10240,\n      minRatio: 0.8\n    })\n  )\n}\n\nif (config.build.bundleAnalyzerReport) {\n  const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin\n  webpackConfig.plugins.push(new BundleAnalyzerPlugin())\n}\n\nmodule.exports = webpackConfig\n"
  },
  {
    "path": "example/config/dev.env.js",
    "content": "'use strict'\nconst merge = require('webpack-merge')\nconst prodEnv = require('./prod.env')\n\nmodule.exports = merge(prodEnv, {\n  NODE_ENV: '\"development\"'\n})\n"
  },
  {
    "path": "example/config/index.js",
    "content": "'use strict'\n// Template version: 1.3.1\n// see http://vuejs-templates.github.io/webpack for documentation.\n\nconst path = require('path')\n\nmodule.exports = {\n  dev: {\n\n    // Paths\n    assetsSubDirectory: 'static',\n    assetsPublicPath: '/',\n    proxyTable: {},\n\n    // Various Dev Server settings\n    host: 'localhost', // can be overwritten by process.env.HOST\n    port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined\n    autoOpenBrowser: false,\n    errorOverlay: true,\n    notifyOnErrors: true,\n    poll: false, // https://webpack.js.org/configuration/dev-server/#devserver-watchoptions-\n\n    // Use Eslint Loader?\n    // If true, your code will be linted during bundling and\n    // linting errors and warnings will be shown in the console.\n    useEslint: false,\n    // If true, eslint errors and warnings will also be shown in the error overlay\n    // in the browser.\n    showEslintErrorsInOverlay: false,\n\n    /**\n     * Source Maps\n     */\n\n    // https://webpack.js.org/configuration/devtool/#development\n    devtool: 'cheap-module-eval-source-map',\n\n    // If you have problems debugging vue-files in devtools,\n    // set this to false - it *may* help\n    // https://vue-loader.vuejs.org/en/options.html#cachebusting\n    cacheBusting: true,\n\n    cssSourceMap: true\n  },\n\n  build: {\n    // Template for index.html\n    index: path.resolve(__dirname, '../dist/index.html'),\n\n    // Paths\n    assetsRoot: path.resolve(__dirname, '../dist'),\n    assetsSubDirectory: 'static',\n    assetsPublicPath: '/',\n\n    /**\n     * Source Maps\n     */\n\n    productionSourceMap: true,\n    // https://webpack.js.org/configuration/devtool/#production\n    devtool: '#source-map',\n\n    // Gzip off by default as many popular static hosts such as\n    // Surge or Netlify already gzip all static assets for you.\n    // Before setting to `true`, make sure to:\n    // npm install --save-dev compression-webpack-plugin\n    productionGzip: false,\n    productionGzipExtensions: ['js', 'css'],\n\n    // Run the build command with an extra argument to\n    // View the bundle analyzer report after build finishes:\n    // `npm run build --report`\n    // Set to `true` or `false` to always turn it on or off\n    bundleAnalyzerReport: process.env.npm_config_report\n  }\n}\n"
  },
  {
    "path": "example/config/prod.env.js",
    "content": "'use strict'\nmodule.exports = {\n  NODE_ENV: '\"production\"'\n}\n"
  },
  {
    "path": "example/index.html",
    "content": "<!DOCTYPE html>\n<html>\n  <head>\n    <meta charset=\"utf-8\">\n    <meta name=\"viewport\" content=\"width=device-width,initial-scale=1,shrink-to-fit=no\">\n    <meta name=\"theme-color\" content=\"#000000\">\n    <link rel=\"stylesheet\" href=\"https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css\">\n    <link rel=\"stylesheet\"\n          href=\"https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300i,400,400i,500,500i,600,600i,700,700i&amp;subset=latin-ext\">\n    <title>tabler-vue</title>\n  </head>\n  <body>\n    <noscript>You need to enable JavaScript to run this app.</noscript>\n    <div id=\"app\"></div>\n    <!-- built files will be auto injected -->\n  </body>\n</html>\n"
  },
  {
    "path": "example/package.json",
    "content": "{\n  \"name\": \"tabler-vue-example\",\n  \"version\": \"1.0.0\",\n  \"description\": \" \",\n  \"author\": \"Ivan Vilanculo <vilanculoivan@gmail.com>\",\n  \"private\": true,\n  \"scripts\": {\n    \"dev\": \"webpack-dev-server --inline --progress --config build/webpack.dev.conf.js\",\n    \"start\": \"npm run dev\",\n    \"lint\": \"eslint --ext .js,.vue src\",\n    \"build\": \"node build/build.js\"\n  },\n  \"dependencies\": {\n    \"vue\": \"^2.5.2\",\n    \"vue-router\": \"^3.0.1\"\n  },\n  \"devDependencies\": {\n    \"autoprefixer\": \"^7.1.2\",\n    \"babel-core\": \"^6.22.1\",\n    \"babel-eslint\": \"^8.2.1\",\n    \"babel-helper-vue-jsx-merge-props\": \"^2.0.3\",\n    \"babel-loader\": \"^7.1.1\",\n    \"babel-plugin-syntax-jsx\": \"^6.18.0\",\n    \"babel-plugin-transform-runtime\": \"^6.22.0\",\n    \"babel-plugin-transform-vue-jsx\": \"^3.5.0\",\n    \"babel-preset-env\": \"^1.3.2\",\n    \"babel-preset-stage-2\": \"^6.22.0\",\n    \"chalk\": \"^2.0.1\",\n    \"copy-webpack-plugin\": \"^4.0.1\",\n    \"css-loader\": \"^0.28.0\",\n    \"eslint\": \"^4.15.0\",\n    \"eslint-config-standard\": \"^10.2.1\",\n    \"eslint-friendly-formatter\": \"^3.0.0\",\n    \"eslint-loader\": \"^1.7.1\",\n    \"eslint-plugin-import\": \"^2.7.0\",\n    \"eslint-plugin-node\": \"^5.2.0\",\n    \"eslint-plugin-promise\": \"^3.4.0\",\n    \"eslint-plugin-standard\": \"^3.0.1\",\n    \"eslint-plugin-vue\": \"^4.0.0\",\n    \"extract-text-webpack-plugin\": \"^3.0.0\",\n    \"file-loader\": \"^1.1.4\",\n    \"friendly-errors-webpack-plugin\": \"^1.6.1\",\n    \"html-webpack-plugin\": \"^2.30.1\",\n    \"node-notifier\": \"^5.1.2\",\n    \"optimize-css-assets-webpack-plugin\": \"^3.2.0\",\n    \"ora\": \"^1.2.0\",\n    \"portfinder\": \"^1.0.13\",\n    \"postcss-import\": \"^11.0.0\",\n    \"postcss-load-config\": \"^1.2.0\",\n    \"postcss-loader\": \"^2.1.5\",\n    \"postcss-url\": \"^7.2.1\",\n    \"rimraf\": \"^2.6.0\",\n    \"semver\": \"^5.3.0\",\n    \"shelljs\": \"^0.7.6\",\n    \"uglifyjs-webpack-plugin\": \"^1.1.1\",\n    \"url-loader\": \"^0.5.8\",\n    \"vue-loader\": \"^13.3.0\",\n    \"vue-style-loader\": \"^3.0.1\",\n    \"vue-template-compiler\": \"^2.5.2\",\n    \"webpack\": \"^3.6.0\",\n    \"webpack-bundle-analyzer\": \"^2.9.0\",\n    \"webpack-dev-server\": \"^2.9.1\",\n    \"webpack-merge\": \"^4.1.0\"\n  },\n  \"engines\": {\n    \"node\": \">= 6.0.0\",\n    \"npm\": \">= 3.0.0\"\n  },\n  \"browserslist\": [\n    \"> 1%\",\n    \"last 2 versions\",\n    \"not ie <= 8\"\n  ]\n}\n"
  },
  {
    "path": "example/postcss.config.js",
    "content": "module.exports = {}\n"
  },
  {
    "path": "example/src/App.vue",
    "content": "<template>\n  <site-wrapper>\n    <site-header imageUrl=\"/static/demo/brand/tabler.svg\" @toggle-menu=\"toggleMenu\">\n      <div class=\"nav-item\">\n        <t-button :outline=\"true\" size=\"sm\" href=\"https://github.com/tabler/tabler-vue\"\n                  target=\"_blank\">Source code\n        </t-button>\n      </div>\n      <notifications/>\n      <account-dropdown imageUrl=\"/static/demo/faces/female/25.jpg\"/>\n    </site-header>\n    <site-nav :collapsed=\"menuCollapsed\">\n      <nav-item to=\"/\" icon=\"home\" label=\"Home\"/>\n      <nav-item to=\"/interface\" icon=\"box\" label=\"Interface\">\n        <dropdown-menu-item label=\"Cards design\"/>\n        <dropdown-menu-item label=\"Charts\"/>\n        <dropdown-menu-item label=\"Pricing cards\"/>\n      </nav-item>\n      <nav-item to=\"/pages\" icon=\"calendar\" label=\"Components\">\n        <dropdown-menu-item label=\"Maps\"/>\n        <dropdown-menu-item label=\"Icons\"/>\n        <dropdown-menu-item label=\"Blog\"/>\n        <dropdown-menu-item label=\"Carousel\"/>\n      </nav-item>\n      <nav-item to=\"/pages\" icon=\"file\" label=\"Pages\">\n        <dropdown-menu-item label=\"Profile\"/>\n        <dropdown-menu-item label=\"Login\"/>\n        <dropdown-menu-item label=\"Register\"/>\n        <dropdown-menu-item label=\"Forgot password\"/>\n        <dropdown-menu-item label=\"400 error\"/>\n        <dropdown-menu-item label=\"401 error\"/>\n        <dropdown-menu-item label=\"403 error\"/>\n        <dropdown-menu-item label=\"404 error\"/>\n        <dropdown-menu-item label=\"500 error\"/>\n        <dropdown-menu-item label=\"503 error\"/>\n        <dropdown-menu-item label=\"Email\"/>\n        <dropdown-menu-item label=\"Empty page\"/>\n        <dropdown-menu-item label=\"RTL mode\"/>\n      </nav-item>\n      <nav-item to=\"/\" icon=\"check-square\" label=\"Forms\"/>\n      <nav-item to=\"/\" icon=\"image\" label=\"Gallery\"/>\n      <nav-item to=\"/\" icon=\"file-text\" label=\"Documentation\"/>\n    </site-nav>\n    <router-view/>\n  </site-wrapper>\n</template>\n\n<script>\nexport default {\n  name: 'App',\n  data: () => ({\n      menuCollapsed: true\n  }),\n  methods: {\n    toggleMenu() {\n      this.menuCollapsed = !this.menuCollapsed\n    }\n  }\n}\n</script>\n\n<style>\n    @import \"../../dist/css/dashboard.css\";\n    /**./assets/logo.png**/\n</style>\n"
  },
  {
    "path": "example/src/components/HelloWorld.vue",
    "content": "<template>\n  <div class=\"hello\">\n    <h1>{{ msg }}</h1>\n    <h2>Essential Links</h2>\n    <ul>\n      <li>\n        <a\n          href=\"https://vuejs.org\"\n          target=\"_blank\"\n        >\n          Core Docs\n        </a>\n      </li>\n      <li>\n        <a\n          href=\"https://forum.vuejs.org\"\n          target=\"_blank\"\n        >\n          Forum\n        </a>\n      </li>\n      <li>\n        <a\n          href=\"https://chat.vuejs.org\"\n          target=\"_blank\"\n        >\n          Community Chat\n        </a>\n      </li>\n      <li>\n        <a\n          href=\"https://twitter.com/vuejs\"\n          target=\"_blank\"\n        >\n          Twitter\n        </a>\n      </li>\n      <br>\n      <li>\n        <a\n          href=\"http://vuejs-templates.github.io/webpack/\"\n          target=\"_blank\"\n        >\n          Docs for This Template\n        </a>\n      </li>\n    </ul>\n    <h2>Ecosystem</h2>\n    <ul>\n      <li>\n        <a\n          href=\"http://router.vuejs.org/\"\n          target=\"_blank\"\n        >\n          vue-router\n        </a>\n      </li>\n      <li>\n        <a\n          href=\"http://vuex.vuejs.org/\"\n          target=\"_blank\"\n        >\n          vuex\n        </a>\n      </li>\n      <li>\n        <a\n          href=\"http://vue-loader.vuejs.org/\"\n          target=\"_blank\"\n        >\n          vue-loader\n        </a>\n      </li>\n      <li>\n        <a\n          href=\"https://github.com/vuejs/awesome-vue\"\n          target=\"_blank\"\n        >\n          awesome-vue\n        </a>\n      </li>\n    </ul>\n  </div>\n</template>\n\n<script>\nexport default {\n  name: 'HelloWorld',\n  data () {\n    return {\n      msg: 'Welcome to Your Vue.js App'\n    }\n  }\n}\n</script>\n\n<!-- Add \"scoped\" attribute to limit CSS to this component only -->\n<style scoped>\nh1, h2 {\n  font-weight: normal;\n}\nul {\n  list-style-type: none;\n  padding: 0;\n}\nli {\n  display: inline-block;\n  margin: 0 10px;\n}\na {\n  color: #42b983;\n}\n</style>\n"
  },
  {
    "path": "example/src/components/HomePage.vue",
    "content": "<template>\n  <page title=\"Dashboard\">\n    <grid-row cards>\n\n      <grid-col :key=\"stat.label\" v-for=\"stat in stats\" xs=\"6\" sm=\"4\" lg=\"2\">\n        <stats-card :movement=\"stat.movement\" :total=\"stat.total\" :label=\"stat.label\"/>\n      </grid-col>\n\n      <grid-col lg=\"6\">\n        <card>\n          <card-header title=\"Development Activity\"/>\n          <t-table cards vertical-align=\"center\">\n            <table-head>\n              <table-row>\n                <table-cel colspan=\"2\" header>User</table-cel>\n                <table-cel header>Commit</table-cel>\n                <table-cel header>Date</table-cel>\n                <table-cel header></table-cel>\n              </table-row>\n            </table-head>\n            <table-body>\n              <table-row>\n                <table-cel class=\"w-1\"><avatar image-url=\"/static/demo/faces/male/9.jpg\"/></table-cel>\n                <table-cel>Ronald Bardley</table-cel>\n                <table-cel>Initial commit</table-cel>\n                <table-cel class=\"text-norwap\">May 6, 2018</table-cel>\n                <table-cel class=\"w-1\"><a href=\"#\" class=\"icon\"><icon icon=\"trash\"/></a></table-cel>\n              </table-row>\n              <table-row>\n                <table-cel class=\"w-1\"><avatar image-url=\"/static/demo/faces/female/1.jpg\"/></table-cel>\n                <table-cel>Beverly Armstrong</table-cel>\n                <table-cel>Left sidebar adjustments</table-cel>\n                <table-cel class=\"text-norwap\">Apirl 15, 2018</table-cel>\n                <table-cel class=\"w-1\"><a href=\"#\" class=\"icon\"><icon icon=\"trash\"/></a></table-cel>\n              </table-row>\n              <table-row>\n                <table-cel class=\"w-1\"><avatar image-url=\"/static/demo/faces/male/4.jpg\"/></table-cel>\n                <table-cel>Boddy Knight</table-cel>\n                <table-cel>Topbar dropdown style</table-cel>\n                <table-cel class=\"text-norwap\">Apirl 8, 2018</table-cel>\n                <table-cel class=\"w-1\"><a href=\"#\" class=\"icon\"><icon icon=\"trash\"/></a></table-cel>\n              </table-row>\n              <table-row>\n                <table-cel class=\"w-1\"><avatar image-url=\"/static/demo/faces/female/11.jpg\"/></table-cel>\n                <table-cel>Sharon Wells</table-cel>\n                <table-cel>Fixes #625</table-cel>\n                <table-cel class=\"text-norwap\">Apirl 9, 2018</table-cel>\n                <table-cel class=\"w-1\"><a href=\"#\" class=\"icon\"><icon icon=\"trash\"/></a></table-cel>\n              </table-row>\n            </table-body>\n          </t-table>\n        </card>\n      </grid-col>\n\n      <grid-col lg=\"6\">\n        <alert type=\"primary\">Are you in trouble? <alert-link to=\"/documentation\" label=\"Read our documentation\"/> with code samples.</alert>\n\n        <grid-row>\n          <grid-col sm=\"6\">\n            <card title=\"Chart title\"></card>\n          </grid-col>\n\n          <grid-col sm=\"6\">\n            <card title=\"Chart title\"></card>\n          </grid-col>\n\n          <grid-col sm=\"6\">\n            <progress-card title=\"New feedback\" total=\"62\" :progress=\"68\" progress-color=\"red\"/>\n          </grid-col>\n          <grid-col sm=\"6\">\n            <progress-card title=\"Today profit\" total=\"$652\" :progress=\"84\"/>\n          </grid-col>\n        </grid-row>\n      </grid-col>\n\n      <grid-col sm=\"6\" lg=\"3\">\n        <stamp-card icon=\"dollar-sign\" footer=\"12 waiting payments\"><a href=\"#\">132 <small>Sales</small></a></stamp-card>\n      </grid-col>\n      <grid-col sm=\"6\" lg=\"3\">\n        <stamp-card color=\"green\" icon=\"shopping-cart\" footer=\"32 shipped\"><a href=\"#\">78 <small>Orders</small></a></stamp-card>\n      </grid-col>\n      <grid-col sm=\"6\" lg=\"3\">\n        <stamp-card color=\"red\" icon=\"users\" footer=\"163 registered today\"><a href=\"#\">1352 <small>Members</small></a></stamp-card>\n      </grid-col>\n      <grid-col sm=\"6\" lg=\"3\">\n        <stamp-card color=\"yellow\" icon=\"message-square\" footer=\"16 waiting\"><a href=\"#\">132 <small>Comments</small></a></stamp-card>\n      </grid-col>\n    </grid-row>\n\n    <grid-row cards>\n      <grid-col xs=\"12\">\n        <card>\n          <t-table responsive hover cards outline vertical-align=\"center\" className=\"text-nowrap\">\n            <table-head>\n              <table-row>\n                <table-cel header class=\"text-center w-1\"></table-cel>\n                <table-cel header>User</table-cel>\n                <table-cel header>Usage</table-cel>\n                <table-cel header class=\"text-center\">Payment</table-cel>\n                <table-cel header>Activity</table-cel>\n                <table-cel header class=\"text-center\">Satisfaction</table-cel>\n                <table-cel header class=\"text-center\"></table-cel>\n              </table-row>\n            </table-head>\n            <table-body>\n              <table-row>\n                <table-cel class=\"text-center\">\n                  <avatar image-url=\"/static/demo/faces/female/26.jpg\" status-color=\"green\"/>\n                </table-cel>\n                <table-cel>\n                  <div>Elizabeth Martin</div>\n                  <div class=\"small text-muted\">Registered: Mar 19, 2018</div>\n                </table-cel>\n\n                <table-cel>\n                  <div class=\"clearfix\">\n                    <div class=\"float-left\">\n                      <strong>42%</strong>\n                    </div>\n                    <div class=\"float-right\">\n                      <small class=\"text-muted\">Jun 11, 2015 - Jul 10, 2015</small>\n                    </div>\n                  </div>\n                  <progress-bar size=\"xs\" color=\"yellow\" :progress=\"42\" />\n                </table-cel>\n\n                <table-cel class=\"text-center\">\n                  <i class=\"payment payment-visa\"></i>\n                </table-cel>\n\n                <table-cel>\n                  <div class=\"small text-muted\">Last login</div>\n                  <div>4 minutes ago</div>\n                </table-cel>\n\n                <table-cel class=\"text-center\">\n                  <div class=\"mx-auto chart-circle chart-circle-xs\" data-value=\"0.42\" data-thickness=\"3\" data-color=\"blue\">\n                    <div class=\"chart-circle-value\">42%</div>\n                  </div>\n                </table-cel>\n\n                <table-cel>\n                  <dropdown position=\"right\" class=\"item-action\">\n                    <template slot=\"dropdown-toggle\">\n                      <a href=\"javascript:void(0)\" class=\"icon\"><i class=\"fe fe-more-vertical\"></i></a>\n                    </template>\n                    <dropdown-menu-item label=\"Hello\"/>\n                  </dropdown>\n                </table-cel>\n              </table-row>\n            </table-body>\n          </t-table>\n        </card>\n      </grid-col>\n    </grid-row>\n  </page>\n</template>\n\n<script>\n    export default {\n      name: \"home-page\",\n      data: () => ({\n        stats: [\n          {label: 'New Tickets', movement: 6, total: 43},\n          {label: 'Closed Today', movement: -3, total: 17},\n          {label: 'New Replies', movement: 9, total: 7},\n          {label: 'Followers', movement: 3, total: '27.3K'},\n          {label: 'Daily Earnings', movement: -2, total: '$95'},\n          {label: 'Products', movement: -1, total: 621}\n        ],\n        process: [\n          {label: 'New feedback', movement: 6, total: 62},\n          {label: 'Today profit', movement: -3, total: '$652'}\n        ]\n      })\n    }\n</script>\n\n<style scoped>\n\n</style>\n"
  },
  {
    "path": "example/src/main.js",
    "content": "// The Vue build version to load with the `import` command\n// (runtime-only or standalone) has been set in webpack.base.conf with an alias.\nimport Vue from 'vue'\nimport App from './App'\nimport router from './router'\n\nimport TablerVue from '../../dist/vue-tabler'\n\nVue.config.productionTip = false\nVue.use(TablerVue)\n\n/* eslint-disable no-new */\nnew Vue({\n  el: '#app',\n  router,\n  components: { App },\n  template: '<App/>'\n})\n"
  },
  {
    "path": "example/src/router/index.js",
    "content": "import Vue from 'vue'\nimport Router from 'vue-router'\nimport HomePage from '@/components/HomePage'\n\nVue.use(Router)\n\nexport default new Router({\n  routes: [\n    {\n      path: '/',\n      name: 'home',\n      component: HomePage\n    }\n  ]\n})\n"
  },
  {
    "path": "example/static/.gitkeep",
    "content": ""
  },
  {
    "path": "example/static/demo/.npmignore",
    "content": ".DS_Store\n.idea/\n"
  },
  {
    "path": "package.json",
    "content": "{\n  \"name\": \"tabler-vue\",\n  \"version\": \"1.0.0\",\n  \"description\": \"Vue.js implementation of the premium and Open Source dashboard template with responsive and high quality UI. For Free!\",\n  \"main\": \"/dist/vue-tabler.js\",\n  \"repository\": \"https://github.com/tabler/tabler-vue.git\",\n  \"author\": \"Ivan Vilanculo\",\n  \"license\": \"MIT\",\n  \"scripts\": {\n    \"build:lib\": \"rollup -c\",\n    \"build:example\": \"cd example && yarn install && yarn build\",\n    \"build\": \"yarn build:lib && yarn build:example\",\n    \"dev\": \"concurrently --kill-others \\\"yarn dev:lib\\\" \\\"yarn dev:example\\\"\",\n    \"dev:lib\": \"yarn copytablercsstodis && rollup -c -w\",\n    \"dev:example\": \"cd example && yarn install && yarn dev\",\n    \"copytablercsstodis\": \"mkdir -p dist && cp -r node_modules/tabler-ui/dist/assets/css node_modules/tabler-ui/dist/assets/fonts node_modules/tabler-ui/dist/assets/images dist/\",\n    \"deploy\": \"yarn build:example && gh-pages -d example/dist\"\n  },\n  \"devDependencies\": {\n    \"babel-core\": \"^6.26.3\",\n    \"babel-preset-env\": \"^1.7.0\",\n    \"babel-preset-stage-2\": \"^6.24.1\",\n    \"concurrently\": \"^3.5.1\",\n    \"gh-pages\": \"^1.1.0\",\n    \"rollup\": \"^0.59.4\",\n    \"rollup-plugin-babel\": \"^3.0.4\",\n    \"rollup-plugin-node-resolve\": \"^3.3.0\",\n    \"rollup-plugin-vue\": \"^4.2.0\",\n    \"vue-template-compiler\": \"^2.5.16\"\n  },\n  \"peerDependencies\": {\n    \"vue\": \"^2.5.16\"\n  },\n  \"dependencies\": {\n    \"tabler-ui\": \"^0.0.32\",\n    \"vue-popperjs\": \"^1.3.4\"\n  }\n}\n"
  },
  {
    "path": "rollup.config.js",
    "content": "import babel from 'rollup-plugin-babel'\nimport VuePlugin from  'rollup-plugin-vue'\nimport resolve from 'rollup-plugin-node-resolve'\nexport default [\n    // browser-friendly UMD build\n    {\n        input: 'src/index.js',\n        output: {\n            name: 'tablerReact',\n            file: 'dist/vue-tabler.js',\n            format: 'cjs',\n        },\n        plugins: [\n            resolve({\n                main: true,\n                extensions: [ '.mjs', '.js', '.jsx', '.json', '.vue' ],\n            }),\n            VuePlugin(),\n            babel({\n                exclude: 'node_modules/**'\n            })\n        ]\n    },\n]"
  },
  {
    "path": "src/components/AccountDropdown.vue",
    "content": "<template>\n    <dropdown position=\"right\">\n        <template slot=\"dropdown-toggle\">\n            <a class=\"nav-link pr-0 leading-none\">\n                <span class=\"avatar\" style=\"background-image: url(&quot;./demo/faces/female/25.jpg&quot;);\"></span>\n                <span class=\"ml-2 d-none d-lg-block\">\n                    <span class=\"text-default\">Jane Pearson</span><small\n                        class=\"text-muted d-block mt-1\">Administrator</small></span>\n            </a>\n        </template>\n\n        <dropdown-menu-item icon=\"user\" label=\"Profile\"/>\n        <dropdown-menu-item icon=\"settings\" label=\"Settings\"/>\n        <dropdown-menu-item icon=\"mail\" label=\"Inbox\" badge=\"6\"/>\n        <dropdown-menu-item icon=\"send\" label=\"Message\"/>\n        <dropdown-divider/>\n        <dropdown-menu-item icon=\"help-circle\" label=\"Need help?\"/>\n        <dropdown-menu-item icon=\"log-out\" label=\"Sign out\"/>\n    </dropdown>\n</template>\n\n<script>\n    import Dropdown from \"./Dropdown/Dropdown.vue\";\n    import DropdownMenuItem from \"./Dropdown/DropdownMenuItem.vue\";\n    import DropdownDivider from \"./Dropdown/DropdownDivider\";\n\n    export default {\n        components: {\n            DropdownDivider,\n            DropdownMenuItem,\n            Dropdown},\n        name: \"account-dropdown\"\n    }\n</script>\n\n<style scoped>\n\n</style>"
  },
  {
    "path": "src/components/Alert/Alert.vue",
    "content": "<template>\n    <div :class=\"`alert-${type}`\" class=\"alert\"><slot></slot></div>\n</template>\n\n<script>\n    export default {\n        name: \"alert\",\n        props: {\n            type: {default: 'success', type: String}\n        }\n    }\n</script>\n\n<style scoped>\n\n</style>"
  },
  {
    "path": "src/components/Alert/AlertLink.js",
    "content": "export default {\n    name: 'alert-link',\n    props: {\n        // href: {default: '', type: String},\n        to: {default: true},\n        label: {default: '', required: true, type: String},\n        target: {default: false}\n    },\n\n    template: `<router-link class=\"alert-link\" :target=\"false\" :to=\"to\">{{ label }}</router-link>`\n}"
  },
  {
    "path": "src/components/Alert/index.js",
    "content": "import Alert from './Alert'\nimport AlertLink from './AlertLink'\nexport {\n    Alert,\n    AlertLink\n}"
  },
  {
    "path": "src/components/Avatar.js",
    "content": "export default {\n    name: 'avatar',\n    props: {\n        /**\n         * Avatar image url\n         */\n        imageUrl: {required: true, type: String},\n\n        /**\n         * Status color\n         * Component will only show status if this option is defined\n         */\n        statusColor: {default: '', type: String}\n    },\n\n    template: `<div class=\"avatar d-block\" :style=\"avatarStyle\"><span v-if=\"hasStatus\" class=\"avatar-status\" :class=\"statusClassName\"></span></div>`,\n\n    computed: {\n        /**\n         * Generates css style to avatar component\n         * @returns {{backgroundImage: string}}\n         */\n        avatarStyle() {\n            return {\n                backgroundImage: `url(${this.imageUrl})`\n            }\n        },\n\n        /**\n         * Generates classes to avatar status\n         * @returns {{}}\n         */\n        statusClassName() {\n            const className = {}\n            className[`bg-${this.statusColor}`] = this.hasStatus\n            return className\n        },\n\n        /**\n         * Returns true if status is defined and otherwise false\n         * @returns {boolean}\n         */\n        hasStatus() {\n            return this.statusColor !== ''\n        }\n    }\n}"
  },
  {
    "path": "src/components/Button.js",
    "content": "export default {\n    name: 't-button',\n    props: {\n        size: {default: false},\n        outline: {default: false},\n        type: {default: 'primary'}\n    },\n    template: `<a :class=\"className\"><slot>Button</slot></a>`,\n    computed: {\n        className () {\n            const className = {btn: true}\n            className[`btn-outline-${this.type}`] = this.outline\n            className[`btn-${this.type}`] = !this.outline\n            className[`btn-${this.size}`] = !!this.size\n            return className\n        }\n    }\n}"
  },
  {
    "path": "src/components/Card/Card.vue",
    "content": "<template>\n    <div class=\"card\">\n        <slot>\n            <card-header v-if=\"title\">{{ title }}</card-header>\n            <card-body>{{ body }}</card-body>\n            <card-footer v-if=\"footer\">{{ footer }}</card-footer>\n        </slot>\n    </div>\n</template>\n\n<script>\n    import CardHeader from \"./CardHeader.vue\";\n    import CardFooter from \"./CardFooter.vue\";\n    import CardBody from \"./CardBody.vue\";\n\n    export default {\n        name: \"card\",\n        props: {\n            title: {default: '', type: String},\n            footer: {default: '', type: String},\n            body: {default: '', type: String}\n        },\n        components: {\n            CardBody,\n            CardFooter,\n            CardHeader\n        }\n    }\n</script>\n\n<style scoped>\n\n</style>"
  },
  {
    "path": "src/components/Card/CardBody.vue",
    "content": "<template>\n    <div class=\"card-body\">\n        <slot/>\n    </div>\n</template>\n\n<script>\n    export default {\n        name: \"card-body\"\n    }\n</script>\n\n<style scoped>\n\n</style>"
  },
  {
    "path": "src/components/Card/CardFooter.vue",
    "content": "<template>\n    <div class=\"card-footer\">\n        <slot/>\n    </div>\n</template>\n\n<script>\n    export default {\n        name: \"card-footer\"\n    }\n</script>\n\n<style scoped>\n\n</style>"
  },
  {
    "path": "src/components/Card/CardHeader.vue",
    "content": "<template>\n    <div class=\"card-header\">\n        <slot><h3 class=\"card-title\">{{ title }}</h3></slot>\n        <div class=\"card-options\">\n            <a href=\"#\" class=\"card-options-collapse\" data-toggle=\"card-collapse\"><i class=\"fe fe-chevron-up\"></i></a>\n            <a href=\"#\" class=\"card-options-remove\" data-toggle=\"card-remove\"><i class=\"fe fe-x\"></i></a>\n        </div>\n    </div>\n</template>\n\n<script>\n    export default {\n        name: \"card-header\",\n        props: {\n            title: {default: '', type: String},\n        }\n    }\n</script>\n\n<style scoped>\n\n</style>"
  },
  {
    "path": "src/components/Card/index.js",
    "content": "import Card from './Card'\nimport CardBody from './CardBody'\nimport CardFooter from './CardFooter'\nimport CardHeader from './CardHeader'\n\nexport {\n    Card,\n    CardBody,\n    CardFooter,\n    CardHeader,\n}"
  },
  {
    "path": "src/components/Container.js",
    "content": "export default {\n    name: 'container',\n    props: {\n      maxWidth: 0\n    },\n    template: `<div class=\"container\"><slot/></div>`,\n    computed: {\n        style() {\n            const style = {maxWidth: this.maxWidth}\n            return style\n        }\n    }\n}"
  },
  {
    "path": "src/components/Dropdown/Dropdown.vue",
    "content": "<template>\n    <div v-click-outside=\"close\" @click=\"toggle\" class=\"dropdown\">\n        <slot name=\"dropdown-toggle\" >\n            <t-button :outline=\"true\" :aria-expanded=\"show\">\n                {{ label }}\n            </t-button>\n        </slot>\n        <dropdown-menu :position=\"position\" :show=\"show\">\n            <slot></slot>\n        </dropdown-menu>\n    </div>\n</template>\n\n<script>\n    import ClickOutside from '../../directives/ClickOutSide'\n    import DropdownMenu from \"./DropdownMenu.vue\";\n    import TButton from \"../Button\";\n\n    export default {\n        name: \"dropdown\",\n        props: {\n            label: {default: 'Dropdown'},\n            position: {default: 'left'}\n        },\n        data: () => ({\n            show: false\n        }),\n\n        methods: {\n            toggle() {\n                this.show = !this.show\n            },\n            open(){\n                this.show = true\n            },\n            close() {\n                this.show = false\n            }\n        },\n        directives: {ClickOutside},\n        components: {\n            TButton,\n            DropdownMenu}\n    }\n</script>\n\n<style scoped>\n\n</style>"
  },
  {
    "path": "src/components/Dropdown/DropdownDivider.js",
    "content": "export default {\n    name: 'dropdown-divider',\n    template: `<div class=\"dropdown-divider\"></div>`\n}"
  },
  {
    "path": "src/components/Dropdown/DropdownMenu.vue",
    "content": "<template>\n    <div :class=\"className\">\n        <slot/>\n    </div>\n</template>\n<script>\n    export default {\n        name: \"dropdown-menu\",\n\n        props: {\n            show: {default: false},\n            position: {default: 'left'}\n        },\n\n        computed: {\n            className() {\n                const className = {\n                    'dropdown-menu': true\n                }\n\n                className[`dropdown-menu-${this.position}`] = true\n                className[`dropdown-menu-arrow`] = true\n                className[`show`] = this.show\n                return className\n            }\n        }\n    }\n</script>"
  },
  {
    "path": "src/components/Dropdown/DropdownMenuItem.vue",
    "content": "<template>\n    <a href=\"#\" class=\"dropdown-item\">\n        <slot>\n            <span v-if=\"!!badge\" class=\"float-right\"><span :class=\"`badge badge-${type}`\">{{ badge }}</span></span>\n            <icon v-if=\"!!icon\" :icon=\"icon\" :prefix=\"iconPrefix\" class=\"dropdown-icon\"/>\n            {{ label }}\n        </slot>\n    </a>\n</template>\n\n<script>\n    import Icon from '../Icon'\n\n    export default {\n      components: {Icon},\n      name: \"dropdown-menu-item\",\n        props: {\n            icon: {default: false},\n            iconPrefix: {default: 'fe'},\n            label: {default: 'Dropdown Item'},\n            badge: {default: false},\n            type: {default: 'primary'}\n        }\n    }\n</script>\n\n<style scoped>\n\n</style>"
  },
  {
    "path": "src/components/Dropdown/index.js",
    "content": "import Dropdown from './Dropdown'\nimport DropdownDivider from './DropdownDivider'\nimport DropdownMenu from './DropdownMenu'\nimport DropdownMenuItem from './DropdownMenuItem'\n\nexport {\n    Dropdown,\n    DropdownDivider,\n    DropdownMenu,\n    DropdownMenuItem\n}"
  },
  {
    "path": "src/components/Grid/GridCol.js",
    "content": "export default {\n    name: 'grid-col',\n    props: {\n        xs: {default: 0},\n        sm: {default: 0},\n        md: {default: 0},\n        lg: {default: 0},\n        xl: {default: 0}\n    },\n    template: `<div :class=\"className\"><slot/></div>`,\n    computed: {\n        className() {\n            const className = {}\n            className[`col-xs${this.xs ? '-' + this.xs : '' }`] = this.xs !== 0\n            className[`col-sm${this.sm ? '-' + this.sm : '' }`] = this.sm !== 0\n            className[`col-md${this.md ? '-' + this.md : '' }`] = this.md !== 0\n            className[`col-lg${this.lg ? '-' + this.lg : '' }`] = this.lg !== 0\n            className[`col-xl${this.xl ? '-' + this.xl : '' }`] = this.xl !== 0\n            return className\n        }\n    }\n}"
  },
  {
    "path": "src/components/Grid/GridRow.js",
    "content": "export default {\n    name: 'grid-row',\n    props: {\n        /**\n         * Mark as true if this row contains cards\n         */\n        cards: {default: false, types: Boolean}\n    },\n\n    computed: {\n        className () {\n            const classNames = {row: true}\n            classNames['row-cards'] = this.cards !== false\n            return classNames\n        }\n    },\n    template: `<div :class=\"className\"><slot/></div>`\n}"
  },
  {
    "path": "src/components/Grid/index.js",
    "content": "import GridCol from './GridCol'\nimport GridRow from './GridRow'\n\nexport {\n    GridCol,\n    GridRow\n}"
  },
  {
    "path": "src/components/Icon.js",
    "content": "export default {\n  name: 'icon',\n  props: {\n    icon: {required: true, type: String},\n    prefix: {default: 'fe', type: String}\n  },\n  template: `<i :class=\"className\"></i>`,\n  computed: {\n    className () {\n      const className = {}\n      className[`${this.prefix}`] = true\n      className[`${this.prefix}-${this.icon}`] = true\n      return className\n    }\n  }\n}"
  },
  {
    "path": "src/components/Nav/Nav.vue",
    "content": "<template>\n    <ul :class=\"className\">\n        <slot></slot>\n    </ul>\n</template>\n\n<script>\n    export default {\n        name: \"t-nav\",\n        props: {\n            tabbed: {default: false}\n        },\n        computed: {\n            className () {\n                const className = {nav: true}\n                className[`nav-tabs`] = this.tabbed !== false\n                return className\n            }\n        }\n    }\n</script>\n\n<style scoped>\n\n</style>"
  },
  {
    "path": "src/components/Nav/NavItem.vue",
    "content": "<template>\n    <tag-wrapper :tag=\"tag\" class=\"nav-item\">\n        <a v-click-out-side=\"hideDropdown\" @click=\"onClick\" :class=\"className\">\n            <icon v-if=\"icon\" :icon=\"icon\" :prefix=\"iconPrefix\"/>\n            {{ label }}\n        </a>\n        <dropdown-menu :show=\"dropdownVisible\">\n            <slot></slot>\n        </dropdown-menu>\n    </tag-wrapper>\n</template>\n\n<script>\n    import TagWrapper from \"../TagWrapper\";\n    import DropdownMenu from \"../Dropdown/DropdownMenu.vue\";\n    import ClickOutSide from '../../directives/ClickOutSide'\n    export default {\n        name: \"nav-item\",\n        props: {\n            tag: {default: 'li', type: String},\n            active: {default: false, type: Boolean},\n            label: {default: '', type: String},\n            icon: {default: '', type: String},\n            iconPrefix: {default: 'fe', type: String},\n            to: {default: ''}\n        },\n\n        data: () => ({\n            dropdownVisible: false\n        }),\n\n        methods: {\n            onClick (e) {\n                e.preventDefault()\n                if(this.hasSubItems){\n                    this.toggleDropdown()\n                } else {\n                    this.$router.push(this.to)\n                }\n            },\n\n            toggleDropdown() {\n                this.dropdownVisible = !this.dropdownVisible\n            },\n\n            hideDropdown() {\n                this.dropdownVisible = false\n            }\n        },\n\n        computed: {\n            className() {\n                const className = {'nav-link': true}\n                return className\n            },\n\n            iconClassName() {\n                const iconClass = {}\n                iconClass[`${this.iconPrefix}`] = true\n                iconClass[`${this.iconPrefix}-${this.icon}`] = true\n                return iconClass\n            },\n\n            hasSubItems() {\n                return ('default' in this.$slots)\n            }\n        },\n        components: {\n            DropdownMenu,\n            TagWrapper\n        },\n        directives: {\n            ClickOutSide\n        }\n    }\n</script>\n\n<style scoped>\n\n</style>"
  },
  {
    "path": "src/components/Nav/index.js",
    "content": "import Nav from './Nav'\nimport NavItem from './NavItem'\n\nexport {\n  Nav,\n  NavItem\n}"
  },
  {
    "path": "src/components/Notifications.vue",
    "content": "<template>\n    <dropdown position=\"right\" class=\"d-none d-md-flex\">\n        <template slot=\"dropdown-toggle\" >\n            <a class=\"nav-link icon\">\n                <i class=\"fe fe-bell\"></i>\n                <span class=\"nav-unread\"></span>\n            </a>\n        </template>\n        <dropdown-menu-item class=\"d-flex\">\n            <span class=\"avatar mr-3 align-self-center\" style=\"background-image: url(demo/faces/male/41.jpg)\"></span>\n            <div>\n                <strong>Nathan</strong> pushed new commit: Fix page load performance issue.\n                <div class=\"small text-muted\">10 minutes ago</div>\n            </div>\n        </dropdown-menu-item>\n\n        <dropdown-menu-item class=\"d-flex\">\n            <span class=\"avatar mr-3 align-self-center\" style=\"background-image: url(demo/faces/female/1.jpg)\"></span>\n            <div>\n                <strong>Alice</strong> started new task: Tabler UI design.\n                <div class=\"small text-muted\">1 hour ago</div>\n            </div>\n        </dropdown-menu-item>\n\n        <dropdown-menu-item class=\"d-flex\">\n            <span class=\"avatar mr-3 align-self-center\" style=\"background-image: url(demo/faces/female/18.jpg)\"></span>\n            <div>\n                <strong>Rose</strong> deployed new version of NodeJS REST Api V3\n                <div class=\"small text-muted\">2 hours ago</div>\n            </div>\n        </dropdown-menu-item>\n\n        <dropdown-divider/>\n\n        <dropdown-menu-item class=\"text-center text-muted-dark\">\n            Mark all as read\n        </dropdown-menu-item>\n    </dropdown>\n</template>\n\n<script>\n    import Dropdown from './Dropdown/Dropdown.vue'\n    import DropdownMenu from './Dropdown/DropdownMenu.vue'\n    import DropdownMenuItem from './Dropdown/DropdownMenuItem.vue'\n    import DropdownDivider from './Dropdown/DropdownDivider'\n    export default {\n        name: \"notifications\",\n        components: {\n            Dropdown,\n            DropdownMenu,\n            DropdownMenuItem,\n            DropdownDivider\n        }\n    }\n</script>\n\n<style scoped>\n\n</style>"
  },
  {
    "path": "src/components/Page/Page.vue",
    "content": "<template>\n    <page-wrapper>\n        <page-header :title=\"title\"/>\n        <slot/>\n    </page-wrapper>\n</template>\n\n<script>\n    import PageWrapper from \"./PageWrapper.vue\";\n    import PageHeader from \"./PageHeader.vue\";\n\n    export default {\n        name: \"page\",\n        props: {\n            title: {default: '', type: String}\n        },\n        components: {\n            PageHeader,\n            PageWrapper\n        }\n    }\n</script>\n\n<style scoped>\n\n</style>"
  },
  {
    "path": "src/components/Page/PageHeader.vue",
    "content": "<template>\n    <div class=\"page-header\">\n        <h1 class=\"page-title\">{{ title }}</h1>\n    </div>\n</template>\n\n<script>\n    export default {\n        name: \"page-header\",\n        props: {\n            title: {default: '', type: String}\n        }\n    }\n</script>\n\n<style scoped>\n\n</style>"
  },
  {
    "path": "src/components/Page/PageWrapper.vue",
    "content": "<template>\n    <div class=\"my-3 my-md-5\">\n        <container>\n            <slot></slot>\n        </container>\n    </div>\n</template>\n\n<script>\n    export default {\n        name: \"page-wrapper\"\n    }\n</script>\n\n<style scoped>\n\n</style>"
  },
  {
    "path": "src/components/Page/index.js",
    "content": "import Page from './Page'\nimport PageHeader from './PageHeader'\nimport PageWrapper from './PageWrapper'\n\nexport {\n    Page,\n    PageHeader,\n    PageWrapper\n}"
  },
  {
    "path": "src/components/ProgressBar.js",
    "content": "export default {\n    name: 'progress-bar',\n    props: {\n        /**\n         * Size of the progressbar [xs, md, lg, xl]\n         */\n        size: {default: '', type: String},\n\n        /**\n         * Percentage of the progress (0 - 100)\n         */\n        progress: {default: 0, type: Number},\n\n        color: {default: 'yellow', type: String}\n    },\n\n    template: ` <div class=\"progress\" :class=\"progressClassName\">\n                    <div role=\"progressbar\" :aria-valuenow=\"progress\" aria-valuemin=\"0\" aria-valuemax=\"100\" class=\"progress-bar\" :class=\"progressBarClassName\" :style=\"progressBarStyle\"></div>\n                </div>`,\n\n    computed: {\n        progressClassName() {\n            const className = {}\n            className[`progress-${this.size}`] = true\n            return className\n        },\n\n        progressBarClassName() {\n            const className = {}\n            className[`bg-${this.color}`] = true\n            return className\n        },\n\n        progressBarStyle() {\n            return {\n                width: `${this.progress}%`\n            }\n        }\n    }\n}"
  },
  {
    "path": "src/components/ProgressCard.vue",
    "content": "<template>\n    <card>\n        <card-body class=\"text-center\">\n            <div class=\"h5\">{{ title }}</div>\n            <div class=\"display-4 font-weight-bold mb-4\">{{ total }}</div>\n            <progress-bar size=\"sm\" :color=\"progressColor\" :progress=\"progress\"/>\n        </card-body>\n    </card>\n</template>\n\n<script>\n    import Card from \"./Card/Card.vue\";\n    import CardBody from \"./Card/CardBody.vue\";\n    import ProgressBar from './ProgressBar'\n\n    export default {\n        name: \"progress-card\",\n        props: {\n            title: {required: true, type: String},\n            total: {required: true, type: String},\n            progress: {required: true, type: Number},\n            progressColor: {default: 'green', type: String}\n        },\n        components: {\n            CardBody,\n            Card,\n            ProgressBar\n        }\n    }\n</script>\n\n<style scoped>\n\n</style>"
  },
  {
    "path": "src/components/Site/SiteHeader.vue",
    "content": "<template>\n    <div class=\"header py-4\">\n        <container>\n            <div class=\"d-flex\">\n                <slot name=\"site-logo\">\n                    <site-logo :image-url=\"imageUrl\" :href=\"href\" :alt=\"alt\"/>\n                </slot>\n\n                <div class=\"d-flex order-lg-2 ml-auto\">\n                    <slot></slot>\n                </div>\n                <a href=\"#\" @click=\"toggleMenu\" class=\"header-toggler d-lg-none ml-3 ml-lg-0\">\n                    <span class=\"header-toggler-icon\"></span>\n                </a>\n            </div>\n        </container>\n    </div>\n</template>\n\n<script>\n    export default {\n        name: \"site-header\",\n        props: {\n            imageUrl: {default: '/'},\n            href: {default: ''},\n            alt: {default: 'Tabler Vue'},\n        },\n\n        methods: {\n            toggleMenu (e) {\n                e.preventDefault()\n                this.$emit('toggle-menu')\n            }\n        }\n    }\n</script>\n\n<style scoped>\n\n</style>"
  },
  {
    "path": "src/components/Site/SiteLogo.vue",
    "content": "<template>\n    <a class=\"header-brand\" href=\"/\"><img :src=\"imageUrl\" class=\"header-brand-img\" :alt=\"alt\"></a>\n</template>\n\n<script>\n    export default {\n        name: \"site-logo\",\n        props: ['imageUrl', 'alt']\n    }\n</script>\n\n<style scoped>\n\n</style>"
  },
  {
    "path": "src/components/Site/SiteNav.vue",
    "content": "<template>\n    <div class=\"header collapse d-lg-flex p-0\" :class=\"{show: !collapsed}\">\n        <container>\n            <grid-row class=\"align-items-center\">\n                <grid-col lg=\"3\" class=\"ml-auto\">\n                    <!--todo convert to a component-->\n                    <!--<form class=\"input-icon my-3 my-lg-0\">-->\n                        <!--<input class=\"form-control header-search\" placeholder=\"Search…\" tabindex=\"1\" type=\"search\">-->\n                        <!--<div class=\"input-icon-addon\">-->\n                            <!--<i class=\"fe fe-search\"></i>-->\n                        <!--</div>-->\n                    <!--</form>-->\n                </grid-col>\n\n                <grid-col lg class=\"order-lg-first\">\n                    <t-nav tabbed class=\"border-0 flex-column flex-lg-row\">\n                        <slot></slot>\n                    </t-nav>\n                </grid-col>\n            </grid-row>\n        </container>\n    </div>\n</template>\n\n<script>\n    import NavItem from '../Nav/NavItem.vue'\n    import DropdownMenuItem from \"../Dropdown/DropdownMenuItem.vue\";\n\n    export default {\n        name: \"site-nav\",\n        props: {\n          collapsed: {default: true, type: Boolean}\n        },\n        components: {\n            DropdownMenuItem,\n            NavItem\n        }\n    }\n</script>\n\n<style scoped>\n\n</style>"
  },
  {
    "path": "src/components/Site/SiteWrapper.vue",
    "content": "<template>\n    <div class=\"page\">\n        <div class=\"page-main\">\n            <slot></slot>\n        </div>\n    </div>\n</template>\n\n<script>\n    export default {\n        name: \"site-wrapper\"\n    }\n</script>\n\n<style scoped>\n\n</style>"
  },
  {
    "path": "src/components/Site/index.js",
    "content": "import SiteHeader from './SiteHeader'\nimport SiteLogo from  './SiteLogo'\nimport SiteNav from './SiteNav'\nimport SiteWrapper from './SiteWrapper'\n\nexport {\n    SiteHeader,\n    SiteLogo,\n    SiteNav,\n    SiteWrapper\n}"
  },
  {
    "path": "src/components/StampCard.vue",
    "content": "<template>\n    <card class=\"p-3\">\n        <div class=\"d-flex align-items-center\">\n                    <span class=\"stamp stamp-md mr-3\" :class=\"stampClassName\">\n                      <icon :icon=\"icon\"/>\n                    </span>\n            <div>\n                <h4 class=\"m-0\"><slot>{{ header }}</slot></h4>\n                <small class=\"text-muted\"><slot name=\"footer\">{{ footer }}</slot></small>\n            </div>\n        </div>\n    </card>\n</template>\n\n<script>\n    import Icon from './Icon'\n    import Card from './Card/Card'\n    export default {\n        name: \"stamp-card\",\n        props: {\n            icon: {type: String, required: true},\n            color: {type: String, default: 'blue'},\n            header: {},\n            footer: {}\n        },\n\n        computed: {\n            stampClassName() {\n                const className = {}\n                className[`bg-${this.color}`] = true\n                return className\n            }\n        },\n\n      components: {\n            Card,\n            Icon\n      }\n    }\n</script>\n\n<style scoped>\n\n</style>"
  },
  {
    "path": "src/components/StatsCard.vue",
    "content": "<template>\n    <card>\n        <card-body class=\"p-3 text-center\">\n            <div :class=\"movementClassName\" class=\"text-right\">{{ movement }}% <i :class=\"movementIconClassName\"></i></div>\n            <div class=\"h1 m-0\">{{ total }}</div>\n            <div class=\"text-muted mb-4\">{{ label }}</div>\n        </card-body>\n    </card>\n</template>\n\n<script>\n    import Card from \"./Card/Card.vue\";\n    import CardBody from \"./Card/CardBody.vue\";\n\n    export default {\n        name: \"stats-card\",\n\n        props: {\n            movement: {type: Number, required: true},\n            label: {type: String, required: true},\n            total: {type: String|Number, required: true}\n        },\n\n        computed: {\n            movementClassName() {\n                const color = !this.movement ? \"yellow\" : this.movement > 0 ? \"green\" : \"red\"\n                const className = {}\n                className[`text-${color}`] = true\n                return className\n            },\n\n            movementIconClassName() {\n                const className = {}\n                className['fe fe-chevron-up'] = this.movement >= 0\n                className['fe fe-chevron-down'] = this.movement < 0\n                return className\n            }\n        },\n\n        components: {\n            CardBody,\n            Card\n        },\n    }\n</script>\n\n<style scoped>\n\n</style>"
  },
  {
    "path": "src/components/Table/Table.js",
    "content": "export default {\n    name: 't-table',\n    props: {\n        /**\n         * Marks if table element should be wrapped inside a .table-responsive div container\n         */\n        responsive: {default: true},\n\n        /**\n         * Marks if table should contain .table-hover class\n         */\n        hover: {default: false},\n\n        /**\n         * Adds a .table-stripped class to table element\n         */\n        stripped: {default: false},\n\n        /**\n         * Adds a .table-outline class to table element\n         */\n        outline: {default: false},\n\n        /**\n         * Optimise table for display cards\n         */\n        cards: {default: false},\n\n        /**\n         * Table vertical alignment\n         * Allowed values ['center']\n         */\n        verticalAlign: {type: String},\n\n        /**\n         * Classes for the table element\n         * It can be Object or String\n         */\n        className: {}\n    },\n\n    render(createElement) {\n        /**\n         * Conditionally wraps table element inside .table-responsive div container\n         * based on the responsive property\n         */\n        if(!!this.responsive) {\n            return this.createTable(createElement)\n        } else {\n            return createElement('div', {\n                class: {'table-responsive': true}\n            }, [\n                this.createTable(createElement)\n            ])\n        }\n    },\n\n    methods: {\n        /**\n         * Creates an html table element with proper classes\n         * @param createElementFn createElement function from render function\n         * @returns {*}\n         */\n        createTable(createElementFn) {\n            return createElementFn('table', {\n                class: this.tableClassName\n            }, [\n                this.$slots.default\n            ])\n        }\n    },\n\n    computed: {\n        /**\n         * Returns table element classes\n         * @returns Object\n         */\n        tableClassName () {\n            let className = {table: true}\n            className[`table-hover`] = this.hover !== false\n            className[`table-stripped`] = this.stripped !== false\n            className[`table-outline`] = this.outline !== false\n            className[`card-table`] = this.cards !== false\n\n            className[`table-vcenter`] = this.verticalAlign === 'center'\n\n            // join classes with the ones provided by the user\n            if ('object' === typeof this.className) {\n                className = {\n                    ...className,\n                    ...this.className\n                }\n            } else {\n                className[`${this.className}`] = true\n            }\n\n            return className\n        }\n    }\n}"
  },
  {
    "path": "src/components/Table/TableBody.js",
    "content": "export default {\n    name: 'table-body',\n    render(createElement) {\n        return createElement(\n            'tbody',\n            this.$slots.default\n        )\n    }\n}"
  },
  {
    "path": "src/components/Table/TableCel.js",
    "content": "export default {\n    name: 'table-cel',\n    props: {\n        header: {default: false},\n    },\n    render(createElement) {\n        const tag = this.header !== false ? 'th' : 'td'\n        return createElement(\n            tag,\n            this.$slots.default\n        )\n    }\n}"
  },
  {
    "path": "src/components/Table/TableHead.js",
    "content": "export default {\n    name: 'table-head',\n    render(createElement) {\n        return createElement(\n            'thead',\n            this.$slots.default\n        )\n    }\n}"
  },
  {
    "path": "src/components/Table/TableRow.js",
    "content": "export default {\n    name: 'table-row',\n    render(createElement) {\n        return createElement(\n            'tr',\n            this.$slots.default\n        )\n    }\n}"
  },
  {
    "path": "src/components/Table/index.js",
    "content": "import Table from './Table'\nimport TableBody from './TableBody'\nimport TableHead from './TableHead'\nimport TableRow from './TableRow'\nimport TableCel from './TableCel'\n\nexport {\n    Table,\n    TableBody,\n    TableCel,\n    TableHead,\n    TableRow\n}"
  },
  {
    "path": "src/components/TagWrapper.js",
    "content": "export default {\n    name: 'tag-wrapper',\n    functional: true,\n    props: {\n        tag: {default: 'div', types: String}\n    },\n\n    render(h, {children, props, data}) {\n        return h(\n            props.tag,\n            {\n                class: data.staticClass\n            },\n            children\n        )\n    }\n}"
  },
  {
    "path": "src/components/index.js",
    "content": "import * as Alert from './Alert'\nimport AccountDropdown from './AccountDropdown'\nimport Avatar from './Avatar'\nimport Button from './Button'\nimport * as Card from './Card'\nimport Container from './Container'\nimport * as Dropdown from './Dropdown'\nimport * as Grid from './Grid/index'\nimport Icon from './Icon'\nimport * as Nav from './Nav'\nimport Notifications from './Notifications'\nimport * as Page from './Page'\nimport Progressbar from './ProgressBar'\nimport ProgressCard from './ProgressCard'\nimport * as Site from './Site'\nimport StampCard from './StampCard'\nimport StatsCard from './StatsCard'\nimport * as Table from './Table'\n\nexport const components = {\n    ...Alert,\n    AccountDropdown,\n    Avatar,\n    Button,\n    ...Card,\n    Container,\n    ...Dropdown,\n    ...Grid,\n    Icon,\n    ...Nav,\n    Notifications,\n    ...Page,\n    Progressbar,\n    ProgressCard,\n    ...Site,\n    StampCard,\n    StatsCard,\n    ...Table\n}"
  },
  {
    "path": "src/directives/ClickOutSide.js",
    "content": "const isTouch = 'ontouchstart' in window || navigator.msMaxTouchPoints > 0\n\nconst directive = {\n    instances: [],\n    events: isTouch ? ['touchstart', 'click'] : ['click']\n}\n\ndirective.onEvent = function (event) {\n    directive.instances.forEach(({ el, fn }) => {\n        if (event.target !== el && !el.contains(event.target)) {\n            fn && fn(event)\n        }\n    })\n}\n\ndirective.bind = function (el, binding) {\n    directive.instances.push({ el, fn: binding.value })\n    if (directive.instances.length === 1) {\n        directive.events.forEach(e => document.addEventListener(e, directive.onEvent))\n    }\n}\n\ndirective.update = function (el, binding) {\n    if (typeof binding.value !== 'function') {\n        throw new Error('Argument must be a function')\n    }\n    const instance = directive.instances.find(i => i.el === el)\n    instance.fn = binding.value\n}\n\ndirective.unbind = function (el) {\n    const instanceIndex = directive.instances.findIndex(i => i.el === el)\n    if (instanceIndex >= 0) {\n        directive.instances.splice(instanceIndex, 1)\n    }\n    if (directive.instances.length === 0) {\n        directive.events.forEach(e => document.removeEventListener(e, directive.onEvent))\n    }\n}\n\nexport default typeof window !== 'undefined' ? directive : {}"
  },
  {
    "path": "src/directives/index.js",
    "content": "import ClickOutside from './ClickOutSide'\n\nexport default {\n    ClickOutside\n}"
  },
  {
    "path": "src/index.js",
    "content": "import {components} from './components'\nimport directives from './directives'\n\nconst TablerVuePlugin = {\n\n    install: function (Vue) {\n        for (let component in components) {\n            // register components\n            Vue.component(components[component].name, components[component])\n        }\n\n        for (let directive in directives) {\n            Vue.directive(directive, directives[directive])\n        }\n    },\n\n    ...components,\n    ...directives\n};\n\n// vueUse(TablerVuePlugin)\n\nexport default TablerVuePlugin"
  },
  {
    "path": "src/utils/plugins.js",
    "content": ""
  },
  {
    "path": "update_authors.sh",
    "content": "git log --format=\"%aN <%aE>\" | sort -f | uniq > AUTHORS.md\n"
  }
]