input-duration 2.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +358 -0
- package/docs/chrono.js.html +742 -0
- package/docs/fonts/OpenSans-Bold-webfont.eot +0 -0
- package/docs/fonts/OpenSans-Bold-webfont.svg +1830 -0
- package/docs/fonts/OpenSans-Bold-webfont.woff +0 -0
- package/docs/fonts/OpenSans-BoldItalic-webfont.eot +0 -0
- package/docs/fonts/OpenSans-BoldItalic-webfont.svg +1830 -0
- package/docs/fonts/OpenSans-BoldItalic-webfont.woff +0 -0
- package/docs/fonts/OpenSans-Italic-webfont.eot +0 -0
- package/docs/fonts/OpenSans-Italic-webfont.svg +1830 -0
- package/docs/fonts/OpenSans-Italic-webfont.woff +0 -0
- package/docs/fonts/OpenSans-Light-webfont.eot +0 -0
- package/docs/fonts/OpenSans-Light-webfont.svg +1831 -0
- package/docs/fonts/OpenSans-Light-webfont.woff +0 -0
- package/docs/fonts/OpenSans-LightItalic-webfont.eot +0 -0
- package/docs/fonts/OpenSans-LightItalic-webfont.svg +1835 -0
- package/docs/fonts/OpenSans-LightItalic-webfont.woff +0 -0
- package/docs/fonts/OpenSans-Regular-webfont.eot +0 -0
- package/docs/fonts/OpenSans-Regular-webfont.svg +1831 -0
- package/docs/fonts/OpenSans-Regular-webfont.woff +0 -0
- package/docs/global.html +253 -0
- package/docs/global.html#ChronlyHMS +224 -0
- package/docs/index.html +66 -0
- package/docs/module-ChronlyHMS%20Module-ChronlyHMS.html +1745 -0
- package/docs/module-ChronlyHMS%20Module.html +145 -0
- package/docs/scripts/linenumber.js +25 -0
- package/docs/scripts/prettify/Apache-License-2.0.txt +202 -0
- package/docs/scripts/prettify/lang-css.js +2 -0
- package/docs/scripts/prettify/prettify.js +28 -0
- package/docs/styles/jsdoc-default.css +358 -0
- package/docs/styles/prettify-jsdoc.css +111 -0
- package/docs/styles/prettify-tomorrow.css +132 -0
- package/index.js +710 -0
- package/package.json +25 -0
- package/readme/html.png +0 -0
- package/readme/logo.svg +5 -0
- package/readme/safariBad.png +0 -0
- package/webpack.config.js +39 -0
package/package.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "input-duration",
|
|
3
|
+
"version": "2.0.11",
|
|
4
|
+
"author": "Stephan Luis <stephan@learnsense.org>",
|
|
5
|
+
"description": "This is the beginning of 'Input-Duration' it is a javascript control widget that provides an hour, minute, second, and millisecond control for HTML5.",
|
|
6
|
+
"browser": "indexjs",
|
|
7
|
+
"module": "index.js",
|
|
8
|
+
"main": "index.js",
|
|
9
|
+
"type": "module",
|
|
10
|
+
"scripts": {
|
|
11
|
+
"test": " node ./Tests/",
|
|
12
|
+
"build": "webpack && date '+%T'",
|
|
13
|
+
"devbuild": "webpack --mode=development && date '+%T'",
|
|
14
|
+
"start": "python3 -m http.server"
|
|
15
|
+
},
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "git+https://github.com/StephanLuis/input-duration.git"
|
|
19
|
+
},
|
|
20
|
+
"license": "ISC",
|
|
21
|
+
"bugs": {
|
|
22
|
+
"url": "https://github.com/StephanLuis/input-duration/issues"
|
|
23
|
+
},
|
|
24
|
+
"homepage": "https://github.com/StephanLuis/input-duration#readme"
|
|
25
|
+
}
|
package/readme/html.png
ADDED
|
Binary file
|
package/readme/logo.svg
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true"
|
|
2
|
+
focusable="false" data-prefix="fal" data-icon="stopwatch" class="svg-inline--fa fa-stopwatch fa-w-14"
|
|
3
|
+
role="img" viewBox="0 0 448 512">
|
|
4
|
+
<path xmlns="http://www.w3.org/2000/svg" fill="currentColor" d="M393.9 184l22.6-22.6c4.7-4.7 4.7-12.3 0-17l-17-17c-4.7-4.7-12.3-4.7-17 0l-20.7 20.7c-31.1-27.5-70.4-45.9-113.8-50.8V48h28c6.6 0 12-5.4 12-12V12c0-6.6-5.4-12-12-12H172c-6.6 0-12 5.4-12 12v24c0 6.6 5.4 12 12 12h28v49.4C96.4 109.3 16 197.2 16 304c0 114.9 93.1 208 208 208s208-93.1 208-208c0-44.7-14.1-86.1-38.1-120zM224 464c-88.4 0-160-71.6-160-160s71.6-160 160-160 160 71.6 160 160-71.6 160-160 160zm12-112h-24c-6.6 0-12-5.4-12-12V204c0-6.6 5.4-12 12-12h24c6.6 0 12 5.4 12 12v136c0 6.6-5.4 12-12 12z"/>
|
|
5
|
+
</svg>
|
|
Binary file
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
const path = require('path');
|
|
2
|
+
|
|
3
|
+
module.exports = {
|
|
4
|
+
entry: './src/chrono.js',
|
|
5
|
+
output: {
|
|
6
|
+
path: path.resolve(__dirname, 'dist'),
|
|
7
|
+
filename: 'chronoBundle.js',
|
|
8
|
+
// library: {
|
|
9
|
+
// name: 'chronoly',
|
|
10
|
+
// type: 'umd',
|
|
11
|
+
// },
|
|
12
|
+
},
|
|
13
|
+
module: {
|
|
14
|
+
rules: [
|
|
15
|
+
{
|
|
16
|
+
test: /\.css$/i,
|
|
17
|
+
use: ['style-loader', 'css-loader'],
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
test: /\.(png|svg|jpg|jpeg|gif)$/i,
|
|
21
|
+
type: 'asset/inline',
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
test: /\.scss$/,
|
|
25
|
+
use: [
|
|
26
|
+
'style-loader', // creates style nodes from JS strings
|
|
27
|
+
{
|
|
28
|
+
loader: 'css-loader', // translates CSS into CommonJS
|
|
29
|
+
options: {
|
|
30
|
+
importLoaders: 1
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
'postcss-loader', // post process the compiled CSS
|
|
34
|
+
'sass-loader' // compiles Sass to CSS, using Node Sass by default
|
|
35
|
+
]
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
};
|