From 56bd5d0837874ab23b9804e0e309e0d41b1f29ef Mon Sep 17 00:00:00 2001 From: "Saw, Hansly Kendrich" Date: Wed, 14 Sep 2022 12:07:35 +0800 Subject: [PATCH] included initial page, styles and modules - uses node.js and materialize --- index.html | 9 + node_modules/.DS_Store | Bin 0 -> 6148 bytes node_modules/.package-lock.json | 13 + node_modules/@materializecss/.DS_Store | Bin 0 -> 6148 bytes .../@materializecss/materialize/.DS_Store | Bin 0 -> 8196 bytes .../@materializecss/materialize/Gruntfile.js | 708 + .../@materializecss/materialize/LICENSE | 21 + .../@materializecss/materialize/README.md | 97 + .../materialize/dist/.DS_Store | Bin 0 -> 6148 bytes .../materialize/dist/css/materialize.css | 8632 +++++++++++ .../materialize/dist/css/materialize.min.css | 12 + .../materialize/dist/js/materialize.js | 12669 ++++++++++++++++ .../materialize/dist/js/materialize.min.js | 6 + .../extras/noUiSlider/nouislider.css | 406 + .../extras/noUiSlider/nouislider.js | 2147 +++ .../extras/noUiSlider/nouislider.min.js | 1 + .../materialize/js/anime.min.js | 34 + .../materialize/js/autocomplete.js | 479 + .../@materializecss/materialize/js/buttons.js | 354 + .../@materializecss/materialize/js/cards.js | 40 + .../materialize/js/carousel.js | 732 + .../@materializecss/materialize/js/cash.js | 960 ++ .../materialize/js/characterCounter.js | 136 + .../@materializecss/materialize/js/chips.js | 486 + .../materialize/js/collapsible.js | 275 + .../materialize/js/component.js | 44 + .../materialize/js/datepicker.js | 983 ++ .../materialize/js/dropdown.js | 669 + .../@materializecss/materialize/js/forms.js | 275 + .../@materializecss/materialize/js/global.js | 424 + .../materialize/js/materialbox.js | 453 + .../@materializecss/materialize/js/modal.js | 382 + .../materialize/js/parallax.js | 138 + .../@materializecss/materialize/js/pushpin.js | 148 + .../@materializecss/materialize/js/range.js | 263 + .../materialize/js/scrollspy.js | 295 + .../@materializecss/materialize/js/select.js | 310 + .../@materializecss/materialize/js/sidenav.js | 583 + .../@materializecss/materialize/js/slider.js | 359 + .../@materializecss/materialize/js/tabs.js | 402 + .../materialize/js/tapTarget.js | 315 + .../materialize/js/timepicker.js | 648 + .../@materializecss/materialize/js/toasts.js | 322 + .../@materializecss/materialize/js/tooltip.js | 320 + .../@materializecss/materialize/js/waves.js | 615 + .../@materializecss/materialize/package.json | 82 + .../materialize/sass/_style.scss | 929 ++ .../materialize/sass/components/_badges.scss | 55 + .../materialize/sass/components/_buttons.scss | 322 + .../materialize/sass/components/_cards.scss | 195 + .../sass/components/_carousel.scss | 90 + .../materialize/sass/components/_chips.scss | 96 + .../sass/components/_collapsible.scss | 91 + .../sass/components/_collection.scss | 107 + .../sass/components/_color-classes.scss | 32 + .../sass/components/_color-variables.scss | 370 + .../sass/components/_datepicker.scss | 191 + .../sass/components/_dropdown.scss | 85 + .../materialize/sass/components/_global.scss | 642 + .../materialize/sass/components/_grid.scss | 158 + .../components/_icons-material-design.scss | 5 + .../sass/components/_materialbox.scss | 43 + .../materialize/sass/components/_modal.scss | 97 + .../materialize/sass/components/_navbar.scss | 208 + .../sass/components/_normalize.scss | 447 + .../sass/components/_preloader.scss | 334 + .../materialize/sass/components/_pulse.scss | 34 + .../materialize/sass/components/_sidenav.scss | 214 + .../materialize/sass/components/_slider.scss | 92 + .../sass/components/_table_of_contents.scss | 33 + .../materialize/sass/components/_tabs.scss | 99 + .../sass/components/_tapTarget.scss | 103 + .../sass/components/_timepicker.scss | 183 + .../materialize/sass/components/_toast.scss | 58 + .../materialize/sass/components/_tooltip.scss | 32 + .../sass/components/_transitions.scss | 13 + .../sass/components/_typography.scss | 62 + .../sass/components/_variables.scss | 352 + .../materialize/sass/components/_waves.scss | 187 + .../sass/components/forms/_checkboxes.scss | 200 + .../sass/components/forms/_file-input.scss | 44 + .../sass/components/forms/_forms.scss | 22 + .../sass/components/forms/_input-fields.scss | 379 + .../sass/components/forms/_radio-buttons.scss | 115 + .../sass/components/forms/_range.scss | 161 + .../sass/components/forms/_select.scss | 199 + .../sass/components/forms/_switches.scss | 91 + .../materialize/sass/ghpages-materialize.scss | 7 + .../materialize/sass/materialize.scss | 42 + package-lock.json | 28 + package.json | 23 + styles/materialize | 1 + 92 files changed, 43518 insertions(+) create mode 100644 index.html create mode 100644 node_modules/.DS_Store create mode 100644 node_modules/.package-lock.json create mode 100644 node_modules/@materializecss/.DS_Store create mode 100644 node_modules/@materializecss/materialize/.DS_Store create mode 100755 node_modules/@materializecss/materialize/Gruntfile.js create mode 100755 node_modules/@materializecss/materialize/LICENSE create mode 100755 node_modules/@materializecss/materialize/README.md create mode 100644 node_modules/@materializecss/materialize/dist/.DS_Store create mode 100755 node_modules/@materializecss/materialize/dist/css/materialize.css create mode 100755 node_modules/@materializecss/materialize/dist/css/materialize.min.css create mode 100755 node_modules/@materializecss/materialize/dist/js/materialize.js create mode 100755 node_modules/@materializecss/materialize/dist/js/materialize.min.js create mode 100755 node_modules/@materializecss/materialize/extras/noUiSlider/nouislider.css create mode 100755 node_modules/@materializecss/materialize/extras/noUiSlider/nouislider.js create mode 100755 node_modules/@materializecss/materialize/extras/noUiSlider/nouislider.min.js create mode 100755 node_modules/@materializecss/materialize/js/anime.min.js create mode 100755 node_modules/@materializecss/materialize/js/autocomplete.js create mode 100755 node_modules/@materializecss/materialize/js/buttons.js create mode 100755 node_modules/@materializecss/materialize/js/cards.js create mode 100755 node_modules/@materializecss/materialize/js/carousel.js create mode 100755 node_modules/@materializecss/materialize/js/cash.js create mode 100755 node_modules/@materializecss/materialize/js/characterCounter.js create mode 100755 node_modules/@materializecss/materialize/js/chips.js create mode 100755 node_modules/@materializecss/materialize/js/collapsible.js create mode 100755 node_modules/@materializecss/materialize/js/component.js create mode 100755 node_modules/@materializecss/materialize/js/datepicker.js create mode 100755 node_modules/@materializecss/materialize/js/dropdown.js create mode 100755 node_modules/@materializecss/materialize/js/forms.js create mode 100755 node_modules/@materializecss/materialize/js/global.js create mode 100755 node_modules/@materializecss/materialize/js/materialbox.js create mode 100755 node_modules/@materializecss/materialize/js/modal.js create mode 100755 node_modules/@materializecss/materialize/js/parallax.js create mode 100755 node_modules/@materializecss/materialize/js/pushpin.js create mode 100755 node_modules/@materializecss/materialize/js/range.js create mode 100755 node_modules/@materializecss/materialize/js/scrollspy.js create mode 100755 node_modules/@materializecss/materialize/js/select.js create mode 100755 node_modules/@materializecss/materialize/js/sidenav.js create mode 100755 node_modules/@materializecss/materialize/js/slider.js create mode 100755 node_modules/@materializecss/materialize/js/tabs.js create mode 100755 node_modules/@materializecss/materialize/js/tapTarget.js create mode 100755 node_modules/@materializecss/materialize/js/timepicker.js create mode 100755 node_modules/@materializecss/materialize/js/toasts.js create mode 100755 node_modules/@materializecss/materialize/js/tooltip.js create mode 100755 node_modules/@materializecss/materialize/js/waves.js create mode 100755 node_modules/@materializecss/materialize/package.json create mode 100755 node_modules/@materializecss/materialize/sass/_style.scss create mode 100755 node_modules/@materializecss/materialize/sass/components/_badges.scss create mode 100755 node_modules/@materializecss/materialize/sass/components/_buttons.scss create mode 100755 node_modules/@materializecss/materialize/sass/components/_cards.scss create mode 100755 node_modules/@materializecss/materialize/sass/components/_carousel.scss create mode 100755 node_modules/@materializecss/materialize/sass/components/_chips.scss create mode 100755 node_modules/@materializecss/materialize/sass/components/_collapsible.scss create mode 100755 node_modules/@materializecss/materialize/sass/components/_collection.scss create mode 100755 node_modules/@materializecss/materialize/sass/components/_color-classes.scss create mode 100755 node_modules/@materializecss/materialize/sass/components/_color-variables.scss create mode 100755 node_modules/@materializecss/materialize/sass/components/_datepicker.scss create mode 100755 node_modules/@materializecss/materialize/sass/components/_dropdown.scss create mode 100755 node_modules/@materializecss/materialize/sass/components/_global.scss create mode 100755 node_modules/@materializecss/materialize/sass/components/_grid.scss create mode 100755 node_modules/@materializecss/materialize/sass/components/_icons-material-design.scss create mode 100755 node_modules/@materializecss/materialize/sass/components/_materialbox.scss create mode 100755 node_modules/@materializecss/materialize/sass/components/_modal.scss create mode 100755 node_modules/@materializecss/materialize/sass/components/_navbar.scss create mode 100755 node_modules/@materializecss/materialize/sass/components/_normalize.scss create mode 100755 node_modules/@materializecss/materialize/sass/components/_preloader.scss create mode 100755 node_modules/@materializecss/materialize/sass/components/_pulse.scss create mode 100755 node_modules/@materializecss/materialize/sass/components/_sidenav.scss create mode 100755 node_modules/@materializecss/materialize/sass/components/_slider.scss create mode 100755 node_modules/@materializecss/materialize/sass/components/_table_of_contents.scss create mode 100755 node_modules/@materializecss/materialize/sass/components/_tabs.scss create mode 100755 node_modules/@materializecss/materialize/sass/components/_tapTarget.scss create mode 100755 node_modules/@materializecss/materialize/sass/components/_timepicker.scss create mode 100755 node_modules/@materializecss/materialize/sass/components/_toast.scss create mode 100755 node_modules/@materializecss/materialize/sass/components/_tooltip.scss create mode 100755 node_modules/@materializecss/materialize/sass/components/_transitions.scss create mode 100755 node_modules/@materializecss/materialize/sass/components/_typography.scss create mode 100755 node_modules/@materializecss/materialize/sass/components/_variables.scss create mode 100755 node_modules/@materializecss/materialize/sass/components/_waves.scss create mode 100755 node_modules/@materializecss/materialize/sass/components/forms/_checkboxes.scss create mode 100755 node_modules/@materializecss/materialize/sass/components/forms/_file-input.scss create mode 100755 node_modules/@materializecss/materialize/sass/components/forms/_forms.scss create mode 100755 node_modules/@materializecss/materialize/sass/components/forms/_input-fields.scss create mode 100755 node_modules/@materializecss/materialize/sass/components/forms/_radio-buttons.scss create mode 100755 node_modules/@materializecss/materialize/sass/components/forms/_range.scss create mode 100755 node_modules/@materializecss/materialize/sass/components/forms/_select.scss create mode 100755 node_modules/@materializecss/materialize/sass/components/forms/_switches.scss create mode 100755 node_modules/@materializecss/materialize/sass/ghpages-materialize.scss create mode 100755 node_modules/@materializecss/materialize/sass/materialize.scss create mode 100644 package-lock.json create mode 100644 package.json create mode 120000 styles/materialize diff --git a/index.html b/index.html new file mode 100644 index 0000000..ac65203 --- /dev/null +++ b/index.html @@ -0,0 +1,9 @@ + + + RollDice + + + + + + diff --git a/node_modules/.DS_Store b/node_modules/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..a6102790d6016ec5238f047dc8282517aea4e620 GIT binary patch literal 6148 zcmeHKUrWO<5Wj3wTSVN0qK^Sz2hP7td?|B&0W12TGFvyaSevnS794}V>KF2x_<6ib zQc+ZV5Cq2^Tz;42F5!MDxds44d(_(ir~`n5N?38R`9f%(^pjNV2%*qx^kE1Q1Q27( z@*fzWvs(lY?(ozycz=Em*t>!h(lAd4VXQ**d=3Y3lxEH5i>OpRa7lFF3CXjEEWcF1ciSDG!5J^1AofEE6=)7ivR!s literal 0 HcmV?d00001 diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json new file mode 100644 index 0000000..0829cde --- /dev/null +++ b/node_modules/.package-lock.json @@ -0,0 +1,13 @@ +{ + "name": "rolldice", + "version": "0.1.0", + "lockfileVersion": 2, + "requires": true, + "packages": { + "node_modules/@materializecss/materialize": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@materializecss/materialize/-/materialize-1.1.0.tgz", + "integrity": "sha512-W2MrDC8mzpMWyP2OpS0RWTWGcLiRRBz7kn2E9TsbardPyVNFdoNvXq5sLy3NcEfAlACc1+L7Q95+pBuUX44dRg==" + } + } +} diff --git a/node_modules/@materializecss/.DS_Store b/node_modules/@materializecss/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..b5e1fc91068f8bafa9bb52f79404517dc0df1611 GIT binary patch literal 6148 zcmeHK%}T>S5Z-O8CKRCuMUM+!3)Wht;w8lT0!H+pQWFw1m}X0x8n6^{)fe(jd>&_Z zH)5$hco8WxF!Sxs&SaTy!~QVFxH}0C7;7-bEKtOX4dw^IanuE=7!M*>-x#r&`78nZ zvJg#<|HuHYU7ZbJ)iM^b@9P%@`FI#4GJuHpV3@??tkwG9m1=EmeZ#V>x^?G0%G}HR zY%+HJ(GB)4rA&gd?FUzJl=mB3XEM$FIE_XsAr2!5xxJ3lQ0A_jq~TcQdV0XJZM)yt znNE+oP0{XlW=%0YX}6l9b9g+P+1B>n{^>>kDH){lRWr)r=Tow2u!J{gEGh2U8>NX% zA0VR4F0%-U0b+m{Sa}A_#%I-6zEUcX7$63I%K+{V0u<3PSZGvR2N=9Q;&=@a1={$Q zKokZYgM~&I0pU6oP^WV9#Nav|{KCXJ1`CZkopCiYe8+DY66aYxBUcLn|3IG~b zj(R^fe<{45*RB$inm$B={$MwPn(Z9 zQEx~)Q({w~a0eoj4^Qy=nFBEes#Y9%{y0O-hxkeaMKn-x*O)5SJ;*8a9E_}=ZC7Ly&Br24i(X$k9|tL)r#+w=QlS4 z8WxVoD}1(+&s=wb1y1NNZ)Gi-J*3q+Zulh^oRjRdH(q;g7*GtHA_ho& zHb0xg1+|Xo&b9Ge+rYYkl^1T;6d1W+({>Sn&wu_fMA<-7?qf=93PcSSbrBHJpc=)% HKV{%Io@GGe literal 0 HcmV?d00001 diff --git a/node_modules/@materializecss/materialize/Gruntfile.js b/node_modules/@materializecss/materialize/Gruntfile.js new file mode 100755 index 0000000..59a8b21 --- /dev/null +++ b/node_modules/@materializecss/materialize/Gruntfile.js @@ -0,0 +1,708 @@ +const sass = require('sass'); + +module.exports = function(grunt) { + const concatFile = 'temp/js/materialize_concat.js.map'; + const jsFiles = [ + 'js/cash.js', + 'js/waves.js', + 'js/component.js', + 'js/global.js', + 'js/anime.min.js', + 'js/collapsible.js', + 'js/dropdown.js', + 'js/modal.js', + 'js/materialbox.js', + 'js/parallax.js', + 'js/tabs.js', + 'js/tooltip.js', + 'js/toasts.js', + 'js/sidenav.js', + 'js/scrollspy.js', + 'js/autocomplete.js', + 'js/forms.js', + 'js/slider.js', + 'js/cards.js', + 'js/chips.js', + 'js/pushpin.js', + 'js/buttons.js', + 'js/datepicker.js', + 'js/timepicker.js', + 'js/characterCounter.js', + 'js/carousel.js', + 'js/tapTarget.js', + 'js/select.js', + 'js/range.js' + ]; + + // configure the tasks + let config = { + // Jasmine + jasmine: { + components: { + src: ['bin/materialize.js'], + options: { + vendor: [ + 'node_modules/jquery/dist/jquery.min.js' + ], + styles: 'bin/materialize.css', + specs: 'tests/spec/**/*Spec.js', + helpers: 'tests/spec/helper.js', + keepRunner: true, + version: '3.8.0', + page: { + viewportSize: { + width: 1400, + height: 735 + } + }, + sandboxArgs: { + args: ['--headless', '--no-sandbox', '--disable-gpu'] + }, + } + } + }, + + // Sass + sass: { + + // Global options + options: { + implementation: sass + }, + + // Task + expanded: { + // Target options + options: { + outputStyle: 'expanded', + sourcemap: false + }, + files: { + 'dist/css/materialize.css': 'sass/materialize.scss' + } + }, + + min: { + options: { + outputStyle: 'compressed', + sourcemap: false + }, + files: { + 'dist/css/materialize.min.css': 'sass/materialize.scss' + } + }, + + // Compile ghpages css + gh: { + options: { + outputStyle: 'compressed', + sourcemap: false + }, + files: { + 'docs/css/ghpages-materialize.css': 'sass/ghpages-materialize.scss' + } + }, + + // Compile bin css + bin: { + options: { + outputStyle: 'expanded', + sourcemap: false + }, + files: { + 'bin/materialize.css': 'sass/materialize.scss' + } + } + }, + + // PostCss Autoprefixer + postcss: { + options: { + processors: [ + require('autoprefixer')({ + browsers: [ + 'last 2 versions', + 'Chrome >= 30', + 'Firefox >= 30', + 'ie >= 10', + 'Safari >= 8' + ] + }) + ] + }, + expanded: { + src: 'dist/css/materialize.css' + }, + min: { + src: 'dist/css/materialize.min.css' + }, + gh: { + src: 'docs/css/ghpages-materialize.css' + }, + bin: { + src: 'bin/materialize.css' + } + }, + + babel: { + options: { + sourceMap: false, + plugins: [ + 'transform-es2015-arrow-functions', + 'transform-es2015-block-scoping', + 'transform-es2015-classes', + 'transform-es2015-template-literals', + 'transform-es2015-object-super', + 'babel-plugin-transform-object-rest-spread' + ] + }, + bin: { + options: { + sourceMap: true + }, + files: { + 'bin/materialize.js': 'temp/js/materialize_concat.js' + } + }, + dist: { + files: { + 'dist/js/materialize.js': 'temp/js/materialize.js' + } + } + }, + + // Browser Sync integration + browserSync: { + bsFiles: ['bin/*', 'css/ghpages-materialize.css', '!**/node_modules/**/*'], + options: { + server: { + baseDir: './' // make server from root dir + }, + port: 8000, + ui: { + port: 8080, + weinre: { + port: 9090 + } + }, + open: false + } + }, + + // Concat + concat: { + options: { + separator: ';' + }, + dist: { + // the files to concatenate + src: jsFiles, + // the location of the resulting JS file + dest: 'temp/js/materialize.js' + }, + temp: { + // the files to concatenate + options: { + sourceMap: true, + sourceMapStyle: 'link' + }, + src: jsFiles, + // the location of the resulting JS file + dest: 'temp/js/materialize_concat.js' + } + }, + + // Uglify + uglify: { + options: { + // Use these options when debugging + // mangle: false, + // compress: false, + // beautify: true + }, + dist: { + files: { + 'dist/js/materialize.min.js': ['dist/js/materialize.js'] + } + }, + bin: { + files: { + 'bin/materialize.min.js': ['bin/materialize.js'] + } + }, + extras: { + files: { + 'extras/noUiSlider/nouislider.min.js': ['extras/noUiSlider/nouislider.js'] + } + } + }, + + // Compress + compress: { + main: { + options: { + archive: 'bin/materialize.zip', + level: 6 + }, + files: [ + { expand: true, cwd: 'dist/', src: ['**/*'], dest: 'materialize/' }, + { expand: true, cwd: './', src: ['LICENSE', 'README.md'], dest: 'materialize/' } + ] + }, + + src: { + options: { + archive: 'bin/materialize-src.zip', + level: 6 + }, + files: [ + { expand: true, cwd: 'sass/', src: ['materialize.scss'], dest: 'materialize-src/sass/' }, + { expand: true, cwd: 'sass/', src: ['components/**/*'], dest: 'materialize-src/sass/' }, + { + expand: true, + cwd: 'js/', + src: [ + 'anime.min.js', + 'cash.js', + 'component.js', + 'global.js', + 'collapsible.js', + 'dropdown.js', + 'modal.js', + 'materialbox.js', + 'parallax.js', + 'tabs.js', + 'tooltip.js', + 'waves.js', + 'toasts.js', + 'sidenav.js', + 'scrollspy.js', + 'autocomplete.js', + 'forms.js', + 'slider.js', + 'cards.js', + 'chips.js', + 'pushpin.js', + 'buttons.js', + 'datepicker.js', + 'timepicker.js', + 'characterCounter.js', + 'carousel.js', + 'tapTarget.js', + 'select.js', + 'range.js' + ], + dest: 'materialize-src/js/' + }, + { expand: true, cwd: 'dist/js/', src: ['**/*'], dest: 'materialize-src/js/bin/' }, + { expand: true, cwd: './', src: ['LICENSE', 'README.md'], dest: 'materialize-src/' } + ] + }, + + starter_template: { + options: { + archive: 'templates/starter-template.zip', + level: 6 + }, + files: [ + { expand: true, cwd: 'dist/', src: ['**/*'], dest: 'starter-template/' }, + { + expand: true, + cwd: 'templates/starter-template/', + src: ['index.html', 'LICENSE'], + dest: 'starter-template/' + }, + { + expand: true, + cwd: 'templates/starter-template/css', + src: ['style.css'], + dest: 'starter-template/css' + }, + { + expand: true, + cwd: 'templates/starter-template/js', + src: ['init.js'], + dest: 'starter-template/js' + } + ] + }, + + parallax_template: { + options: { + archive: 'templates/parallax-template.zip', + level: 6 + }, + files: [ + { expand: true, cwd: 'dist/', src: ['**/*'], dest: 'parallax-template/' }, + { + expand: true, + cwd: 'templates/parallax-template/', + src: ['index.html', 'LICENSE', 'background1.jpg', 'background2.jpg', 'background3.jpg'], + dest: 'parallax-template/' + }, + { + expand: true, + cwd: 'templates/parallax-template/css', + src: ['style.css'], + dest: 'parallax-template/css' + }, + { + expand: true, + cwd: 'templates/parallax-template/js', + src: ['init.js'], + dest: 'parallax-template/js' + } + ] + } + }, + + // Clean + clean: { + temp: { + src: ['temp/'] + } + }, + + // Pug + pug: { + compile: { + options: { + pretty: true, + data: { + debug: false + } + }, + files: { + 'docs/index.html': 'pug/index.pug', + 'docs/icons.html': 'pug/icons.pug', + 'docs/about.html': 'pug/about.pug', + 'docs/sass.html': 'pug/sass.pug', + 'docs/getting-started.html': 'pug/getting-started.pug', + 'docs/mobile.html': 'pug/mobile.pug', + 'docs/parallax.html': 'pug/parallax.pug', + 'docs/parallax-demo.html': 'pug/parallax-demo.pug', + 'docs/typography.html': 'pug/typography.pug', + 'docs/color.html': 'pug/color.pug', + 'docs/shadow.html': 'pug/shadow.pug', + 'docs/grid.html': 'pug/grid.pug', + 'docs/media-css.html': 'pug/media-css.pug', + 'docs/table.html': 'pug/table.pug', + 'docs/helpers.html': 'pug/helpers.pug', + 'docs/buttons.html': 'pug/buttons.pug', + 'docs/navbar.html': 'pug/navbar.pug', + 'docs/cards.html': 'pug/cards.pug', + 'docs/preloader.html': 'pug/preloader.pug', + 'docs/collections.html': 'pug/collections.pug', + 'docs/badges.html': 'pug/badges.pug', + 'docs/footer.html': 'pug/footer.pug', + 'docs/modals.html': 'pug/modals.pug', + 'docs/dropdown.html': 'pug/dropdown.pug', + 'docs/tabs.html': 'pug/tabs.pug', + 'docs/toasts.html': 'pug/toasts.pug', + 'docs/tooltips.html': 'pug/tooltips.pug', + 'docs/sidenav.html': 'pug/sidenav.pug', + 'docs/pushpin.html': 'pug/pushpin.pug', + 'docs/waves.html': 'pug/waves.pug', + 'docs/media.html': 'pug/media.pug', + 'docs/collapsible.html': 'pug/collapsible.pug', + 'docs/scrollspy.html': 'pug/scrollspy.pug', + 'docs/fullscreen-slider-demo.html': 'pug/fullscreen-slider-demo.pug', + 'docs/pagination.html': 'pug/pagination.pug', + 'docs/breadcrumbs.html': 'pug/breadcrumbs.pug', + 'docs/carousel.html': 'pug/carousel.pug', + 'docs/feature-discovery.html': 'pug/feature-discovery.pug', + 'docs/pulse.html': 'pug/pulse.pug', + 'docs/pushpin-demo.html': 'pug/pushpin-demo.pug', + 'docs/css-transitions.html': 'pug/css-transitions.pug', + 'docs/404.html': 'pug/404.pug', + 'docs/autocomplete.html': 'pug/autocomplete.pug', + 'docs/checkboxes.html': 'pug/checkboxes.pug', + 'docs/chips.html': 'pug/chips.pug', + 'docs/pickers.html': 'pug/pickers.pug', + 'docs/radio-buttons.html': 'pug/radio-buttons.pug', + 'docs/range.html': 'pug/range.pug', + 'docs/select.html': 'pug/select.pug', + 'docs/switches.html': 'pug/switches.pug', + 'docs/text-inputs.html': 'pug/text-inputs.pug', + 'docs/floating-action-button.html': 'pug/floating-action-button.pug', + 'docs/auto-init.html': 'pug/auto-init.pug' + } + } + }, + + // Watch Files + watch: { + pug: { + files: ['pug/**/*'], + tasks: ['pug_compile'], + options: { + interrupt: false, + spawn: false + } + }, + + js: { + files: ['js/**/*', '!js/init.js'], + tasks: ['js_compile'], + options: { + interrupt: false, + spawn: false + } + }, + + sass: { + files: ['sass/**/*'], + tasks: ['sass_compile'], + options: { + interrupt: false, + spawn: false + } + } + }, + + // Concurrent + concurrent: { + options: { + logConcurrentOutput: true, + limit: 10 + }, + monitor: { + tasks: [ + 'pug_compile', + 'sass_compile', + 'js_compile', + 'watch:pug', + 'watch:js', + 'watch:sass', + 'notify:watching', + 'server' + ] + } + }, + + // Notifications + notify: { + watching: { + options: { + enabled: true, + message: 'Watching Files!', + title: 'Materialize', // defaults to the name in package.json, or will use project directory's name + success: true, // whether successful grunt executions should be notified automatically + duration: 1 // the duration of notification in seconds, for `notify-send only + } + }, + + sass_compile: { + options: { + enabled: true, + message: 'Sass Compiled!', + title: 'Materialize', + success: true, + duration: 1 + } + }, + + js_compile: { + options: { + enabled: true, + message: 'JS Compiled!', + title: 'Materialize', + success: true, + duration: 1 + } + }, + + pug_compile: { + options: { + enabled: true, + message: 'Pug Compiled!', + title: 'Materialize', + success: true, + duration: 1 + } + }, + + server: { + options: { + enabled: true, + message: 'Server Running!', + title: 'Materialize', + success: true, + duration: 1 + } + } + }, + + // Replace text to update the version string + replace: { + version: { + src: ['bower.json', 'package.js', 'pug/**/*.html'], + overwrite: true, + replacements: [ + { + from: grunt.option('oldver'), + to: grunt.option('newver') + } + ] + }, + package_json: { + src: ['package.json'], + overwrite: true, + replacements: [ + { + from: '"version": "' + grunt.option('oldver'), + to: '"version": "' + grunt.option('newver') + } + ] + }, + docs: { + src: ['.gitignore'], + overwrite: true, + replacements: [ + { + from: '/docs/*.html', + to: '' + } + ] + } + }, + + // Create Version Header for files + usebanner: { + release: { + options: { + position: 'top', + banner: + '/*!\n * Materialize v' + + grunt.option('newver') + + ' (https://materializecss.github.io/materialize)\n * Copyright 2014-2021 Materialize\n * MIT License (https://raw.githubusercontent.com/materializecss/materialize/master/LICENSE)\n */', + linebreak: true + }, + files: { + src: ['dist/css/*.css', 'dist/js/*.js'] + } + } + }, + + // Rename files + rename: { + rename_src: { + src: 'bin/materialize-src' + '.zip', + dest: 'bin/materialize-src-v' + grunt.option('newver') + '.zip', + options: { + ignore: true + } + }, + rename_compiled: { + src: 'bin/materialize' + '.zip', + dest: 'bin/materialize-v' + grunt.option('newver') + '.zip', + options: { + ignore: true + } + } + }, + + connect: { + server: { + options: { + port: 9001, + protocol: 'http', + middleware: function(connect, options, middlewares) { + middlewares.unshift(function(req, res, next){ + res.setHeader('Access-Control-Allow-Origin', '*'); + res.setHeader('Access-Control-Allow-Credentials', true); + res.setHeader("Access-Control-Allow-Headers", "Origin, X-Requested-With, Content-Type, Accept"); + res.setHeader('Access-Control-Allow-Methods', 'GET,PUT,POST,DELETE,OPTIONS'); + next(); + }); + return middlewares; + } + } + } + }, + + copy: { + docs: { + files: [ + {src: 'bin/materialize.js', dest: 'docs/js/materialize.js'}, + {src: 'templates/**', dest: 'docs/'} + ] + } + } + + }; + + grunt.initConfig(config); + + // load the tasks + // grunt.loadNpmTasks('grunt-gitinfo'); + grunt.loadNpmTasks('grunt-contrib-watch'); + grunt.loadNpmTasks('grunt-sass'); + grunt.loadNpmTasks('grunt-contrib-concat'); + grunt.loadNpmTasks('grunt-contrib-uglify'); + grunt.loadNpmTasks('grunt-contrib-compress'); + grunt.loadNpmTasks('grunt-contrib-clean'); + grunt.loadNpmTasks('grunt-contrib-pug'); + grunt.loadNpmTasks('grunt-concurrent'); + grunt.loadNpmTasks('grunt-notify'); + grunt.loadNpmTasks('grunt-text-replace'); + grunt.loadNpmTasks('grunt-banner'); + grunt.loadNpmTasks('grunt-rename-util'); + grunt.loadNpmTasks('grunt-browser-sync'); + grunt.loadNpmTasks('grunt-contrib-jasmine'); + grunt.loadNpmTasks('grunt-postcss'); + grunt.loadNpmTasks('grunt-babel'); + grunt.loadNpmTasks('grunt-contrib-connect'); + grunt.loadNpmTasks('grunt-contrib-copy'); + + // define the tasks + grunt.registerTask('release', [ + 'sass:expanded', + 'sass:min', + 'postcss:expanded', + 'postcss:min', + 'concat:dist', + 'babel:dist', + 'uglify:dist', + 'uglify:extras', + 'usebanner:release', + 'compress:main', + 'compress:src', + 'compress:starter_template', + 'compress:parallax_template', + 'replace:version', + 'replace:package_json', + 'rename:rename_src', + 'rename:rename_compiled', + 'clean:temp' + ]); + + grunt.task.registerTask('configureBabel', 'configures babel options', function() { + config.babel.bin.options.inputSourceMap = grunt.file.readJSON(concatFile); + }); + + grunt.registerTask('pug_compile', ['pug', 'notify:pug_compile']); + grunt.registerTask('js_compile', ['concat:temp', 'configureBabel', 'babel:bin', 'clean:temp']); + grunt.registerTask('sass_compile', [ + 'sass:gh', + 'sass:bin', + 'postcss:gh', + 'postcss:bin', + 'notify:sass_compile' + ]); + grunt.registerTask('server', ['browserSync', 'notify:server']); + grunt.registerTask('monitor', ['concurrent:monitor']); + grunt.registerTask('travis', ['js_compile', 'sass_compile', 'connect', 'jasmine']); + grunt.registerTask('jas_test', ['connect', 'jasmine']); + grunt.registerTask('test_repeat', function(){ + const tasks = ['connect']; + const n = 30; + for (let i = 0; i < n; i++) { + tasks.push('jasmine'); + } + + grunt.task.run(tasks); + + }); + grunt.registerTask('docs', ['js_compile', 'copy:docs', 'sass:gh', 'postcss:gh', 'pug', 'replace:docs']); +}; diff --git a/node_modules/@materializecss/materialize/LICENSE b/node_modules/@materializecss/materialize/LICENSE new file mode 100755 index 0000000..2e886d3 --- /dev/null +++ b/node_modules/@materializecss/materialize/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2014-2019 Materialize + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/@materializecss/materialize/README.md b/node_modules/@materializecss/materialize/README.md new file mode 100755 index 0000000..668a6e4 --- /dev/null +++ b/node_modules/@materializecss/materialize/README.md @@ -0,0 +1,97 @@ +

+ + + +

+ +

MaterializeCSS

+ +

+ Materialize, a CSS Framework based on material design. +
+ -- Browse the docs -- +
+
+ + GitHub Actions badge + + + npm version badge + + + jsDelivr version badge + + + dependencies Status badge + + + devDependency Status badge + + + Gitter badge + +

+ +## Table of Contents +- [Quickstart](#quickstart) +- [Documentation](#documentation) +- [Build](#build) +- [Supported Browsers](#supported-browsers) +- [Changelog](#changelog) +- [Testing](#testing) +- [Contributing](#contributing) +- [Copyright and license](#copyright-and-license) + +## Quickstart: +Read the [getting started guide](https://materializecss.github.io/materialize/getting-started.html) for more information on how to use materialize. + +- [Download the latest release](https://github.com/materializecss/materialize/releases/latest) of materialize directly from GitHub. ([Beta](https://github.com/materializecss/materialize/releases/)) +- Clone the repo: `git clone https://github.com/materializecss/materialize.git` +- Include the files via [jsDelivr](https://www.jsdelivr.com/package/npm/@materializecss/materialize). +- Install with [npm](https://www.npmjs.com): `npm install @materializecss/materialize` (Beta: `npm install @materializecss/materialize@next`) + +## Documentation +The documentation can be found at . To run the documentation locally on your machine, you need [Node.js](https://nodejs.org/en/) installed on your computer. + +### Running documentation locally +Run these commands to set up the documentation: + +```bash +git clone https://github.com/materializecss/materialize +cd materialize +npm install +``` + +Then run `npm run dev` to compile the documentation. When it finishes, open a new browser window and navigate to `localhost:8000/docs`. We use [BrowserSync](https://www.browsersync.io/) to display the documentation. + +### Documentation for previous releases +Previous releases and their documentation are available for [download](https://github.com/materializecss/materialize/releases). + +## Build +If you want to build `materialize.css` or `materialize.js` from the latest commit, you can build the files with the following command after `npm install`. See `package.json` to check the current version like `1.0.0`. + +```sh +npm run release -- --oldver= --newver= +``` + +## Supported Browsers: +Materialize is compatible with: + +- Chrome 35+ +- Firefox 31+ +- Safari 9+ +- Opera +- Edge +- IE 11+ + +## Changelog +For changelogs, check out [the Releases section of materialize](https://github.com/materializecss/materialize/releases) or the [CHANGELOG.md](CHANGELOG.md). + +## Testing +We use Jasmine as our testing framework and we're trying to write a robust test suite for our components. If you want to help, [here's a starting guide on how to write tests in Jasmine](CONTRIBUTING.md#jasmine-testing-guide). + +## Contributing +Check out the [CONTRIBUTING document](CONTRIBUTING.md) in the root of the repository to learn how you can contribute. You can also browse the [help-wanted](https://github.com/materializecss/materialize/labels/help-wanted) tag in our issue tracker to find things to do. + +## Copyright and license +Code Copyright 2021 Materialize. Code released under the MIT license. diff --git a/node_modules/@materializecss/materialize/dist/.DS_Store b/node_modules/@materializecss/materialize/dist/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..e85a3f642636dc21b0b382e64b38d0a48d0245fd GIT binary patch literal 6148 zcmeHK-AcnS6i(dKlp*v&(aV6h1LvGF@ut-I0#@`wWwv%`u{LAf?8O-LR$s_B@p(Ka zNx`vQi@0+j`Oa_Be9-(b#<)L;4;gbAV*(l?M`ekidueFRCL?kjBOgYoiop7ehBo%s z0l&S*9$C)vsQCH)X_AjytuMY-tFLct3LzTeK6q9|Fb>C)+z&^$Xk96lMwK2$*U6yh zyW8g~8;40Y80mr}9ze?7O_If`@YN)Xb6p#lfN&hA@9s{g$K9rEcRRDDoSwE@P1!j* znav!rvwv`Q*?&o2GxcuR