Initial 07 commit

This commit is contained in:
philipp lang 2026-09-23 16:23:21 +02:00
commit bdf5ba6e51
117 changed files with 71243 additions and 0 deletions

3
checkbox/.browserslistrc Normal file
View File

@ -0,0 +1,3 @@
> 1%
last 2 versions
not ie <= 8

18
checkbox/.eslintrc.js Executable file
View File

@ -0,0 +1,18 @@
module.exports = {
root: true,
env: {
node: true
},
extends: ["plugin:vue/essential", "@vue/standard"],
rules: {
indent: ['error', 4],
'space-before-function-paren': ['error', 'never'],
'semi': ['error', 'always'],
'no-multi-spaces': ['error', { 'ignoreEOLComments': true }],
'space-before-blocks': ['error', 'always'],
'no-multiple-empty-lines': ['error', { 'maxEOF': 1, 'max': 2 }]
},
parserOptions: {
parser: "babel-eslint"
}
};

20
checkbox/.gitignore vendored Normal file
View File

@ -0,0 +1,20 @@
.DS_Store
node_modules
# local env files
.env.local
.env.*.local
# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw*

29
checkbox/README.md Normal file
View File

@ -0,0 +1,29 @@
# checkbox
## Project setup
```
npm install
```
### Compiles and hot-reloads for development
```
npm run serve
```
### Compiles and minifies for production
```
npm run build
```
### Run your tests
```
npm run test
```
### Lints and fixes files
```
npm run lint
```
### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).

3
checkbox/babel.config.js Executable file
View File

@ -0,0 +1,3 @@
module.exports = {
presets: ["@vue/app"]
};

695
checkbox/dist/checkbox.common.js vendored Executable file
View File

@ -0,0 +1,695 @@
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = "376b");
/******/ })
/************************************************************************/
/******/ ({
/***/ "0096":
/***/ (function(module, exports) {
module.exports = function (it) {
return typeof it === 'object' ? it !== null : typeof it === 'function';
};
/***/ }),
/***/ "03a2":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
__webpack_require__("314c");
var anObject = __webpack_require__("c35f");
var $flags = __webpack_require__("5b23");
var DESCRIPTORS = __webpack_require__("17fd");
var TO_STRING = 'toString';
var $toString = /./[TO_STRING];
var define = function (fn) {
__webpack_require__("095b")(RegExp.prototype, TO_STRING, fn, true);
};
// 21.2.5.14 RegExp.prototype.toString()
if (__webpack_require__("b217")(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) {
define(function toString() {
var R = anObject(this);
return '/'.concat(R.source, '/',
'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined);
});
// FF44- RegExp#toString has a wrong name
} else if ($toString.name != TO_STRING) {
define(function toString() {
return $toString.call(this);
});
}
/***/ }),
/***/ "0481":
/***/ (function(module, exports, __webpack_require__) {
var isObject = __webpack_require__("0096");
var document = __webpack_require__("9bc3").document;
// typeof document.createElement is 'object' in old IE
var is = isObject(document) && isObject(document.createElement);
module.exports = function (it) {
return is ? document.createElement(it) : {};
};
/***/ }),
/***/ "095b":
/***/ (function(module, exports, __webpack_require__) {
var global = __webpack_require__("9bc3");
var hide = __webpack_require__("83e9");
var has = __webpack_require__("3404");
var SRC = __webpack_require__("84cc")('src');
var $toString = __webpack_require__("839b");
var TO_STRING = 'toString';
var TPL = ('' + $toString).split(TO_STRING);
__webpack_require__("3f61").inspectSource = function (it) {
return $toString.call(it);
};
(module.exports = function (O, key, val, safe) {
var isFunction = typeof val == 'function';
if (isFunction) has(val, 'name') || hide(val, 'name', key);
if (O[key] === val) return;
if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));
if (O === global) {
O[key] = val;
} else if (!safe) {
delete O[key];
hide(O, key, val);
} else if (O[key]) {
O[key] = val;
} else {
hide(O, key, val);
}
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
})(Function.prototype, TO_STRING, function toString() {
return typeof this == 'function' && this[SRC] || $toString.call(this);
});
/***/ }),
/***/ "17fd":
/***/ (function(module, exports, __webpack_require__) {
// Thank's IE8 for his funny defineProperty
module.exports = !__webpack_require__("b217")(function () {
return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
});
/***/ }),
/***/ "2098":
/***/ (function(module, exports) {
// document.currentScript polyfill by Adam Miller
// MIT license
(function(document){
var currentScript = "currentScript",
scripts = document.getElementsByTagName('script'); // Live NodeList collection
// If browser needs currentScript polyfill, add get currentScript() to the document object
if (!(currentScript in document)) {
Object.defineProperty(document, currentScript, {
get: function(){
// IE 6-10 supports script readyState
// IE 10+ support stack trace
try { throw new Error(); }
catch (err) {
// Find the second match for the "at" string to get file src url from stack.
// Specifically works with the format of stack traces in IE.
var i, res = ((/.*at [^\(]*\((.*):.+:.+\)$/ig).exec(err.stack) || [false])[1];
// For all scripts on the page, if src matches or if ready state is interactive, return the script tag
for(i in scripts){
if(scripts[i].src == res || scripts[i].readyState == "interactive"){
return scripts[i];
}
}
// If no match, return null
return null;
}
}
});
}
})(document);
/***/ }),
/***/ "314c":
/***/ (function(module, exports, __webpack_require__) {
// 21.2.5.3 get RegExp.prototype.flags()
if (__webpack_require__("17fd") && /./g.flags != 'g') __webpack_require__("cce7").f(RegExp.prototype, 'flags', {
configurable: true,
get: __webpack_require__("5b23")
});
/***/ }),
/***/ "3404":
/***/ (function(module, exports) {
var hasOwnProperty = {}.hasOwnProperty;
module.exports = function (it, key) {
return hasOwnProperty.call(it, key);
};
/***/ }),
/***/ "376b":
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
// CONCATENATED MODULE: /usr/local/lib/node_modules/@vue/cli-service-global/node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
// This file is imported into lib/wc client bundles.
if (typeof window !== 'undefined') {
if (true) {
__webpack_require__("2098")
}
var i
if ((i = window.document.currentScript) && (i = i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))) {
__webpack_require__.p = i[1] // eslint-disable-line
}
}
// Indicate to webpack that this file can be concatenated
/* harmony default export */ var setPublicPath = (null);
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7da7298c-vue-loader-template"}!/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Checkbox.vue?vue&type=template&id=5ff1eb5c&
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"field-wrapper"},[_c('label',{staticClass:"fancy-checkbox",attrs:{"for":_vm.unique}},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.v),expression:"v"}],attrs:{"type":"checkbox","id":_vm.unique,"disabled":_vm.disabled},domProps:{"checked":Array.isArray(_vm.v)?_vm._i(_vm.v,null)>-1:(_vm.v)},on:{"change":function($event){var $$a=_vm.v,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.v=$$a.concat([$$v]))}else{$$i>-1&&(_vm.v=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.v=$$c}}}}),_c('span',{class:['tw-bg-primary']}),(_vm.label)?_c('span',{staticClass:"w-full"},[_vm._v(_vm._s(_vm.label))]):_vm._e(),(_vm.$slots.default)?_c('span',{staticClass:"w-full aside-info"},[_vm._t("default")],2):_vm._e()])])}
var staticRenderFns = []
// CONCATENATED MODULE: ./src/components/Checkbox.vue?vue&type=template&id=5ff1eb5c&
// EXTERNAL MODULE: /usr/local/lib/node_modules/@vue/cli-service-global/node_modules/core-js/modules/es6.regexp.to-string.js
var es6_regexp_to_string = __webpack_require__("03a2");
// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib??ref--12-1!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Checkbox.vue?vue&type=script&lang=js&
//
//
//
//
//
//
//
//
//
//
//
/* harmony default export */ var Checkboxvue_type_script_lang_js_ = ({
model: {
prop: 'items',
event: 'input'
},
props: {
disabled: {
type: Boolean,
default: false
},
value: {
default: false
},
label: {
default: false
},
items: {
default: undefined
}
},
computed: {
v: {
set: function set(v) {
var _this = this;
if (this.disabled === true) {
return;
}
if (typeof this.items === 'boolean') {
this.$emit('input', v);
return;
}
var a = this.items.filter(function (i) {
return i !== _this.value;
});
if (v) {
a.push(this.value);
}
this.$emit('input', a);
},
get: function get() {
if (typeof this.items === 'boolean') {
return this.items;
}
if (typeof this.items === 'undefined') {
return this.$emit('input', false);
}
return this.items.indexOf(this.value) !== -1;
}
},
unique: function unique() {
return Math.random().toString(36).substr(2, 9) + Math.random().toString(36).substr(2, 9);
}
}
});
// CONCATENATED MODULE: ./src/components/Checkbox.vue?vue&type=script&lang=js&
/* harmony default export */ var components_Checkboxvue_type_script_lang_js_ = (Checkboxvue_type_script_lang_js_);
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
/* globals __VUE_SSR_CONTEXT__ */
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
// This module is a runtime utility for cleaner component module output and will
// be included in the final webpack user bundle.
function normalizeComponent (
scriptExports,
render,
staticRenderFns,
functionalTemplate,
injectStyles,
scopeId,
moduleIdentifier, /* server only */
shadowMode /* vue-cli only */
) {
// Vue.extend constructor export interop
var options = typeof scriptExports === 'function'
? scriptExports.options
: scriptExports
// render functions
if (render) {
options.render = render
options.staticRenderFns = staticRenderFns
options._compiled = true
}
// functional template
if (functionalTemplate) {
options.functional = true
}
// scopedId
if (scopeId) {
options._scopeId = 'data-v-' + scopeId
}
var hook
if (moduleIdentifier) { // server build
hook = function (context) {
// 2.3 injection
context =
context || // cached call
(this.$vnode && this.$vnode.ssrContext) || // stateful
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
// 2.2 with runInNewContext: true
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
context = __VUE_SSR_CONTEXT__
}
// inject component styles
if (injectStyles) {
injectStyles.call(this, context)
}
// register component module identifier for async chunk inferrence
if (context && context._registeredComponents) {
context._registeredComponents.add(moduleIdentifier)
}
}
// used by ssr in case component is cached and beforeCreate
// never gets called
options._ssrRegister = hook
} else if (injectStyles) {
hook = shadowMode
? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
: injectStyles
}
if (hook) {
if (options.functional) {
// for template-only hot-reload because in that case the render fn doesn't
// go through the normalizer
options._injectStyles = hook
// register for functioal component in vue file
var originalRender = options.render
options.render = function renderWithStyleInjection (h, context) {
hook.call(context)
return originalRender(h, context)
}
} else {
// inject component registration as beforeCreate hook
var existing = options.beforeCreate
options.beforeCreate = existing
? [].concat(existing, hook)
: [hook]
}
}
return {
exports: scriptExports,
options: options
}
}
// CONCATENATED MODULE: ./src/components/Checkbox.vue
/* normalize component */
var component = normalizeComponent(
components_Checkboxvue_type_script_lang_js_,
render,
staticRenderFns,
false,
null,
null,
null
)
/* harmony default export */ var Checkbox = (component.exports);
// CONCATENATED MODULE: /usr/local/lib/node_modules/@vue/cli-service-global/node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
/* harmony default export */ var entry_lib = __webpack_exports__["default"] = (Checkbox);
/***/ }),
/***/ "3f61":
/***/ (function(module, exports) {
var core = module.exports = { version: '2.6.9' };
if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
/***/ }),
/***/ "5b23":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// 21.2.5.3 get RegExp.prototype.flags
var anObject = __webpack_require__("c35f");
module.exports = function () {
var that = anObject(this);
var result = '';
if (that.global) result += 'g';
if (that.ignoreCase) result += 'i';
if (that.multiline) result += 'm';
if (that.unicode) result += 'u';
if (that.sticky) result += 'y';
return result;
};
/***/ }),
/***/ "5b7a":
/***/ (function(module, exports) {
module.exports = function (bitmap, value) {
return {
enumerable: !(bitmap & 1),
configurable: !(bitmap & 2),
writable: !(bitmap & 4),
value: value
};
};
/***/ }),
/***/ "839b":
/***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__("aabf")('native-function-to-string', Function.toString);
/***/ }),
/***/ "83e9":
/***/ (function(module, exports, __webpack_require__) {
var dP = __webpack_require__("cce7");
var createDesc = __webpack_require__("5b7a");
module.exports = __webpack_require__("17fd") ? function (object, key, value) {
return dP.f(object, key, createDesc(1, value));
} : function (object, key, value) {
object[key] = value;
return object;
};
/***/ }),
/***/ "84cc":
/***/ (function(module, exports) {
var id = 0;
var px = Math.random();
module.exports = function (key) {
return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
};
/***/ }),
/***/ "97f0":
/***/ (function(module, exports) {
module.exports = false;
/***/ }),
/***/ "9bc3":
/***/ (function(module, exports) {
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
var global = module.exports = typeof window != 'undefined' && window.Math == Math
? window : typeof self != 'undefined' && self.Math == Math ? self
// eslint-disable-next-line no-new-func
: Function('return this')();
if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
/***/ }),
/***/ "aabf":
/***/ (function(module, exports, __webpack_require__) {
var core = __webpack_require__("3f61");
var global = __webpack_require__("9bc3");
var SHARED = '__core-js_shared__';
var store = global[SHARED] || (global[SHARED] = {});
(module.exports = function (key, value) {
return store[key] || (store[key] = value !== undefined ? value : {});
})('versions', []).push({
version: core.version,
mode: __webpack_require__("97f0") ? 'pure' : 'global',
copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
});
/***/ }),
/***/ "b217":
/***/ (function(module, exports) {
module.exports = function (exec) {
try {
return !!exec();
} catch (e) {
return true;
}
};
/***/ }),
/***/ "be9a":
/***/ (function(module, exports, __webpack_require__) {
module.exports = !__webpack_require__("17fd") && !__webpack_require__("b217")(function () {
return Object.defineProperty(__webpack_require__("0481")('div'), 'a', { get: function () { return 7; } }).a != 7;
});
/***/ }),
/***/ "c35f":
/***/ (function(module, exports, __webpack_require__) {
var isObject = __webpack_require__("0096");
module.exports = function (it) {
if (!isObject(it)) throw TypeError(it + ' is not an object!');
return it;
};
/***/ }),
/***/ "cce7":
/***/ (function(module, exports, __webpack_require__) {
var anObject = __webpack_require__("c35f");
var IE8_DOM_DEFINE = __webpack_require__("be9a");
var toPrimitive = __webpack_require__("fc8a");
var dP = Object.defineProperty;
exports.f = __webpack_require__("17fd") ? Object.defineProperty : function defineProperty(O, P, Attributes) {
anObject(O);
P = toPrimitive(P, true);
anObject(Attributes);
if (IE8_DOM_DEFINE) try {
return dP(O, P, Attributes);
} catch (e) { /* empty */ }
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
if ('value' in Attributes) O[P] = Attributes.value;
return O;
};
/***/ }),
/***/ "fc8a":
/***/ (function(module, exports, __webpack_require__) {
// 7.1.1 ToPrimitive(input [, PreferredType])
var isObject = __webpack_require__("0096");
// instead of the ES6 spec version, we didn't implement @@toPrimitive case
// and the second argument - flag - preferred type is a string
module.exports = function (it, S) {
if (!isObject(it)) return it;
var fn, val;
if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;
if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
throw TypeError("Can't convert object to primitive value");
};
/***/ })
/******/ })["default"];
//# sourceMappingURL=checkbox.common.js.map

1
checkbox/dist/checkbox.common.js.map vendored Executable file

File diff suppressed because one or more lines are too long

705
checkbox/dist/checkbox.umd.js vendored Executable file
View File

@ -0,0 +1,705 @@
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define([], factory);
else if(typeof exports === 'object')
exports["checkbox"] = factory();
else
root["checkbox"] = factory();
})((typeof self !== 'undefined' ? self : this), function() {
return /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = "376b");
/******/ })
/************************************************************************/
/******/ ({
/***/ "0096":
/***/ (function(module, exports) {
module.exports = function (it) {
return typeof it === 'object' ? it !== null : typeof it === 'function';
};
/***/ }),
/***/ "03a2":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
__webpack_require__("314c");
var anObject = __webpack_require__("c35f");
var $flags = __webpack_require__("5b23");
var DESCRIPTORS = __webpack_require__("17fd");
var TO_STRING = 'toString';
var $toString = /./[TO_STRING];
var define = function (fn) {
__webpack_require__("095b")(RegExp.prototype, TO_STRING, fn, true);
};
// 21.2.5.14 RegExp.prototype.toString()
if (__webpack_require__("b217")(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) {
define(function toString() {
var R = anObject(this);
return '/'.concat(R.source, '/',
'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined);
});
// FF44- RegExp#toString has a wrong name
} else if ($toString.name != TO_STRING) {
define(function toString() {
return $toString.call(this);
});
}
/***/ }),
/***/ "0481":
/***/ (function(module, exports, __webpack_require__) {
var isObject = __webpack_require__("0096");
var document = __webpack_require__("9bc3").document;
// typeof document.createElement is 'object' in old IE
var is = isObject(document) && isObject(document.createElement);
module.exports = function (it) {
return is ? document.createElement(it) : {};
};
/***/ }),
/***/ "095b":
/***/ (function(module, exports, __webpack_require__) {
var global = __webpack_require__("9bc3");
var hide = __webpack_require__("83e9");
var has = __webpack_require__("3404");
var SRC = __webpack_require__("84cc")('src');
var $toString = __webpack_require__("839b");
var TO_STRING = 'toString';
var TPL = ('' + $toString).split(TO_STRING);
__webpack_require__("3f61").inspectSource = function (it) {
return $toString.call(it);
};
(module.exports = function (O, key, val, safe) {
var isFunction = typeof val == 'function';
if (isFunction) has(val, 'name') || hide(val, 'name', key);
if (O[key] === val) return;
if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));
if (O === global) {
O[key] = val;
} else if (!safe) {
delete O[key];
hide(O, key, val);
} else if (O[key]) {
O[key] = val;
} else {
hide(O, key, val);
}
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
})(Function.prototype, TO_STRING, function toString() {
return typeof this == 'function' && this[SRC] || $toString.call(this);
});
/***/ }),
/***/ "17fd":
/***/ (function(module, exports, __webpack_require__) {
// Thank's IE8 for his funny defineProperty
module.exports = !__webpack_require__("b217")(function () {
return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
});
/***/ }),
/***/ "2098":
/***/ (function(module, exports) {
// document.currentScript polyfill by Adam Miller
// MIT license
(function(document){
var currentScript = "currentScript",
scripts = document.getElementsByTagName('script'); // Live NodeList collection
// If browser needs currentScript polyfill, add get currentScript() to the document object
if (!(currentScript in document)) {
Object.defineProperty(document, currentScript, {
get: function(){
// IE 6-10 supports script readyState
// IE 10+ support stack trace
try { throw new Error(); }
catch (err) {
// Find the second match for the "at" string to get file src url from stack.
// Specifically works with the format of stack traces in IE.
var i, res = ((/.*at [^\(]*\((.*):.+:.+\)$/ig).exec(err.stack) || [false])[1];
// For all scripts on the page, if src matches or if ready state is interactive, return the script tag
for(i in scripts){
if(scripts[i].src == res || scripts[i].readyState == "interactive"){
return scripts[i];
}
}
// If no match, return null
return null;
}
}
});
}
})(document);
/***/ }),
/***/ "314c":
/***/ (function(module, exports, __webpack_require__) {
// 21.2.5.3 get RegExp.prototype.flags()
if (__webpack_require__("17fd") && /./g.flags != 'g') __webpack_require__("cce7").f(RegExp.prototype, 'flags', {
configurable: true,
get: __webpack_require__("5b23")
});
/***/ }),
/***/ "3404":
/***/ (function(module, exports) {
var hasOwnProperty = {}.hasOwnProperty;
module.exports = function (it, key) {
return hasOwnProperty.call(it, key);
};
/***/ }),
/***/ "376b":
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
// CONCATENATED MODULE: /usr/local/lib/node_modules/@vue/cli-service-global/node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
// This file is imported into lib/wc client bundles.
if (typeof window !== 'undefined') {
if (true) {
__webpack_require__("2098")
}
var i
if ((i = window.document.currentScript) && (i = i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))) {
__webpack_require__.p = i[1] // eslint-disable-line
}
}
// Indicate to webpack that this file can be concatenated
/* harmony default export */ var setPublicPath = (null);
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7da7298c-vue-loader-template"}!/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Checkbox.vue?vue&type=template&id=5ff1eb5c&
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"field-wrapper"},[_c('label',{staticClass:"fancy-checkbox",attrs:{"for":_vm.unique}},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.v),expression:"v"}],attrs:{"type":"checkbox","id":_vm.unique,"disabled":_vm.disabled},domProps:{"checked":Array.isArray(_vm.v)?_vm._i(_vm.v,null)>-1:(_vm.v)},on:{"change":function($event){var $$a=_vm.v,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.v=$$a.concat([$$v]))}else{$$i>-1&&(_vm.v=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.v=$$c}}}}),_c('span',{class:['tw-bg-primary']}),(_vm.label)?_c('span',{staticClass:"w-full"},[_vm._v(_vm._s(_vm.label))]):_vm._e(),(_vm.$slots.default)?_c('span',{staticClass:"w-full aside-info"},[_vm._t("default")],2):_vm._e()])])}
var staticRenderFns = []
// CONCATENATED MODULE: ./src/components/Checkbox.vue?vue&type=template&id=5ff1eb5c&
// EXTERNAL MODULE: /usr/local/lib/node_modules/@vue/cli-service-global/node_modules/core-js/modules/es6.regexp.to-string.js
var es6_regexp_to_string = __webpack_require__("03a2");
// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib??ref--12-1!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Checkbox.vue?vue&type=script&lang=js&
//
//
//
//
//
//
//
//
//
//
//
/* harmony default export */ var Checkboxvue_type_script_lang_js_ = ({
model: {
prop: 'items',
event: 'input'
},
props: {
disabled: {
type: Boolean,
default: false
},
value: {
default: false
},
label: {
default: false
},
items: {
default: undefined
}
},
computed: {
v: {
set: function set(v) {
var _this = this;
if (this.disabled === true) {
return;
}
if (typeof this.items === 'boolean') {
this.$emit('input', v);
return;
}
var a = this.items.filter(function (i) {
return i !== _this.value;
});
if (v) {
a.push(this.value);
}
this.$emit('input', a);
},
get: function get() {
if (typeof this.items === 'boolean') {
return this.items;
}
if (typeof this.items === 'undefined') {
return this.$emit('input', false);
}
return this.items.indexOf(this.value) !== -1;
}
},
unique: function unique() {
return Math.random().toString(36).substr(2, 9) + Math.random().toString(36).substr(2, 9);
}
}
});
// CONCATENATED MODULE: ./src/components/Checkbox.vue?vue&type=script&lang=js&
/* harmony default export */ var components_Checkboxvue_type_script_lang_js_ = (Checkboxvue_type_script_lang_js_);
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
/* globals __VUE_SSR_CONTEXT__ */
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
// This module is a runtime utility for cleaner component module output and will
// be included in the final webpack user bundle.
function normalizeComponent (
scriptExports,
render,
staticRenderFns,
functionalTemplate,
injectStyles,
scopeId,
moduleIdentifier, /* server only */
shadowMode /* vue-cli only */
) {
// Vue.extend constructor export interop
var options = typeof scriptExports === 'function'
? scriptExports.options
: scriptExports
// render functions
if (render) {
options.render = render
options.staticRenderFns = staticRenderFns
options._compiled = true
}
// functional template
if (functionalTemplate) {
options.functional = true
}
// scopedId
if (scopeId) {
options._scopeId = 'data-v-' + scopeId
}
var hook
if (moduleIdentifier) { // server build
hook = function (context) {
// 2.3 injection
context =
context || // cached call
(this.$vnode && this.$vnode.ssrContext) || // stateful
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
// 2.2 with runInNewContext: true
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
context = __VUE_SSR_CONTEXT__
}
// inject component styles
if (injectStyles) {
injectStyles.call(this, context)
}
// register component module identifier for async chunk inferrence
if (context && context._registeredComponents) {
context._registeredComponents.add(moduleIdentifier)
}
}
// used by ssr in case component is cached and beforeCreate
// never gets called
options._ssrRegister = hook
} else if (injectStyles) {
hook = shadowMode
? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
: injectStyles
}
if (hook) {
if (options.functional) {
// for template-only hot-reload because in that case the render fn doesn't
// go through the normalizer
options._injectStyles = hook
// register for functioal component in vue file
var originalRender = options.render
options.render = function renderWithStyleInjection (h, context) {
hook.call(context)
return originalRender(h, context)
}
} else {
// inject component registration as beforeCreate hook
var existing = options.beforeCreate
options.beforeCreate = existing
? [].concat(existing, hook)
: [hook]
}
}
return {
exports: scriptExports,
options: options
}
}
// CONCATENATED MODULE: ./src/components/Checkbox.vue
/* normalize component */
var component = normalizeComponent(
components_Checkboxvue_type_script_lang_js_,
render,
staticRenderFns,
false,
null,
null,
null
)
/* harmony default export */ var Checkbox = (component.exports);
// CONCATENATED MODULE: /usr/local/lib/node_modules/@vue/cli-service-global/node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
/* harmony default export */ var entry_lib = __webpack_exports__["default"] = (Checkbox);
/***/ }),
/***/ "3f61":
/***/ (function(module, exports) {
var core = module.exports = { version: '2.6.9' };
if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
/***/ }),
/***/ "5b23":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// 21.2.5.3 get RegExp.prototype.flags
var anObject = __webpack_require__("c35f");
module.exports = function () {
var that = anObject(this);
var result = '';
if (that.global) result += 'g';
if (that.ignoreCase) result += 'i';
if (that.multiline) result += 'm';
if (that.unicode) result += 'u';
if (that.sticky) result += 'y';
return result;
};
/***/ }),
/***/ "5b7a":
/***/ (function(module, exports) {
module.exports = function (bitmap, value) {
return {
enumerable: !(bitmap & 1),
configurable: !(bitmap & 2),
writable: !(bitmap & 4),
value: value
};
};
/***/ }),
/***/ "839b":
/***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__("aabf")('native-function-to-string', Function.toString);
/***/ }),
/***/ "83e9":
/***/ (function(module, exports, __webpack_require__) {
var dP = __webpack_require__("cce7");
var createDesc = __webpack_require__("5b7a");
module.exports = __webpack_require__("17fd") ? function (object, key, value) {
return dP.f(object, key, createDesc(1, value));
} : function (object, key, value) {
object[key] = value;
return object;
};
/***/ }),
/***/ "84cc":
/***/ (function(module, exports) {
var id = 0;
var px = Math.random();
module.exports = function (key) {
return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
};
/***/ }),
/***/ "97f0":
/***/ (function(module, exports) {
module.exports = false;
/***/ }),
/***/ "9bc3":
/***/ (function(module, exports) {
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
var global = module.exports = typeof window != 'undefined' && window.Math == Math
? window : typeof self != 'undefined' && self.Math == Math ? self
// eslint-disable-next-line no-new-func
: Function('return this')();
if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
/***/ }),
/***/ "aabf":
/***/ (function(module, exports, __webpack_require__) {
var core = __webpack_require__("3f61");
var global = __webpack_require__("9bc3");
var SHARED = '__core-js_shared__';
var store = global[SHARED] || (global[SHARED] = {});
(module.exports = function (key, value) {
return store[key] || (store[key] = value !== undefined ? value : {});
})('versions', []).push({
version: core.version,
mode: __webpack_require__("97f0") ? 'pure' : 'global',
copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
});
/***/ }),
/***/ "b217":
/***/ (function(module, exports) {
module.exports = function (exec) {
try {
return !!exec();
} catch (e) {
return true;
}
};
/***/ }),
/***/ "be9a":
/***/ (function(module, exports, __webpack_require__) {
module.exports = !__webpack_require__("17fd") && !__webpack_require__("b217")(function () {
return Object.defineProperty(__webpack_require__("0481")('div'), 'a', { get: function () { return 7; } }).a != 7;
});
/***/ }),
/***/ "c35f":
/***/ (function(module, exports, __webpack_require__) {
var isObject = __webpack_require__("0096");
module.exports = function (it) {
if (!isObject(it)) throw TypeError(it + ' is not an object!');
return it;
};
/***/ }),
/***/ "cce7":
/***/ (function(module, exports, __webpack_require__) {
var anObject = __webpack_require__("c35f");
var IE8_DOM_DEFINE = __webpack_require__("be9a");
var toPrimitive = __webpack_require__("fc8a");
var dP = Object.defineProperty;
exports.f = __webpack_require__("17fd") ? Object.defineProperty : function defineProperty(O, P, Attributes) {
anObject(O);
P = toPrimitive(P, true);
anObject(Attributes);
if (IE8_DOM_DEFINE) try {
return dP(O, P, Attributes);
} catch (e) { /* empty */ }
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
if ('value' in Attributes) O[P] = Attributes.value;
return O;
};
/***/ }),
/***/ "fc8a":
/***/ (function(module, exports, __webpack_require__) {
// 7.1.1 ToPrimitive(input [, PreferredType])
var isObject = __webpack_require__("0096");
// instead of the ES6 spec version, we didn't implement @@toPrimitive case
// and the second argument - flag - preferred type is a string
module.exports = function (it, S) {
if (!isObject(it)) return it;
var fn, val;
if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;
if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
throw TypeError("Can't convert object to primitive value");
};
/***/ })
/******/ })["default"];
});
//# sourceMappingURL=checkbox.umd.js.map

1
checkbox/dist/checkbox.umd.js.map vendored Executable file

File diff suppressed because one or more lines are too long

2
checkbox/dist/checkbox.umd.min.js vendored Executable file

File diff suppressed because one or more lines are too long

1
checkbox/dist/checkbox.umd.min.js.map vendored Executable file

File diff suppressed because one or more lines are too long

19
checkbox/dist/demo.html vendored Normal file
View File

@ -0,0 +1,19 @@
<meta charset="utf-8">
<title>checkbox demo</title>
<script src="https://unpkg.com/vue"></script>
<script src="./checkbox.umd.js"></script>
<link rel="stylesheet" href="./checkbox.css">
<div id="app">
<demo></demo>
</div>
<script>
new Vue({
components: {
demo: checkbox
}
}).$mount('#app')
</script>

12694
checkbox/package-lock.json generated Executable file

File diff suppressed because it is too large Load Diff

26
checkbox/package.json Executable file
View File

@ -0,0 +1,26 @@
{
"name": "checkbox",
"version": "0.1.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue build --target=lib src/components/Checkbox.vue",
"lint": "vue-cli-service lint"
},
"dependencies": {
"@vue/eslint-config-standard": "^4.0.0",
"vue": "^2.5.22"
},
"devDependencies": {
"@vue/cli-plugin-babel": "^3.4.0",
"@vue/cli-plugin-eslint": "^3.4.0",
"@vue/cli-service": "^3.4.0",
"@vue/eslint-config-prettier": "^4.0.1",
"babel-eslint": "^10.0.1",
"eslint": "^5.8.0",
"eslint-plugin-vue": "^5.0.0",
"node-sass": "^4.9.0",
"sass-loader": "^7.1.0",
"vue-template-compiler": "^2.5.21"
}
}

5
checkbox/postcss.config.js Executable file
View File

@ -0,0 +1,5 @@
module.exports = {
plugins: {
autoprefixer: {}
}
};

BIN
checkbox/public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title>checkbox</title>
</head>
<body>
<noscript>
<strong>We're sorry but checkbox doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html>

35
checkbox/src/App.vue Normal file
View File

@ -0,0 +1,35 @@
<template>
<div id="app">
<div>
<h2>Single checkbox</h2>
<checkbox v-model="value.checked" label="Das ist eine Checkbox"></checkbox>
</div>
</div>
</template>
<script>
import Checkbox from '@/components/Checkbox.vue';
export default {
data() {
return {
value: {
checked: false
}
};
},
name: "app",
components: { Checkbox }
};
</script>
<style lang="scss">
#app {
width: 100vh;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
</style>

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

View File

@ -0,0 +1,90 @@
<template>
<div class="field-wrapper">
<label :for="unique" class="fancy-checkbox tw-leading-tight" :class="error ? 'has-error' : ''">
<input type="checkbox" v-model="v" :id="unique" :disabled="disabled" :name="name" />
<span :class="['tw-bg-primary']"></span>
<span v-if="label" class="w-full tw-inline-flex tw-items-center tw-ml-3">
<span>{{ label }}</span>
</span>
<span v-if="$slots.default" class="w-full aside-info"><slot></slot></span>
<span v-if="error" v-html="error" class="validation-message"></span>
</label>
</div>
</template>
<script>
export default {
model: {
prop: 'items',
event: 'input'
},
props: {
hint: {
default: function() { return false; }
},
error: {
default: function() {
return null;
}
},
disabled: {
type: Boolean,
default: false
},
value: {
default: false
},
label: {
default: false
},
items: {
default: undefined
},
name: {
default: '',
}
},
computed: {
v: {
set(v) {
if (this.disabled === true) {
return;
}
if (typeof this.items === 'boolean') {
this.$emit('input', v);
return;
}
var a = this.items.filter(i => i !== this.value);
if (v) {
a.push(this.value);
}
this.$emit('input', a);
},
get() {
if (typeof this.items === 'boolean') {
return this.items;
}
if (typeof this.items === 'undefined') {
return this.$emit('input', false);
}
return this.items.indexOf(this.value) !== -1;
}
},
unique() {
return Math.random().toString(36).substr(2, 9) +
Math.random().toString(36).substr(2, 9)
;
}
},
mounted() {
if (typeof this.items === 'undefined') {
this.$emit('input', false);
}
}
};
</script>

8
checkbox/src/main.js Executable file
View File

@ -0,0 +1,8 @@
import Vue from "vue";
import App from "./App.vue";
Vue.config.productionTip = false;
new Vue({
render: h => h(App)
}).$mount("#app");

11
index.js Executable file
View File

@ -0,0 +1,11 @@
import Range from './range/src/components/Range.vue';
import Checkbox from './checkbox/src/components/Checkbox.vue';
import Switch from './switch/src/components/Switch.vue';
import Stepper from './stepper/src/components/Stepper.vue';
import Radio from './radio/src/components/Radio.vue';
import Tooltip from './tooltip/tooltip.js';
import ScrollTo from './mixins/scrollTo.js';
import minmax from './jquery/minmax.js';
import trackFileNames from './jquery/trackFileNames.js';
export { Range, Stepper, Checkbox, Radio, Tooltip, ScrollTo, minmax, trackFileNames };

29
jquery/minmax.js vendored Executable file
View File

@ -0,0 +1,29 @@
export default function(jQuery) {
jQuery = jQuery || window.jQuery;
jQuery.fn.minmax = function() {
jQuery(this).each(function() {
jQuery(this).change(function(e) {
if (jQuery(this).data('onfix') === true) {
jQuery(this).data('onfix', false);
return;
}
var checked = jQuery(this).closest('form').find('[data-minmax]').filter('[name="' + jQuery(this).attr('name') + '"]').filter(':checked').length;
var min = parseInt(jQuery(this).attr('min'));
if (min && checked > min) {
jQuery(this).data('onfix', true);
jQuery(this).prop('checked', false).trigger('change');
return;
}
var max = parseInt(jQuery(this).attr('max'));
if (max && checked > max) {
jQuery(this).data('onfix', true);
jQuery(this).prop('checked', false).trigger('change');
}
});
});
};
};

13
jquery/trackFileNames.js vendored Executable file
View File

@ -0,0 +1,13 @@
export default function($) {
$.fn.trackFileNames = function() {
$(this).each(function() {
$(this).children('input[type=file]').change(function() {
$(this).next().html(this.files[0].name);
});
});
};
$(document).ready(function() {
$('[data-track-file-names]').trackFileNames();
});
};

18
mixins/scrollTo.js Executable file
View File

@ -0,0 +1,18 @@
export default {
data: function() {
return {
scrollOffset: 0
};
},
methods: {
scrollTo(el) {
var vm = this;
window.setTimeout(function() {
window.jQuery('html, body').animate({
scrollTop: window.jQuery(vm.$refs[el]).offset().top + (vm.scrollOffset * -1)
}, 300);
}, 200);
}
}
};

20
package.json Executable file
View File

@ -0,0 +1,20 @@
{
"name": "js-modules",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git@gitlab.aw001.de:aweos/js-modules.git"
},
"author": "",
"license": "ISC",
"description": "",
"dependencies": {
"popper.js": "^1.15.0",
"tooltip.js": "^1.3.2",
"merge": "1.2.1"
}
}

3
radio/.browserslistrc Normal file
View File

@ -0,0 +1,3 @@
> 1%
last 2 versions
not ie <= 8

26
radio/.eslintrc.js Executable file
View File

@ -0,0 +1,26 @@
module.exports = {
root: true,
env: {
node: true
},
'extends': [
'plugin:vue/essential',
'@vue/standard'
],
globals: {
axios: 'readable'
},
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
indent: ['error', 4],
'space-before-function-paren': ['error', 'never'],
'semi': ['error', 'always'],
'no-multi-spaces': ['error', { 'ignoreEOLComments': true }],
'space-before-blocks': ['error', 'always'],
'no-multiple-empty-lines': ['error', { 'maxEOF': 1, 'max': 2 }]
},
parserOptions: {
parser: 'babel-eslint'
}
};

20
radio/.gitignore vendored Normal file
View File

@ -0,0 +1,20 @@
.DS_Store
node_modules
# local env files
.env.local
.env.*.local
# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw*

29
radio/README.md Normal file
View File

@ -0,0 +1,29 @@
# radio
## Project setup
```
npm install
```
### Compiles and hot-reloads for development
```
npm run serve
```
### Compiles and minifies for production
```
npm run build
```
### Run your tests
```
npm run test
```
### Lints and fixes files
```
npm run lint
```
### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).

3
radio/babel.config.js Executable file
View File

@ -0,0 +1,3 @@
module.exports = {
presets: ["@vue/app"]
};

19
radio/dist/demo.html vendored Normal file
View File

@ -0,0 +1,19 @@
<meta charset="utf-8">
<title>radio demo</title>
<script src="https://unpkg.com/vue"></script>
<script src="./radio.umd.js"></script>
<link rel="stylesheet" href="./radio.css">
<div id="app">
<demo></demo>
</div>
<script>
new Vue({
components: {
demo: radio
}
}).$mount('#app')
</script>

603
radio/dist/radio.common.js vendored Executable file
View File

@ -0,0 +1,603 @@
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = "34d8");
/******/ })
/************************************************************************/
/******/ ({
/***/ "0503":
/***/ (function(module, exports) {
var id = 0;
var px = Math.random();
module.exports = function (key) {
return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
};
/***/ }),
/***/ "1a7f":
/***/ (function(module, exports) {
module.exports = function (bitmap, value) {
return {
enumerable: !(bitmap & 1),
configurable: !(bitmap & 2),
writable: !(bitmap & 4),
value: value
};
};
/***/ }),
/***/ "1e2b":
/***/ (function(module, exports, __webpack_require__) {
var global = __webpack_require__("2b0f");
var hide = __webpack_require__("7325");
var has = __webpack_require__("62f8");
var SRC = __webpack_require__("0503")('src');
var TO_STRING = 'toString';
var $toString = Function[TO_STRING];
var TPL = ('' + $toString).split(TO_STRING);
__webpack_require__("87f3").inspectSource = function (it) {
return $toString.call(it);
};
(module.exports = function (O, key, val, safe) {
var isFunction = typeof val == 'function';
if (isFunction) has(val, 'name') || hide(val, 'name', key);
if (O[key] === val) return;
if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));
if (O === global) {
O[key] = val;
} else if (!safe) {
delete O[key];
hide(O, key, val);
} else if (O[key]) {
O[key] = val;
} else {
hide(O, key, val);
}
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
})(Function.prototype, TO_STRING, function toString() {
return typeof this == 'function' && this[SRC] || $toString.call(this);
});
/***/ }),
/***/ "2b0f":
/***/ (function(module, exports) {
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
var global = module.exports = typeof window != 'undefined' && window.Math == Math
? window : typeof self != 'undefined' && self.Math == Math ? self
// eslint-disable-next-line no-new-func
: Function('return this')();
if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
/***/ }),
/***/ "34d8":
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
// CONCATENATED MODULE: /usr/local/lib/node_modules/@vue/cli-service-global/node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
// This file is imported into lib/wc client bundles.
if (typeof window !== 'undefined') {
var i
if ((i = window.document.currentScript) && (i = i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))) {
__webpack_require__.p = i[1] // eslint-disable-line
}
}
// Indicate to webpack that this file can be concatenated
/* harmony default export */ var setPublicPath = (null);
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"126e3db3-vue-loader-template"}!/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Radio.vue?vue&type=template&id=078d63e4&scoped=true&
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"field-wrapper focused"},[_c('label',{staticClass:"custom-radio",attrs:{"for":_vm.unique}},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.v),expression:"v"}],attrs:{"type":"radio","id":_vm.unique},domProps:{"value":_vm.value,"checked":_vm._q(_vm.v,_vm.value)},on:{"change":function($event){_vm.v=_vm.value}}}),_c('div',{class:['tw-bg-primary', 'bullet']}),_c('span',[_vm._v(_vm._s(_vm.label))])])])}
var staticRenderFns = []
// CONCATENATED MODULE: ./src/components/Radio.vue?vue&type=template&id=078d63e4&scoped=true&
// EXTERNAL MODULE: /usr/local/lib/node_modules/@vue/cli-service-global/node_modules/core-js/modules/es6.regexp.to-string.js
var es6_regexp_to_string = __webpack_require__("a5e5");
// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib??ref--12-1!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Radio.vue?vue&type=script&lang=js&
//
//
//
//
//
//
//
//
//
//
/* harmony default export */ var Radiovue_type_script_lang_js_ = ({
model: {
prop: 'item',
event: 'input'
},
props: {
value: {
default: false
},
label: {
default: false
},
item: {
default: undefined
}
},
computed: {
v: {
set: function set(v) {
this.$emit('input', v);
},
get: function get() {
return this.item;
}
},
unique: function unique() {
return Math.random().toString(36).substr(2, 9) + Math.random().toString(36).substr(2, 9);
}
}
});
// CONCATENATED MODULE: ./src/components/Radio.vue?vue&type=script&lang=js&
/* harmony default export */ var components_Radiovue_type_script_lang_js_ = (Radiovue_type_script_lang_js_);
// EXTERNAL MODULE: ./src/components/Radio.vue?vue&type=style&index=0&id=078d63e4&lang=scss&scoped=true&
var Radiovue_type_style_index_0_id_078d63e4_lang_scss_scoped_true_ = __webpack_require__("8742");
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
/* globals __VUE_SSR_CONTEXT__ */
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
// This module is a runtime utility for cleaner component module output and will
// be included in the final webpack user bundle.
function normalizeComponent (
scriptExports,
render,
staticRenderFns,
functionalTemplate,
injectStyles,
scopeId,
moduleIdentifier, /* server only */
shadowMode /* vue-cli only */
) {
// Vue.extend constructor export interop
var options = typeof scriptExports === 'function'
? scriptExports.options
: scriptExports
// render functions
if (render) {
options.render = render
options.staticRenderFns = staticRenderFns
options._compiled = true
}
// functional template
if (functionalTemplate) {
options.functional = true
}
// scopedId
if (scopeId) {
options._scopeId = 'data-v-' + scopeId
}
var hook
if (moduleIdentifier) { // server build
hook = function (context) {
// 2.3 injection
context =
context || // cached call
(this.$vnode && this.$vnode.ssrContext) || // stateful
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
// 2.2 with runInNewContext: true
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
context = __VUE_SSR_CONTEXT__
}
// inject component styles
if (injectStyles) {
injectStyles.call(this, context)
}
// register component module identifier for async chunk inferrence
if (context && context._registeredComponents) {
context._registeredComponents.add(moduleIdentifier)
}
}
// used by ssr in case component is cached and beforeCreate
// never gets called
options._ssrRegister = hook
} else if (injectStyles) {
hook = shadowMode
? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
: injectStyles
}
if (hook) {
if (options.functional) {
// for template-only hot-reload because in that case the render fn doesn't
// go through the normalizer
options._injectStyles = hook
// register for functioal component in vue file
var originalRender = options.render
options.render = function renderWithStyleInjection (h, context) {
hook.call(context)
return originalRender(h, context)
}
} else {
// inject component registration as beforeCreate hook
var existing = options.beforeCreate
options.beforeCreate = existing
? [].concat(existing, hook)
: [hook]
}
}
return {
exports: scriptExports,
options: options
}
}
// CONCATENATED MODULE: ./src/components/Radio.vue
/* normalize component */
var component = normalizeComponent(
components_Radiovue_type_script_lang_js_,
render,
staticRenderFns,
false,
null,
"078d63e4",
null
)
/* harmony default export */ var Radio = (component.exports);
// CONCATENATED MODULE: /usr/local/lib/node_modules/@vue/cli-service-global/node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
/* harmony default export */ var entry_lib = __webpack_exports__["default"] = (Radio);
/***/ }),
/***/ "3f3e":
/***/ (function(module, exports) {
module.exports = function (exec) {
try {
return !!exec();
} catch (e) {
return true;
}
};
/***/ }),
/***/ "4436":
/***/ (function(module, exports, __webpack_require__) {
var isObject = __webpack_require__("4906");
var document = __webpack_require__("2b0f").document;
// typeof document.createElement is 'object' in old IE
var is = isObject(document) && isObject(document.createElement);
module.exports = function (it) {
return is ? document.createElement(it) : {};
};
/***/ }),
/***/ "46a4":
/***/ (function(module, exports, __webpack_require__) {
var anObject = __webpack_require__("833a");
var IE8_DOM_DEFINE = __webpack_require__("e41e");
var toPrimitive = __webpack_require__("994d");
var dP = Object.defineProperty;
exports.f = __webpack_require__("74a4") ? Object.defineProperty : function defineProperty(O, P, Attributes) {
anObject(O);
P = toPrimitive(P, true);
anObject(Attributes);
if (IE8_DOM_DEFINE) try {
return dP(O, P, Attributes);
} catch (e) { /* empty */ }
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
if ('value' in Attributes) O[P] = Attributes.value;
return O;
};
/***/ }),
/***/ "4906":
/***/ (function(module, exports) {
module.exports = function (it) {
return typeof it === 'object' ? it !== null : typeof it === 'function';
};
/***/ }),
/***/ "4d90":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// 21.2.5.3 get RegExp.prototype.flags
var anObject = __webpack_require__("833a");
module.exports = function () {
var that = anObject(this);
var result = '';
if (that.global) result += 'g';
if (that.ignoreCase) result += 'i';
if (that.multiline) result += 'm';
if (that.unicode) result += 'u';
if (that.sticky) result += 'y';
return result;
};
/***/ }),
/***/ "556e":
/***/ (function(module, exports, __webpack_require__) {
// 21.2.5.3 get RegExp.prototype.flags()
if (__webpack_require__("74a4") && /./g.flags != 'g') __webpack_require__("46a4").f(RegExp.prototype, 'flags', {
configurable: true,
get: __webpack_require__("4d90")
});
/***/ }),
/***/ "62f8":
/***/ (function(module, exports) {
var hasOwnProperty = {}.hasOwnProperty;
module.exports = function (it, key) {
return hasOwnProperty.call(it, key);
};
/***/ }),
/***/ "7325":
/***/ (function(module, exports, __webpack_require__) {
var dP = __webpack_require__("46a4");
var createDesc = __webpack_require__("1a7f");
module.exports = __webpack_require__("74a4") ? function (object, key, value) {
return dP.f(object, key, createDesc(1, value));
} : function (object, key, value) {
object[key] = value;
return object;
};
/***/ }),
/***/ "74a4":
/***/ (function(module, exports, __webpack_require__) {
// Thank's IE8 for his funny defineProperty
module.exports = !__webpack_require__("3f3e")(function () {
return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
});
/***/ }),
/***/ "833a":
/***/ (function(module, exports, __webpack_require__) {
var isObject = __webpack_require__("4906");
module.exports = function (it) {
if (!isObject(it)) throw TypeError(it + ' is not an object!');
return it;
};
/***/ }),
/***/ "8742":
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var _usr_local_lib_node_modules_vue_cli_service_global_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_usr_local_lib_node_modules_vue_cli_service_global_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Radio_vue_vue_type_style_index_0_id_078d63e4_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("e9ee");
/* harmony import */ var _usr_local_lib_node_modules_vue_cli_service_global_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_usr_local_lib_node_modules_vue_cli_service_global_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Radio_vue_vue_type_style_index_0_id_078d63e4_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_usr_local_lib_node_modules_vue_cli_service_global_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_usr_local_lib_node_modules_vue_cli_service_global_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Radio_vue_vue_type_style_index_0_id_078d63e4_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
/* unused harmony reexport * */
/* unused harmony default export */ var _unused_webpack_default_export = (_usr_local_lib_node_modules_vue_cli_service_global_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_usr_local_lib_node_modules_vue_cli_service_global_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Radio_vue_vue_type_style_index_0_id_078d63e4_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a);
/***/ }),
/***/ "87f3":
/***/ (function(module, exports) {
var core = module.exports = { version: '2.6.3' };
if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
/***/ }),
/***/ "994d":
/***/ (function(module, exports, __webpack_require__) {
// 7.1.1 ToPrimitive(input [, PreferredType])
var isObject = __webpack_require__("4906");
// instead of the ES6 spec version, we didn't implement @@toPrimitive case
// and the second argument - flag - preferred type is a string
module.exports = function (it, S) {
if (!isObject(it)) return it;
var fn, val;
if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;
if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
throw TypeError("Can't convert object to primitive value");
};
/***/ }),
/***/ "a5e5":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
__webpack_require__("556e");
var anObject = __webpack_require__("833a");
var $flags = __webpack_require__("4d90");
var DESCRIPTORS = __webpack_require__("74a4");
var TO_STRING = 'toString';
var $toString = /./[TO_STRING];
var define = function (fn) {
__webpack_require__("1e2b")(RegExp.prototype, TO_STRING, fn, true);
};
// 21.2.5.14 RegExp.prototype.toString()
if (__webpack_require__("3f3e")(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) {
define(function toString() {
var R = anObject(this);
return '/'.concat(R.source, '/',
'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined);
});
// FF44- RegExp#toString has a wrong name
} else if ($toString.name != TO_STRING) {
define(function toString() {
return $toString.call(this);
});
}
/***/ }),
/***/ "e41e":
/***/ (function(module, exports, __webpack_require__) {
module.exports = !__webpack_require__("74a4") && !__webpack_require__("3f3e")(function () {
return Object.defineProperty(__webpack_require__("4436")('div'), 'a', { get: function () { return 7; } }).a != 7;
});
/***/ }),
/***/ "e9ee":
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
/***/ })
/******/ })["default"];
//# sourceMappingURL=radio.common.js.map

1
radio/dist/radio.common.js.map vendored Executable file

File diff suppressed because one or more lines are too long

1
radio/dist/radio.css vendored Normal file
View File

@ -0,0 +1 @@
label.custom-radio[data-v-078d63e4]{position:relative;padding:20px 0 20px 40px;text-align:left;display:inline-block}label.custom-radio span[data-v-078d63e4]{position:relative;cursor:pointer}label.custom-radio span[data-v-078d63e4]:before{content:"";position:absolute;top:50%;left:-40px;margin-top:-15px;width:30px;height:30px;background:#f7f7f7;border-radius:50%;-webkit-box-shadow:0 0 1px grey;box-shadow:0 0 1px grey}label.custom-radio input[type=radio][data-v-078d63e4]{position:absolute;top:0;left:-9999px;visibility:hidden}label.custom-radio input[type=radio]+.bullet[data-v-078d63e4]{position:absolute;top:50%;left:5px;width:20px;height:20px;margin-top:-10px;opacity:0;z-index:10;cursor:pointer;border-radius:50%;-webkit-transform:translate3d(-40px,0,0) scale(.5);transform:translate3d(-40px,0,0) scale(.5)}label.custom-radio input[type=radio]+.bullet[data-v-078d63e4],label.custom-radio input[type=radio]:checked+.bullet[data-v-078d63e4]{-webkit-transition:opacity .15s ease-in-out,-webkit-transform .15s ease-in-out;transition:opacity .15s ease-in-out,-webkit-transform .15s ease-in-out;transition:transform .15s ease-in-out,opacity .15s ease-in-out;transition:transform .15s ease-in-out,opacity .15s ease-in-out,-webkit-transform .15s ease-in-out}label.custom-radio input[type=radio]:checked+.bullet[data-v-078d63e4]{opacity:1;-webkit-transform:translateZ(0) scale(1);transform:translateZ(0) scale(1)}

613
radio/dist/radio.umd.js vendored Executable file
View File

@ -0,0 +1,613 @@
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define([], factory);
else if(typeof exports === 'object')
exports["radio"] = factory();
else
root["radio"] = factory();
})((typeof self !== 'undefined' ? self : this), function() {
return /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = "34d8");
/******/ })
/************************************************************************/
/******/ ({
/***/ "0503":
/***/ (function(module, exports) {
var id = 0;
var px = Math.random();
module.exports = function (key) {
return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
};
/***/ }),
/***/ "1a7f":
/***/ (function(module, exports) {
module.exports = function (bitmap, value) {
return {
enumerable: !(bitmap & 1),
configurable: !(bitmap & 2),
writable: !(bitmap & 4),
value: value
};
};
/***/ }),
/***/ "1e2b":
/***/ (function(module, exports, __webpack_require__) {
var global = __webpack_require__("2b0f");
var hide = __webpack_require__("7325");
var has = __webpack_require__("62f8");
var SRC = __webpack_require__("0503")('src');
var TO_STRING = 'toString';
var $toString = Function[TO_STRING];
var TPL = ('' + $toString).split(TO_STRING);
__webpack_require__("87f3").inspectSource = function (it) {
return $toString.call(it);
};
(module.exports = function (O, key, val, safe) {
var isFunction = typeof val == 'function';
if (isFunction) has(val, 'name') || hide(val, 'name', key);
if (O[key] === val) return;
if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));
if (O === global) {
O[key] = val;
} else if (!safe) {
delete O[key];
hide(O, key, val);
} else if (O[key]) {
O[key] = val;
} else {
hide(O, key, val);
}
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
})(Function.prototype, TO_STRING, function toString() {
return typeof this == 'function' && this[SRC] || $toString.call(this);
});
/***/ }),
/***/ "2b0f":
/***/ (function(module, exports) {
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
var global = module.exports = typeof window != 'undefined' && window.Math == Math
? window : typeof self != 'undefined' && self.Math == Math ? self
// eslint-disable-next-line no-new-func
: Function('return this')();
if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
/***/ }),
/***/ "34d8":
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
// CONCATENATED MODULE: /usr/local/lib/node_modules/@vue/cli-service-global/node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
// This file is imported into lib/wc client bundles.
if (typeof window !== 'undefined') {
var i
if ((i = window.document.currentScript) && (i = i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))) {
__webpack_require__.p = i[1] // eslint-disable-line
}
}
// Indicate to webpack that this file can be concatenated
/* harmony default export */ var setPublicPath = (null);
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"126e3db3-vue-loader-template"}!/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Radio.vue?vue&type=template&id=078d63e4&scoped=true&
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"field-wrapper focused"},[_c('label',{staticClass:"custom-radio",attrs:{"for":_vm.unique}},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.v),expression:"v"}],attrs:{"type":"radio","id":_vm.unique},domProps:{"value":_vm.value,"checked":_vm._q(_vm.v,_vm.value)},on:{"change":function($event){_vm.v=_vm.value}}}),_c('div',{class:['tw-bg-primary', 'bullet']}),_c('span',[_vm._v(_vm._s(_vm.label))])])])}
var staticRenderFns = []
// CONCATENATED MODULE: ./src/components/Radio.vue?vue&type=template&id=078d63e4&scoped=true&
// EXTERNAL MODULE: /usr/local/lib/node_modules/@vue/cli-service-global/node_modules/core-js/modules/es6.regexp.to-string.js
var es6_regexp_to_string = __webpack_require__("a5e5");
// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib??ref--12-1!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Radio.vue?vue&type=script&lang=js&
//
//
//
//
//
//
//
//
//
//
/* harmony default export */ var Radiovue_type_script_lang_js_ = ({
model: {
prop: 'item',
event: 'input'
},
props: {
value: {
default: false
},
label: {
default: false
},
item: {
default: undefined
}
},
computed: {
v: {
set: function set(v) {
this.$emit('input', v);
},
get: function get() {
return this.item;
}
},
unique: function unique() {
return Math.random().toString(36).substr(2, 9) + Math.random().toString(36).substr(2, 9);
}
}
});
// CONCATENATED MODULE: ./src/components/Radio.vue?vue&type=script&lang=js&
/* harmony default export */ var components_Radiovue_type_script_lang_js_ = (Radiovue_type_script_lang_js_);
// EXTERNAL MODULE: ./src/components/Radio.vue?vue&type=style&index=0&id=078d63e4&lang=scss&scoped=true&
var Radiovue_type_style_index_0_id_078d63e4_lang_scss_scoped_true_ = __webpack_require__("8742");
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
/* globals __VUE_SSR_CONTEXT__ */
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
// This module is a runtime utility for cleaner component module output and will
// be included in the final webpack user bundle.
function normalizeComponent (
scriptExports,
render,
staticRenderFns,
functionalTemplate,
injectStyles,
scopeId,
moduleIdentifier, /* server only */
shadowMode /* vue-cli only */
) {
// Vue.extend constructor export interop
var options = typeof scriptExports === 'function'
? scriptExports.options
: scriptExports
// render functions
if (render) {
options.render = render
options.staticRenderFns = staticRenderFns
options._compiled = true
}
// functional template
if (functionalTemplate) {
options.functional = true
}
// scopedId
if (scopeId) {
options._scopeId = 'data-v-' + scopeId
}
var hook
if (moduleIdentifier) { // server build
hook = function (context) {
// 2.3 injection
context =
context || // cached call
(this.$vnode && this.$vnode.ssrContext) || // stateful
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
// 2.2 with runInNewContext: true
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
context = __VUE_SSR_CONTEXT__
}
// inject component styles
if (injectStyles) {
injectStyles.call(this, context)
}
// register component module identifier for async chunk inferrence
if (context && context._registeredComponents) {
context._registeredComponents.add(moduleIdentifier)
}
}
// used by ssr in case component is cached and beforeCreate
// never gets called
options._ssrRegister = hook
} else if (injectStyles) {
hook = shadowMode
? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
: injectStyles
}
if (hook) {
if (options.functional) {
// for template-only hot-reload because in that case the render fn doesn't
// go through the normalizer
options._injectStyles = hook
// register for functioal component in vue file
var originalRender = options.render
options.render = function renderWithStyleInjection (h, context) {
hook.call(context)
return originalRender(h, context)
}
} else {
// inject component registration as beforeCreate hook
var existing = options.beforeCreate
options.beforeCreate = existing
? [].concat(existing, hook)
: [hook]
}
}
return {
exports: scriptExports,
options: options
}
}
// CONCATENATED MODULE: ./src/components/Radio.vue
/* normalize component */
var component = normalizeComponent(
components_Radiovue_type_script_lang_js_,
render,
staticRenderFns,
false,
null,
"078d63e4",
null
)
/* harmony default export */ var Radio = (component.exports);
// CONCATENATED MODULE: /usr/local/lib/node_modules/@vue/cli-service-global/node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
/* harmony default export */ var entry_lib = __webpack_exports__["default"] = (Radio);
/***/ }),
/***/ "3f3e":
/***/ (function(module, exports) {
module.exports = function (exec) {
try {
return !!exec();
} catch (e) {
return true;
}
};
/***/ }),
/***/ "4436":
/***/ (function(module, exports, __webpack_require__) {
var isObject = __webpack_require__("4906");
var document = __webpack_require__("2b0f").document;
// typeof document.createElement is 'object' in old IE
var is = isObject(document) && isObject(document.createElement);
module.exports = function (it) {
return is ? document.createElement(it) : {};
};
/***/ }),
/***/ "46a4":
/***/ (function(module, exports, __webpack_require__) {
var anObject = __webpack_require__("833a");
var IE8_DOM_DEFINE = __webpack_require__("e41e");
var toPrimitive = __webpack_require__("994d");
var dP = Object.defineProperty;
exports.f = __webpack_require__("74a4") ? Object.defineProperty : function defineProperty(O, P, Attributes) {
anObject(O);
P = toPrimitive(P, true);
anObject(Attributes);
if (IE8_DOM_DEFINE) try {
return dP(O, P, Attributes);
} catch (e) { /* empty */ }
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
if ('value' in Attributes) O[P] = Attributes.value;
return O;
};
/***/ }),
/***/ "4906":
/***/ (function(module, exports) {
module.exports = function (it) {
return typeof it === 'object' ? it !== null : typeof it === 'function';
};
/***/ }),
/***/ "4d90":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// 21.2.5.3 get RegExp.prototype.flags
var anObject = __webpack_require__("833a");
module.exports = function () {
var that = anObject(this);
var result = '';
if (that.global) result += 'g';
if (that.ignoreCase) result += 'i';
if (that.multiline) result += 'm';
if (that.unicode) result += 'u';
if (that.sticky) result += 'y';
return result;
};
/***/ }),
/***/ "556e":
/***/ (function(module, exports, __webpack_require__) {
// 21.2.5.3 get RegExp.prototype.flags()
if (__webpack_require__("74a4") && /./g.flags != 'g') __webpack_require__("46a4").f(RegExp.prototype, 'flags', {
configurable: true,
get: __webpack_require__("4d90")
});
/***/ }),
/***/ "62f8":
/***/ (function(module, exports) {
var hasOwnProperty = {}.hasOwnProperty;
module.exports = function (it, key) {
return hasOwnProperty.call(it, key);
};
/***/ }),
/***/ "7325":
/***/ (function(module, exports, __webpack_require__) {
var dP = __webpack_require__("46a4");
var createDesc = __webpack_require__("1a7f");
module.exports = __webpack_require__("74a4") ? function (object, key, value) {
return dP.f(object, key, createDesc(1, value));
} : function (object, key, value) {
object[key] = value;
return object;
};
/***/ }),
/***/ "74a4":
/***/ (function(module, exports, __webpack_require__) {
// Thank's IE8 for his funny defineProperty
module.exports = !__webpack_require__("3f3e")(function () {
return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
});
/***/ }),
/***/ "833a":
/***/ (function(module, exports, __webpack_require__) {
var isObject = __webpack_require__("4906");
module.exports = function (it) {
if (!isObject(it)) throw TypeError(it + ' is not an object!');
return it;
};
/***/ }),
/***/ "8742":
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
/* harmony import */ var _usr_local_lib_node_modules_vue_cli_service_global_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_usr_local_lib_node_modules_vue_cli_service_global_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Radio_vue_vue_type_style_index_0_id_078d63e4_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("e9ee");
/* harmony import */ var _usr_local_lib_node_modules_vue_cli_service_global_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_usr_local_lib_node_modules_vue_cli_service_global_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Radio_vue_vue_type_style_index_0_id_078d63e4_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_usr_local_lib_node_modules_vue_cli_service_global_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_usr_local_lib_node_modules_vue_cli_service_global_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Radio_vue_vue_type_style_index_0_id_078d63e4_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
/* unused harmony reexport * */
/* unused harmony default export */ var _unused_webpack_default_export = (_usr_local_lib_node_modules_vue_cli_service_global_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_usr_local_lib_node_modules_vue_cli_service_global_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Radio_vue_vue_type_style_index_0_id_078d63e4_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a);
/***/ }),
/***/ "87f3":
/***/ (function(module, exports) {
var core = module.exports = { version: '2.6.3' };
if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
/***/ }),
/***/ "994d":
/***/ (function(module, exports, __webpack_require__) {
// 7.1.1 ToPrimitive(input [, PreferredType])
var isObject = __webpack_require__("4906");
// instead of the ES6 spec version, we didn't implement @@toPrimitive case
// and the second argument - flag - preferred type is a string
module.exports = function (it, S) {
if (!isObject(it)) return it;
var fn, val;
if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;
if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
throw TypeError("Can't convert object to primitive value");
};
/***/ }),
/***/ "a5e5":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
__webpack_require__("556e");
var anObject = __webpack_require__("833a");
var $flags = __webpack_require__("4d90");
var DESCRIPTORS = __webpack_require__("74a4");
var TO_STRING = 'toString';
var $toString = /./[TO_STRING];
var define = function (fn) {
__webpack_require__("1e2b")(RegExp.prototype, TO_STRING, fn, true);
};
// 21.2.5.14 RegExp.prototype.toString()
if (__webpack_require__("3f3e")(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) {
define(function toString() {
var R = anObject(this);
return '/'.concat(R.source, '/',
'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined);
});
// FF44- RegExp#toString has a wrong name
} else if ($toString.name != TO_STRING) {
define(function toString() {
return $toString.call(this);
});
}
/***/ }),
/***/ "e41e":
/***/ (function(module, exports, __webpack_require__) {
module.exports = !__webpack_require__("74a4") && !__webpack_require__("3f3e")(function () {
return Object.defineProperty(__webpack_require__("4436")('div'), 'a', { get: function () { return 7; } }).a != 7;
});
/***/ }),
/***/ "e9ee":
/***/ (function(module, exports, __webpack_require__) {
// extracted by mini-css-extract-plugin
/***/ })
/******/ })["default"];
});
//# sourceMappingURL=radio.umd.js.map

1
radio/dist/radio.umd.js.map vendored Executable file

File diff suppressed because one or more lines are too long

2
radio/dist/radio.umd.min.js vendored Executable file

File diff suppressed because one or more lines are too long

1
radio/dist/radio.umd.min.js.map vendored Executable file

File diff suppressed because one or more lines are too long

11905
radio/package-lock.json generated Executable file

File diff suppressed because it is too large Load Diff

25
radio/package.json Executable file
View File

@ -0,0 +1,25 @@
{
"name": "radio",
"version": "0.1.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint"
},
"dependencies": {
"vue": "^2.5.22"
},
"devDependencies": {
"@vue/cli-plugin-babel": "^3.4.0",
"@vue/cli-plugin-eslint": "^3.4.0",
"@vue/cli-service": "^3.4.0",
"@vue/eslint-config-standard": "^4.0.0",
"babel-eslint": "^10.0.1",
"eslint": "^5.8.0",
"eslint-plugin-vue": "^5.0.0",
"node-sass": "^4.9.0",
"sass-loader": "^7.1.0",
"vue-template-compiler": "^2.5.21"
}
}

5
radio/postcss.config.js Executable file
View File

@ -0,0 +1,5 @@
module.exports = {
plugins: {
autoprefixer: {}
}
};

BIN
radio/public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

17
radio/public/index.html Normal file
View File

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title>radio</title>
</head>
<body>
<noscript>
<strong>We're sorry but radio doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html>

36
radio/src/App.vue Normal file
View File

@ -0,0 +1,36 @@
<template>
<div id="app">
<div>
<h2>Single radio</h2>
<radio v-model="value.checked" label="v1" value="1"></radio>
<radio v-model="value.checked" label="v2" value="2"></radio>
</div>
</div>
</template>
<script>
import Radio from '@/components/Radio.vue';
export default {
data() {
return {
value: {
checked: false
}
};
},
name: "app",
components: { Radio }
};
</script>
<style lang="scss">
#app {
width: 100vh;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
</style>

BIN
radio/src/assets/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

View File

@ -0,0 +1,45 @@
<template>
<div class="field-wrapper focused">
<label :for="unique" class="fancy-radio">
<input type="radio" v-model="v" :value="value" :id="unique" />
<span :class="['tw-bg-primary']"></span>
<span v-if="label" class="w-full">{{ label }}</span>
<span v-if="$slots.default" class="w-full aside-info"><slot></slot></span>
</label>
</div>
</template>
<script>
export default {
model: {
prop: 'item',
event: 'input'
},
props: {
value: {
default: false
},
label: {
default: false
},
item: {
default: undefined
}
},
computed: {
v: {
set(v) {
this.$emit('input', v);
},
get() {
return this.item;
}
},
unique() {
return Math.random().toString(36).substr(2, 9) +
Math.random().toString(36).substr(2, 9)
;
}
}
};
</script>

8
radio/src/main.js Executable file
View File

@ -0,0 +1,8 @@
import Vue from "vue";
import App from "./App.vue";
Vue.config.productionTip = false;
new Vue({
render: h => h(App)
}).$mount("#app");

3
range/.browserslistrc Normal file
View File

@ -0,0 +1,3 @@
> 1%
last 2 versions
not ie <= 8

27
range/.eslintrc.js Executable file
View File

@ -0,0 +1,27 @@
module.exports = {
root: true,
env: {
node: true
},
'extends': [
'plugin:vue/essential',
'@vue/standard'
],
globals: {
axios: 'readable'
},
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
indent: ['error', 4],
'space-before-function-paren': ['error', 'never'],
'semi': ['error', 'always'],
'no-multi-spaces': ['error', { 'ignoreEOLComments': true }],
'space-before-blocks': ['error', 'always'],
'no-multiple-empty-lines': ['error', { 'maxEOF': 1, 'max': 2 }]
},
parserOptions: {
parser: 'babel-eslint'
}
};

20
range/.gitignore vendored Normal file
View File

@ -0,0 +1,20 @@
.DS_Store
node_modules
# local env files
.env.local
.env.*.local
# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw*

29
range/README.md Normal file
View File

@ -0,0 +1,29 @@
# range
## Project setup
```
npm install
```
### Compiles and hot-reloads for development
```
npm run serve
```
### Compiles and minifies for production
```
npm run build
```
### Run your tests
```
npm run test
```
### Lints and fixes files
```
npm run lint
```
### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).

3
range/babel.config.js Executable file
View File

@ -0,0 +1,3 @@
module.exports = {
presets: ["@vue/app"]
};

19
range/dist/demo.html vendored Normal file
View File

@ -0,0 +1,19 @@
<meta charset="utf-8">
<title>range demo</title>
<script src="https://unpkg.com/vue"></script>
<script src="./range.umd.js"></script>
<link rel="stylesheet" href="./range.css">
<div id="app">
<demo></demo>
</div>
<script>
new Vue({
components: {
demo: range
}
}).$mount('#app')
</script>

1312
range/dist/range.common.js vendored Executable file

File diff suppressed because it is too large Load Diff

1
range/dist/range.common.js.map vendored Executable file

File diff suppressed because one or more lines are too long

1
range/dist/range.css vendored Normal file
View File

@ -0,0 +1 @@
*,:after,:before{-webkit-box-sizing:border-box;box-sizing:border-box}.range-slider{width:100%}.range-slider__range{-webkit-appearance:none;width:calc(100% - 93px);height:10px;border-radius:5px;background:#d7dcdf;outline:none;padding:0;margin:0}.range-slider__range::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:20px;height:20px;border-radius:50%;background:#2c3e50;cursor:pointer;-webkit-transition:background .15s ease-in-out;transition:background .15s ease-in-out}.range-slider__range::-webkit-slider-thumb:hover,.range-slider__range:active::-webkit-slider-thumb{background:#1abc9c}.range-slider__range::-moz-range-thumb{width:20px;height:20px;border:0;border-radius:50%;background:#2c3e50;cursor:pointer;-webkit-transition:background .15s ease-in-out;transition:background .15s ease-in-out}.range-slider__range::-moz-range-thumb:hover,.range-slider__range:active::-moz-range-thumb{background:#1abc9c}.range-slider__range:focus::-webkit-slider-thumb{-webkit-box-shadow:0 0 0 3px #fff,0 0 0 6px #1abc9c;box-shadow:0 0 0 3px #fff,0 0 0 6px #1abc9c}.range-slider__value{display:inline-block;position:relative;width:80px;color:#fff;line-height:20px;text-align:center;border-radius:3px;background:#2c3e50;padding:5px 10px;margin-left:8px}.range-slider__value:after{position:absolute;top:8px;left:-7px;width:0;height:0;border-top:7px solid transparent;border-right:7px solid #2c3e50;border-bottom:7px solid transparent;content:""}::-moz-range-track{background:#d7dcdf;border:0}input::-moz-focus-inner,input::-moz-focus-outer{border:0}

1322
range/dist/range.umd.js vendored Executable file

File diff suppressed because it is too large Load Diff

1
range/dist/range.umd.js.map vendored Executable file

File diff suppressed because one or more lines are too long

2
range/dist/range.umd.min.js vendored Executable file

File diff suppressed because one or more lines are too long

1
range/dist/range.umd.min.js.map vendored Executable file

File diff suppressed because one or more lines are too long

12465
range/package-lock.json generated Executable file

File diff suppressed because it is too large Load Diff

25
range/package.json Executable file
View File

@ -0,0 +1,25 @@
{
"name": "range",
"version": "0.1.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint"
},
"dependencies": {
"vue": "^2.5.22"
},
"devDependencies": {
"@vue/cli-plugin-babel": "^3.4.0",
"@vue/cli-plugin-eslint": "^3.4.0",
"@vue/cli-service": "^3.7.0",
"@vue/eslint-config-standard": "^4.0.0",
"babel-eslint": "^10.0.1",
"eslint": "^5.8.0",
"eslint-plugin-vue": "^5.0.0",
"node-sass": "^4.9.0",
"sass-loader": "^7.1.0",
"vue-template-compiler": "^2.5.21"
}
}

5
range/postcss.config.js Executable file
View File

@ -0,0 +1,5 @@
module.exports = {
plugins: {
autoprefixer: {}
}
};

BIN
range/public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

17
range/public/index.html Normal file
View File

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title>range</title>
</head>
<body>
<noscript>
<strong>We're sorry but range doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html>

36
range/src/App.vue Normal file
View File

@ -0,0 +1,36 @@
<template>
<div id="app">
<div>
<range v-model="current" max="1000"> </range>
</div>
</div>
</template>
<style>
#app {
display: flex;
margin-top: 100px;
align-items: center;
justify-content: center;
}
#app div {
width: 60%;
height: 60%;
}
</style>
<script>
import Range from "./components/Range.vue";
export default {
name: "app",
data: function() {
return {
current: 500
};
},
components: {
Range
}
};
</script>

BIN
range/src/assets/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

View File

@ -0,0 +1,53 @@
<template>
<div class="range-slider">
<input
class="range-slider__range"
type="range"
v-bind="attrs"
@input="$emit('input', parseInt($event.target.value))"
:value="value"
:name="name"
/>
<span class="range-slider__value" v-html="value"></span>
</div>
</template>
<script>
export default {
props: {
value: {
required: true,
type: Number
},
min: {
default: null
},
max: {
default: null
},
step: {
default: null
},
name: {
default: '',
type: String
}
},
computed: {
attrs() {
var bind = {};
if (this.min !== null) {
bind.min = this.min;
}
if (this.max !== null) {
bind.max = this.max;
}
if (this.step !== null) {
bind.step = this.step;
}
return bind;
}
}
};
</script>

8
range/src/main.js Executable file
View File

@ -0,0 +1,8 @@
import Vue from "vue";
import App from "./App.vue";
Vue.config.productionTip = false;
new Vue({
render: h => h(App)
}).$mount("#app");

3
stepper/.browserslistrc Normal file
View File

@ -0,0 +1,3 @@
> 1%
last 2 versions
not ie <= 8

26
stepper/.eslintrc.js Executable file
View File

@ -0,0 +1,26 @@
module.exports = {
root: true,
env: {
node: true
},
'extends': [
'plugin:vue/essential',
'@vue/standard'
],
globals: {
axios: 'readable'
},
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
indent: ['error', 4],
'space-before-function-paren': ['error', 'never'],
'semi': ['error', 'always'],
'no-multi-spaces': ['error', { 'ignoreEOLComments': true }],
'space-before-blocks': ['error', 'always'],
'no-multiple-empty-lines': ['error', { 'maxEOF': 1, 'max': 2 }]
},
parserOptions: {
parser: 'babel-eslint'
}
};

20
stepper/.gitignore vendored Normal file
View File

@ -0,0 +1,20 @@
.DS_Store
node_modules
# local env files
.env.local
.env.*.local
# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw*

53
stepper/README.md Normal file
View File

@ -0,0 +1,53 @@
# Stepper
### Installation
__import stepper as a component__
```js
import { Stepper } from './js-modules';
...
components: { Stepper }
...
```
__import Tailwind CSS__
```js
var modules = require('./assets/js/js-modules/tailwind/index.js');
...
plugins: [
modules.stepper({})
]
...
```
### Example
```html
<stepper v-model="currentStep" :steps="steps" active-color="primary">
<template slot="Ihre Tarifwahl" slot-scope="{next}">
Inhalt
</template>
</stepper>
```
### Component Params
__active-color__:
Changes the background color and the label color of the active step as well as the lines before that.
This can be any tailwind-color defined in tailwind.js.
__v-model__:
Integer that holds the index of the current active slide (starts with 0)
__steps__:
Collection with following params:
* label: The label for the step
* icon: a font-awesome-icon reference for the step
Example:
```
var s = [
{label: 'Ihre Tarifwahl', icon: 'money'},
{label: 'Prüfen & Absenden', icon: 'check'}
];
```
Each Step should have a reference to a template tag inside the component's default slot (see example '<template slot="Ihre Tarifwahl">')
As a slot scope you can define next and prev. These two methods can be executed to go to the next or the prev step.

3
stepper/babel.config.js Executable file
View File

@ -0,0 +1,3 @@
module.exports = {
presets: ["@vue/app"]
};

19
stepper/dist/demo.html vendored Normal file
View File

@ -0,0 +1,19 @@
<meta charset="utf-8">
<title>stepper demo</title>
<script src="https://unpkg.com/vue"></script>
<script src="./stepper.umd.js"></script>
<link rel="stylesheet" href="./stepper.css">
<div id="app">
<demo></demo>
</div>
<script>
new Vue({
components: {
demo: stepper
}
}).$mount('#app')
</script>

296
stepper/dist/stepper.common.js vendored Executable file
View File

@ -0,0 +1,296 @@
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = "fb15");
/******/ })
/************************************************************************/
/******/ ({
/***/ "fb15":
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
// This file is imported into lib/wc client bundles.
if (typeof window !== 'undefined') {
var i
if ((i = window.document.currentScript) && (i = i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))) {
__webpack_require__.p = i[1] // eslint-disable-line
}
}
// Indicate to webpack that this file can be concatenated
/* harmony default export */ var setPublicPath = (null);
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34ad4ff0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Stepper.vue?vue&type=template&id=2210a584&
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticStyle:{"width":"100%"}},[_c('ul',{staticClass:"stepper",class:'stepper-'+_vm.activeColor},_vm._l((_vm.steps),function(step,index){return _c('li',{class:{'current': _vm.value == index, 'done': _vm.isDone(index)}},[_c('a',{attrs:{"href":"javascript:void(0);"},on:{"click":function($event){return _vm.$emit('input', index)}}},[_c('span',{staticClass:"fa step-icon",class:['fa-'+step.icon]}),_c('span',{staticClass:"label step-label",domProps:{"innerHTML":_vm._s(step.label)}})])])}),0),_vm._l((_vm.steps),function(step,index){return _c('div',{directives:[{name:"show",rawName:"v-show",value:(index == _vm.value),expression:"index == value"}]},[_vm._t(step.label,null,{next:_vm.next,prev:_vm.prev})],2)})],2)}
var staticRenderFns = []
// CONCATENATED MODULE: ./src/components/Stepper.vue?vue&type=template&id=2210a584&
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Stepper.vue?vue&type=script&lang=js&
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
/* harmony default export */ var Steppervue_type_script_lang_js_ = ({
props: {
value: {},
steps: {
default: function _default() {
return [];
},
type: Array
},
activeColor: {
type: String,
default: 'default'
}
},
computed: {},
methods: {
isDone: function isDone(index) {
return index < this.value;
},
next: function next() {
if (typeof this.steps[this.value + 1] == "undefined") {
return;
}
this.$emit('input', this.value + 1);
},
prev: function prev() {
if (typeof this.steps[this.value - 1] == "undefined") {
return;
}
this.$emit('input', this.value - 1);
}
}
});
// CONCATENATED MODULE: ./src/components/Stepper.vue?vue&type=script&lang=js&
/* harmony default export */ var components_Steppervue_type_script_lang_js_ = (Steppervue_type_script_lang_js_);
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
/* globals __VUE_SSR_CONTEXT__ */
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
// This module is a runtime utility for cleaner component module output and will
// be included in the final webpack user bundle.
function normalizeComponent (
scriptExports,
render,
staticRenderFns,
functionalTemplate,
injectStyles,
scopeId,
moduleIdentifier, /* server only */
shadowMode /* vue-cli only */
) {
// Vue.extend constructor export interop
var options = typeof scriptExports === 'function'
? scriptExports.options
: scriptExports
// render functions
if (render) {
options.render = render
options.staticRenderFns = staticRenderFns
options._compiled = true
}
// functional template
if (functionalTemplate) {
options.functional = true
}
// scopedId
if (scopeId) {
options._scopeId = 'data-v-' + scopeId
}
var hook
if (moduleIdentifier) { // server build
hook = function (context) {
// 2.3 injection
context =
context || // cached call
(this.$vnode && this.$vnode.ssrContext) || // stateful
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
// 2.2 with runInNewContext: true
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
context = __VUE_SSR_CONTEXT__
}
// inject component styles
if (injectStyles) {
injectStyles.call(this, context)
}
// register component module identifier for async chunk inferrence
if (context && context._registeredComponents) {
context._registeredComponents.add(moduleIdentifier)
}
}
// used by ssr in case component is cached and beforeCreate
// never gets called
options._ssrRegister = hook
} else if (injectStyles) {
hook = shadowMode
? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
: injectStyles
}
if (hook) {
if (options.functional) {
// for template-only hot-reload because in that case the render fn doesn't
// go through the normalizer
options._injectStyles = hook
// register for functioal component in vue file
var originalRender = options.render
options.render = function renderWithStyleInjection (h, context) {
hook.call(context)
return originalRender(h, context)
}
} else {
// inject component registration as beforeCreate hook
var existing = options.beforeCreate
options.beforeCreate = existing
? [].concat(existing, hook)
: [hook]
}
}
return {
exports: scriptExports,
options: options
}
}
// CONCATENATED MODULE: ./src/components/Stepper.vue
/* normalize component */
var component = normalizeComponent(
components_Steppervue_type_script_lang_js_,
render,
staticRenderFns,
false,
null,
null,
null
)
/* harmony default export */ var Stepper = (component.exports);
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
/* harmony default export */ var entry_lib = __webpack_exports__["default"] = (Stepper);
/***/ })
/******/ })["default"];
//# sourceMappingURL=stepper.common.js.map

1
stepper/dist/stepper.common.js.map vendored Executable file

File diff suppressed because one or more lines are too long

306
stepper/dist/stepper.umd.js vendored Executable file
View File

@ -0,0 +1,306 @@
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define([], factory);
else if(typeof exports === 'object')
exports["stepper"] = factory();
else
root["stepper"] = factory();
})((typeof self !== 'undefined' ? self : this), function() {
return /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = "fb15");
/******/ })
/************************************************************************/
/******/ ({
/***/ "fb15":
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
// This file is imported into lib/wc client bundles.
if (typeof window !== 'undefined') {
var i
if ((i = window.document.currentScript) && (i = i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))) {
__webpack_require__.p = i[1] // eslint-disable-line
}
}
// Indicate to webpack that this file can be concatenated
/* harmony default export */ var setPublicPath = (null);
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"34ad4ff0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Stepper.vue?vue&type=template&id=2210a584&
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticStyle:{"width":"100%"}},[_c('ul',{staticClass:"stepper",class:'stepper-'+_vm.activeColor},_vm._l((_vm.steps),function(step,index){return _c('li',{class:{'current': _vm.value == index, 'done': _vm.isDone(index)}},[_c('a',{attrs:{"href":"javascript:void(0);"},on:{"click":function($event){return _vm.$emit('input', index)}}},[_c('span',{staticClass:"fa step-icon",class:['fa-'+step.icon]}),_c('span',{staticClass:"label step-label",domProps:{"innerHTML":_vm._s(step.label)}})])])}),0),_vm._l((_vm.steps),function(step,index){return _c('div',{directives:[{name:"show",rawName:"v-show",value:(index == _vm.value),expression:"index == value"}]},[_vm._t(step.label,null,{next:_vm.next,prev:_vm.prev})],2)})],2)}
var staticRenderFns = []
// CONCATENATED MODULE: ./src/components/Stepper.vue?vue&type=template&id=2210a584&
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Stepper.vue?vue&type=script&lang=js&
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
/* harmony default export */ var Steppervue_type_script_lang_js_ = ({
props: {
value: {},
steps: {
default: function _default() {
return [];
},
type: Array
},
activeColor: {
type: String,
default: 'default'
}
},
computed: {},
methods: {
isDone: function isDone(index) {
return index < this.value;
},
next: function next() {
if (typeof this.steps[this.value + 1] == "undefined") {
return;
}
this.$emit('input', this.value + 1);
},
prev: function prev() {
if (typeof this.steps[this.value - 1] == "undefined") {
return;
}
this.$emit('input', this.value - 1);
}
}
});
// CONCATENATED MODULE: ./src/components/Stepper.vue?vue&type=script&lang=js&
/* harmony default export */ var components_Steppervue_type_script_lang_js_ = (Steppervue_type_script_lang_js_);
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
/* globals __VUE_SSR_CONTEXT__ */
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
// This module is a runtime utility for cleaner component module output and will
// be included in the final webpack user bundle.
function normalizeComponent (
scriptExports,
render,
staticRenderFns,
functionalTemplate,
injectStyles,
scopeId,
moduleIdentifier, /* server only */
shadowMode /* vue-cli only */
) {
// Vue.extend constructor export interop
var options = typeof scriptExports === 'function'
? scriptExports.options
: scriptExports
// render functions
if (render) {
options.render = render
options.staticRenderFns = staticRenderFns
options._compiled = true
}
// functional template
if (functionalTemplate) {
options.functional = true
}
// scopedId
if (scopeId) {
options._scopeId = 'data-v-' + scopeId
}
var hook
if (moduleIdentifier) { // server build
hook = function (context) {
// 2.3 injection
context =
context || // cached call
(this.$vnode && this.$vnode.ssrContext) || // stateful
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
// 2.2 with runInNewContext: true
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
context = __VUE_SSR_CONTEXT__
}
// inject component styles
if (injectStyles) {
injectStyles.call(this, context)
}
// register component module identifier for async chunk inferrence
if (context && context._registeredComponents) {
context._registeredComponents.add(moduleIdentifier)
}
}
// used by ssr in case component is cached and beforeCreate
// never gets called
options._ssrRegister = hook
} else if (injectStyles) {
hook = shadowMode
? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
: injectStyles
}
if (hook) {
if (options.functional) {
// for template-only hot-reload because in that case the render fn doesn't
// go through the normalizer
options._injectStyles = hook
// register for functioal component in vue file
var originalRender = options.render
options.render = function renderWithStyleInjection (h, context) {
hook.call(context)
return originalRender(h, context)
}
} else {
// inject component registration as beforeCreate hook
var existing = options.beforeCreate
options.beforeCreate = existing
? [].concat(existing, hook)
: [hook]
}
}
return {
exports: scriptExports,
options: options
}
}
// CONCATENATED MODULE: ./src/components/Stepper.vue
/* normalize component */
var component = normalizeComponent(
components_Steppervue_type_script_lang_js_,
render,
staticRenderFns,
false,
null,
null,
null
)
/* harmony default export */ var Stepper = (component.exports);
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
/* harmony default export */ var entry_lib = __webpack_exports__["default"] = (Stepper);
/***/ })
/******/ })["default"];
});
//# sourceMappingURL=stepper.umd.js.map

1
stepper/dist/stepper.umd.js.map vendored Executable file

File diff suppressed because one or more lines are too long

2
stepper/dist/stepper.umd.min.js vendored Executable file
View File

@ -0,0 +1,2 @@
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["stepper"]=t():e["stepper"]=t()})("undefined"!==typeof self?self:this,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({fb15:function(e,t,n){"use strict";var r;(n.r(t),"undefined"!==typeof window)&&((r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^\/]+\.js(\?.*)?$/))&&(n.p=r[1]));var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticStyle:{width:"100%"}},[n("ul",{staticClass:"stepper",class:"stepper-"+e.activeColor},e._l(e.steps,function(t,r){return n("li",{class:{current:e.value==r,done:e.isDone(r)}},[n("a",{attrs:{href:"javascript:void(0);"},on:{click:function(t){return e.$emit("input",r)}}},[n("span",{staticClass:"fa step-icon",class:["fa-"+t.icon]}),n("span",{staticClass:"label step-label",domProps:{innerHTML:e._s(t.label)}})])])}),0),e._l(e.steps,function(t,r){return n("div",{directives:[{name:"show",rawName:"v-show",value:r==e.value,expression:"index == value"}]},[e._t(t.label,null,{next:e.next,prev:e.prev})],2)})],2)},i=[],s={props:{value:{},steps:{default:function(){return[]},type:Array},activeColor:{type:String,default:"default"}},computed:{},methods:{isDone:function(e){return e<this.value},next:function(){"undefined"!=typeof this.steps[this.value+1]&&this.$emit("input",this.value+1)},prev:function(){"undefined"!=typeof this.steps[this.value-1]&&this.$emit("input",this.value-1)}}},u=s;function a(e,t,n,r,o,i,s,u){var a,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),s?(a=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},l._ssrRegister=a):o&&(a=u?function(){o.call(this,this.$root.$options.shadowRoot)}:o),a)if(l.functional){l._injectStyles=a;var f=l.render;l.render=function(e,t){return a.call(t),f(e,t)}}else{var c=l.beforeCreate;l.beforeCreate=c?[].concat(c,a):[a]}return{exports:e,options:l}}var l=a(u,o,i,!1,null,null,null),f=l.exports;t["default"]=f}})["default"]});
//# sourceMappingURL=stepper.umd.min.js.map

1
stepper/dist/stepper.umd.min.js.map vendored Executable file

File diff suppressed because one or more lines are too long

11912
stepper/package-lock.json generated Executable file

File diff suppressed because it is too large Load Diff

26
stepper/package.json Executable file
View File

@ -0,0 +1,26 @@
{
"name": "stepper",
"version": "0.1.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build --target lib ./src/components/Stepper.vue",
"lint": "vue-cli-service lint"
},
"dependencies": {
"font-awesome": "^4.7.0",
"vue": "^2.5.22"
},
"devDependencies": {
"@vue/cli-plugin-babel": "^3.4.0",
"@vue/cli-plugin-eslint": "^3.4.0",
"@vue/cli-service": "^3.4.0",
"@vue/eslint-config-prettier": "^4.0.1",
"babel-eslint": "^10.0.1",
"eslint": "^5.8.0",
"eslint-plugin-vue": "^5.0.0",
"node-sass": "^4.9.0",
"sass-loader": "^7.1.0",
"vue-template-compiler": "^2.5.21"
}
}

5
stepper/postcss.config.js Executable file
View File

@ -0,0 +1,5 @@
module.exports = {
plugins: {
autoprefixer: {}
}
};

BIN
stepper/public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

17
stepper/public/index.html Normal file
View File

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title>stepper</title>
</head>
<body>
<noscript>
<strong>We're sorry but stepper doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html>

48
stepper/src/App.vue Normal file
View File

@ -0,0 +1,48 @@
<template>
<div id="app">
<div>
<stepper :steps="steps" v-model="current" first-color="#ff00ff">
<template slot="Rechner" slot-scope="{prev, next}">
<span @click="prev">z</span>
<span @click="next">w</span>
</template>
</stepper>
</div>
</div>
</template>
<style>
#app {
display: flex;
margin-top: 100px;
align-items: center;
justify-content: center;
}
#app div {
width: 60%;
height: 60%;
}
</style>
<script>
import Stepper from "./components/Stepper.vue";
export default {
name: "app",
data: function() {
return {
current: 0,
steps: [
{label: 'Rechner', icon: 'calculator'},
{label: 'Tarifauswahl', icon: 'money'},
{label: 'Ihre Angaben', icon: 'user'},
{label: 'Prüfen & Absenden', icon: 'check'}
]
};
},
components: {
Stepper,
}
};
</script>

BIN
stepper/src/assets/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

329
stepper/src/assets/logo.svg Normal file
View File

@ -0,0 +1,329 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 21.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 170.1 56.7" style="enable-background:new 0 0 170.1 56.7;" xml:space="preserve">
<style type="text/css">
.st0{clip-path:url(#SVGID_2_);}
.st1{clip-path:url(#SVGID_2_);fill:none;stroke:#000000;stroke-width:0.1;}
.st2{clip-path:url(#SVGID_4_);}
.st3{clip-path:url(#SVGID_4_);fill:#F8D200;}
.st4{clip-path:url(#SVGID_4_);fill:#E30613;}
</style>
<g>
<defs>
<rect id="SVGID_1_" y="0.1" width="168.5" height="56.6"/>
</defs>
<clipPath id="SVGID_2_">
<use xlink:href="#SVGID_1_" style="overflow:visible;"/>
</clipPath>
<path class="st0" d="M142,32.3c2.7,2.3,5.8,3.4,9.5,3.4c4.3-0.1,6.5-1.7,6.6-4.8c0-2.6-1.4-4.1-4.4-4.6c-1.3-0.2-2.8-0.4-4.4-0.6
c-2.9-0.5-5.1-1.6-6.6-3.3c-1.5-1.8-2.3-3.9-2.3-6.4c0-3,1-5.5,2.9-7.3c1.9-1.8,4.5-2.8,8-2.8c4.2,0.1,7.8,1.3,10.8,3.6l-2.8,4.3
c-2.5-1.7-5.3-2.6-8.3-2.7c-1.6,0-2.9,0.4-3.9,1.2c-1.1,0.8-1.6,2.1-1.7,3.7c0,1,0.4,1.9,1.1,2.7c0.8,0.8,2,1.4,3.6,1.7
c0.9,0.2,2.2,0.3,3.8,0.5c3.1,0.4,5.5,1.6,7,3.5c1.5,1.8,2.2,4,2.2,6.4c-0.2,6.6-4.1,10-11.7,10.1c-5,0-9.2-1.6-12.8-4.7L142,32.3z
M111.7,6.1h5.4l7.6,26.3h0.1l7.6-26.3h5.4l-11,34.5h-3.9L111.7,6.1z M87.1,36.3l15.2-25.6h-15V6.1h21.2V10L92.7,35.7h15.7v4.9
H87.1V36.3z M63.7,35.7h6.1c2.8,0,4.9-1,6.2-3c0.6-0.7,0.9-1.7,1.1-2.8c0.1-1.1,0.2-3.2,0.2-6.3c0-3-0.1-5.2-0.2-6.5
c-0.2-1.3-0.6-2.4-1.3-3.2c-1.4-2-3.4-3-6-2.9h-6.1V35.7z M58.7,6.1h11.7c4.5,0,7.9,2,10.2,5.8c0.8,1.3,1.3,2.7,1.5,4.1
c0.2,1.4,0.3,3.9,0.3,7.4c0,3.7-0.1,6.3-0.4,7.8c-0.1,0.7-0.3,1.4-0.6,2c-0.3,0.6-0.6,1.2-0.9,1.8c-1,1.6-2.3,3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-1.6-0.6c-0.6,0-1.2,0.2-1.6,0.6C163.7,7.9,163.5,8.4,163.5,9.1 M162.9,9.1
c0-0.8,0.3-1.5,0.8-2.1c0.5-0.6,1.2-0.8,2-0.8c0.8,0,1.5,0.3,2,0.8c0.5,0.5,0.8,1.2,0.8,2.1c0,0.8-0.3,1.5-0.8,2
c-0.5,0.6-1.2,0.8-2,0.9c-0.8,0-1.5-0.3-2-0.9C163.1,10.6,162.9,10,162.9,9.1 M164.6,7.4h1.2c0.7,0,1.1,0.3,1.1,1
c0,0.3-0.1,0.6-0.2,0.7c-0.2,0.1-0.4,0.2-0.6,0.3l0.9,1.4h-0.6l-0.9-1.4h-0.3v1.4h-0.6V7.4z M165.2,8.8h0.4c0.2,0,0.4,0,0.6-0.1
c0.2-0.1,0.3-0.2,0.3-0.4c0-0.2-0.1-0.3-0.2-0.4c-0.1-0.1-0.3-0.1-0.5-0.1h-0.5V8.8z"/>
</g>
<g>
<defs>
<rect id="SVGID_3_" y="0.1" width="54.8" height="46.5"/>
</defs>
<clipPath id="SVGID_4_">
<use xlink:href="#SVGID_3_" style="overflow:visible;"/>
</clipPath>
<path class="st2" d="M40.3,9.6c-3.1-2.7-7.1-4.8-12.6-4.8c-9.4,0-16.1,6.7-18,13.4l-4.7,8.1c-0.1-0.7-0.2-2-0.2-2.7
C4.9,11,15.1,0.7,27.7,0.7c5.4,0,10.4,1.8,14.6,5.3L40.3,9.6z M50.4,21c0.1,0.7,0.1,1.9,0.1,2.6c0,12.6-10.2,22.8-22.8,22.8
c-5.4,0-10.4-1.8-14.6-5.3l2.1-3.5c3.3,3,8,4.8,12.5,4.8c9.2,0,15.9-6.4,18-13.2L50.4,21z"/>
<path class="st3" d="M53.7,6.3c0.3,0,0.4,0.2,0.5,0.4c0.2,0.4,0.2,0.8,0,1.2l-16,27.7c-0.2,0.4-0.6,0.6-1,0.6H31
c-0.4,0-0.8-0.3-1-0.6c-0.2-0.4-0.3-0.8-0.1-1.2L45.8,7.1c0.1-0.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"/>
<rect x="152.9" y="51.1" class="st2" width="1.1" height="4.4"/>
<rect x="87.9" y="49.4" class="st2" width="1.1" height="1.1"/>
<path class="st2" d="M163.7,52.9c0-0.6-0.2-1-0.5-1.4c-0.3-0.3-0.8-0.5-1.2-0.5c-0.2,0-0.4,0-0.6,0.1c-0.2,0.1-0.4,0.2-0.6,0.4
c-0.2,0.2-0.3,0.4-0.4,0.7c-0.1,0.3-0.2,0.6-0.2,1.1c0,0.4,0.1,0.8,0.2,1.1c0.1,0.3,0.3,0.5,0.5,0.7c0.1,0.1,0.2,0.1,0.3,0.2
c0.1,0.1,0.2,0.1,0.3,0.2c0.2,0.1,0.4,0.1,0.7,0.1h0c0.6,0,1.1-0.2,1.5-0.7l0,0l0-0.2l-0.7-0.6l-0.1,0.1c-0.2,0.2-0.5,0.4-0.8,0.4
c-0.2,0-0.4-0.1-0.6-0.2c-0.1-0.1-0.2-0.3-0.2-0.5h2.5V52.9z M162.8,52.9h-1.7c0-0.3,0.1-0.6,0.2-0.7c0.2-0.2,0.4-0.2,0.6-0.2
c0.2,0,0.4,0.1,0.6,0.2C162.7,52.3,162.8,52.6,162.8,52.9"/>
<rect x="152.9" y="49.4" class="st2" width="1.1" height="1.1"/>
<path class="st2" d="M135.5,51.9c-0.3,0-0.5-0.1-0.6-0.1c-0.2,0-0.4-0.1-0.5-0.2c-0.1-0.1-0.1-0.2-0.1-0.3c0-0.2,0.1-0.4,0.2-0.5
c0.1-0.1,0.3-0.2,0.6-0.2c0.5,0,0.9,0.2,1.3,0.4l0.1,0.1l0.6-1L137,50c-0.5-0.4-1.2-0.6-1.9-0.6c-0.6,0-1.1,0.2-1.4,0.5
c-0.4,0.3-0.5,0.8-0.5,1.3c0,0.5,0.1,0.8,0.4,1.2c0.3,0.3,0.7,0.5,1.2,0.6c0.3,0,0.5,0.1,0.7,0.1c0.4,0.1,0.6,0.3,0.6,0.6
c0,0.3-0.1,0.6-0.9,0.7c-0.6,0-1.1-0.2-1.5-0.5l0,0l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,0.6,0.2C141.2,52.3,141.3,52.6,141.3,52.9"/>
<path class="st2" d="M102.1,51c-0.2,0-0.4,0-0.6,0.1c-0.2,0.1-0.4,0.2-0.6,0.4c-0.2,0.2-0.3,0.4-0.4,0.7c-0.1,0.3-0.2,0.6-0.2,1.1
c0,0.4,0.1,0.8,0.2,1.1c0.1,0.3,0.3,0.5,0.4,0.7c0.1,0.1,0.2,0.1,0.3,0.2c0.1,0.1,0.2,0.1,0.3,0.2c0.2,0.1,0.4,0.1,0.7,0.1h0
c0.6,0,1.1-0.2,1.5-0.7l0,0l0-0.2l-0.7-0.6l-0.1,0.1c-0.2,0.2-0.5,0.4-0.8,0.4c-0.2,0-0.4-0.1-0.6-0.2c-0.1-0.1-0.2-0.3-0.2-0.5
h2.5v-0.8c0-0.6-0.2-1-0.5-1.4C103.1,51.2,102.6,51,102.1,51 M103,52.9h-1.7c0-0.3,0.1-0.6,0.2-0.7c0.2-0.2,0.4-0.2,0.6-0.2
c0.2,0,0.4,0.1,0.6,0.2C102.9,52.3,103,52.6,103,52.9"/>
<path class="st2" d="M107.5,51c-0.3,0-0.6,0.1-0.9,0.3v-0.2h-1.1v4.4h1.1v-2.6c0-0.3,0.1-0.4,0.2-0.5c0.1-0.1,0.3-0.2,0.4-0.2
c0.1,0,0.3,0.1,0.4,0.2l0,0l0.2,0l0.7-0.8l-0.1-0.1C108.2,51.2,107.9,51,107.5,51"/>
<path class="st2" d="M97.3,51c-0.3,0-0.6,0.1-0.9,0.3v-1.9h-1.1v6h1.1v-2.6c0-0.2,0.1-0.4,0.2-0.5c0.1-0.1,0.3-0.2,0.5-0.2
c0.2,0,0.3,0.1,0.5,0.2c0.1,0.1,0.2,0.3,0.2,0.5v2.6h1.1v-2.9c0-0.5-0.2-0.9-0.5-1.2C98,51.2,97.7,51,97.3,51"/>
<path class="st2" d="M92.4,52.2L92.4,52.2c0.3,0,0.5,0.1,0.7,0.4l0.1,0.1l0.8-0.8l-0.1-0.1c-0.2-0.2-0.4-0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,7,3.5c1.5,1.9,2.2,4,2.2,6.5
c-0.2,6.7-4.1,10-11.8,10.1c-5,0-9.3-1.6-12.9-4.7L142.5,32.6z"/>
<path class="st2" d="M166.4,8.8h0.4c0.2,0,0.4,0,0.6-0.1c0.2-0.1,0.3-0.2,0.3-0.4c0-0.2-0.1-0.3-0.2-0.4c-0.1-0.1-0.3-0.1-0.5-0.1
h-0.5V8.8z M165.9,7.3h1.2c0.8,0,1.1,0.3,1.1,1c0,0.3-0.1,0.6-0.2,0.7c-0.2,0.1-0.4,0.2-0.6,0.3l0.9,1.4h-0.7l-0.9-1.4h-0.3v1.4
h-0.6V7.3z M164.1,9.1c0-0.8,0.3-1.5,0.8-2.1c0.5-0.6,1.2-0.8,2-0.8c0.8,0,1.5,0.3,2,0.8c0.5,0.6,0.8,1.2,0.8,2.1
c0,0.8-0.3,1.5-0.8,2.1c-0.5,0.6-1.2,0.9-2,0.9c-0.8,0-1.5-0.3-2-0.9C164.4,10.6,164.1,9.9,164.1,9.1 M164.7,9.1
c0,0.7,0.2,1.2,0.6,1.7c0.4,0.4,0.9,0.7,1.6,0.7c0.7,0,1.2-0.2,1.6-0.7c0.4-0.4,0.6-1,0.6-1.7c0-0.7-0.2-1.3-0.6-1.7
c-0.4-0.4-0.9-0.6-1.6-0.7c-0.6,0-1.2,0.2-1.6,0.7C164.9,7.8,164.7,8.4,164.7,9.1"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 35 KiB

View File

@ -0,0 +1,53 @@
<template>
<div style="width: 100%;">
<ul class="stepper" :class="'stepper-' + activeColor">
<li v-for="(step, index) in steps" :class="{'current': value == index, 'done': isDone(index)}" :key="index">
<a href="javascript:void(0);" @click.prevent="changeIndex(index)">
<span class="tw-bg-primary tw-rounded-full tw-w-12 tw-h-12 tw-flex tw-justify-center tw-items-center">
<svg class="tw-fill-current tw-w-6 tw-h-6 tw-text-white"><use :xlink:href="`/wp-content/themes/dzvs/assets/public/img/sprite.svg#${step.icon}`" v-if="typeof step.icon !== 'undefined'"></use></svg>
</span>
<span class="step-icon" v-if="step.icon === undefined">
<slot :name="'icon-'+step.label"></slot>
</span>
<span v-html="step.label" class="label step-label"></span>
</a>
</li>
</ul>
<div v-show="index === value" v-for="(step, index) in steps" :key="index">
<slot :name="step.label" :next="next" :prev="prev"></slot>
</div>
</div>
</template>
<script>
export default {
props: {
value: {},
steps: {
default: function() { return []; },
type: Array
},
activeColor: {
type: String,
default: 'default'
}
},
methods: {
isDone(index) {
return index < this.value;
},
next() {
if (typeof this.steps[this.value + 1] === 'undefined') { return; }
this.$emit('input', this.value + 1);
},
changeIndex(index) {
this.$emit('input', index);
},
prev() {
if (typeof this.steps[this.value - 1] === 'undefined') { return; }
this.$emit('input', this.value - 1);
}
}
};
</script>

10
stepper/src/main.js Executable file
View File

@ -0,0 +1,10 @@
import Vue from "vue";
import App from "./App.vue";
Vue.config.productionTip = false;
import 'font-awesome/css/font-awesome.css'
new Vue({
render: h => h(App)
}).$mount("#app");

3
switch/.browserslistrc Normal file
View File

@ -0,0 +1,3 @@
> 1%
last 2 versions
not ie <= 8

18
switch/.eslintrc.js Executable file
View File

@ -0,0 +1,18 @@
module.exports = {
root: true,
env: {
node: true
},
extends: ["plugin:vue/essential", "@vue/standard"],
rules: {
indent: ['error', 4],
'space-before-function-paren': ['error', 'never'],
'semi': ['error', 'always'],
'no-multi-spaces': ['error', { 'ignoreEOLComments': true }],
'space-before-blocks': ['error', 'always'],
'no-multiple-empty-lines': ['error', { 'maxEOF': 1, 'max': 2 }]
},
parserOptions: {
parser: "babel-eslint"
}
};

20
switch/.gitignore vendored Normal file
View File

@ -0,0 +1,20 @@
.DS_Store
node_modules
# local env files
.env.local
.env.*.local
# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw*

29
switch/README.md Normal file
View File

@ -0,0 +1,29 @@
# checkbox
## Project setup
```
npm install
```
### Compiles and hot-reloads for development
```
npm run serve
```
### Compiles and minifies for production
```
npm run build
```
### Run your tests
```
npm run test
```
### Lints and fixes files
```
npm run lint
```
### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).

3
switch/babel.config.js Executable file
View File

@ -0,0 +1,3 @@
module.exports = {
presets: ["@vue/app"]
};

695
switch/dist/checkbox.common.js vendored Executable file
View File

@ -0,0 +1,695 @@
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = "376b");
/******/ })
/************************************************************************/
/******/ ({
/***/ "0096":
/***/ (function(module, exports) {
module.exports = function (it) {
return typeof it === 'object' ? it !== null : typeof it === 'function';
};
/***/ }),
/***/ "03a2":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
__webpack_require__("314c");
var anObject = __webpack_require__("c35f");
var $flags = __webpack_require__("5b23");
var DESCRIPTORS = __webpack_require__("17fd");
var TO_STRING = 'toString';
var $toString = /./[TO_STRING];
var define = function (fn) {
__webpack_require__("095b")(RegExp.prototype, TO_STRING, fn, true);
};
// 21.2.5.14 RegExp.prototype.toString()
if (__webpack_require__("b217")(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) {
define(function toString() {
var R = anObject(this);
return '/'.concat(R.source, '/',
'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined);
});
// FF44- RegExp#toString has a wrong name
} else if ($toString.name != TO_STRING) {
define(function toString() {
return $toString.call(this);
});
}
/***/ }),
/***/ "0481":
/***/ (function(module, exports, __webpack_require__) {
var isObject = __webpack_require__("0096");
var document = __webpack_require__("9bc3").document;
// typeof document.createElement is 'object' in old IE
var is = isObject(document) && isObject(document.createElement);
module.exports = function (it) {
return is ? document.createElement(it) : {};
};
/***/ }),
/***/ "095b":
/***/ (function(module, exports, __webpack_require__) {
var global = __webpack_require__("9bc3");
var hide = __webpack_require__("83e9");
var has = __webpack_require__("3404");
var SRC = __webpack_require__("84cc")('src');
var $toString = __webpack_require__("839b");
var TO_STRING = 'toString';
var TPL = ('' + $toString).split(TO_STRING);
__webpack_require__("3f61").inspectSource = function (it) {
return $toString.call(it);
};
(module.exports = function (O, key, val, safe) {
var isFunction = typeof val == 'function';
if (isFunction) has(val, 'name') || hide(val, 'name', key);
if (O[key] === val) return;
if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));
if (O === global) {
O[key] = val;
} else if (!safe) {
delete O[key];
hide(O, key, val);
} else if (O[key]) {
O[key] = val;
} else {
hide(O, key, val);
}
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
})(Function.prototype, TO_STRING, function toString() {
return typeof this == 'function' && this[SRC] || $toString.call(this);
});
/***/ }),
/***/ "17fd":
/***/ (function(module, exports, __webpack_require__) {
// Thank's IE8 for his funny defineProperty
module.exports = !__webpack_require__("b217")(function () {
return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
});
/***/ }),
/***/ "2098":
/***/ (function(module, exports) {
// document.currentScript polyfill by Adam Miller
// MIT license
(function(document){
var currentScript = "currentScript",
scripts = document.getElementsByTagName('script'); // Live NodeList collection
// If browser needs currentScript polyfill, add get currentScript() to the document object
if (!(currentScript in document)) {
Object.defineProperty(document, currentScript, {
get: function(){
// IE 6-10 supports script readyState
// IE 10+ support stack trace
try { throw new Error(); }
catch (err) {
// Find the second match for the "at" string to get file src url from stack.
// Specifically works with the format of stack traces in IE.
var i, res = ((/.*at [^\(]*\((.*):.+:.+\)$/ig).exec(err.stack) || [false])[1];
// For all scripts on the page, if src matches or if ready state is interactive, return the script tag
for(i in scripts){
if(scripts[i].src == res || scripts[i].readyState == "interactive"){
return scripts[i];
}
}
// If no match, return null
return null;
}
}
});
}
})(document);
/***/ }),
/***/ "314c":
/***/ (function(module, exports, __webpack_require__) {
// 21.2.5.3 get RegExp.prototype.flags()
if (__webpack_require__("17fd") && /./g.flags != 'g') __webpack_require__("cce7").f(RegExp.prototype, 'flags', {
configurable: true,
get: __webpack_require__("5b23")
});
/***/ }),
/***/ "3404":
/***/ (function(module, exports) {
var hasOwnProperty = {}.hasOwnProperty;
module.exports = function (it, key) {
return hasOwnProperty.call(it, key);
};
/***/ }),
/***/ "376b":
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
// CONCATENATED MODULE: /usr/local/lib/node_modules/@vue/cli-service-global/node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
// This file is imported into lib/wc client bundles.
if (typeof window !== 'undefined') {
if (true) {
__webpack_require__("2098")
}
var i
if ((i = window.document.currentScript) && (i = i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))) {
__webpack_require__.p = i[1] // eslint-disable-line
}
}
// Indicate to webpack that this file can be concatenated
/* harmony default export */ var setPublicPath = (null);
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7da7298c-vue-loader-template"}!/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Checkbox.vue?vue&type=template&id=5ff1eb5c&
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"field-wrapper"},[_c('label',{staticClass:"fancy-checkbox",attrs:{"for":_vm.unique}},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.v),expression:"v"}],attrs:{"type":"checkbox","id":_vm.unique,"disabled":_vm.disabled},domProps:{"checked":Array.isArray(_vm.v)?_vm._i(_vm.v,null)>-1:(_vm.v)},on:{"change":function($event){var $$a=_vm.v,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.v=$$a.concat([$$v]))}else{$$i>-1&&(_vm.v=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.v=$$c}}}}),_c('span',{class:['tw-bg-primary']}),(_vm.label)?_c('span',{staticClass:"w-full"},[_vm._v(_vm._s(_vm.label))]):_vm._e(),(_vm.$slots.default)?_c('span',{staticClass:"w-full aside-info"},[_vm._t("default")],2):_vm._e()])])}
var staticRenderFns = []
// CONCATENATED MODULE: ./src/components/Checkbox.vue?vue&type=template&id=5ff1eb5c&
// EXTERNAL MODULE: /usr/local/lib/node_modules/@vue/cli-service-global/node_modules/core-js/modules/es6.regexp.to-string.js
var es6_regexp_to_string = __webpack_require__("03a2");
// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib??ref--12-1!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Checkbox.vue?vue&type=script&lang=js&
//
//
//
//
//
//
//
//
//
//
//
/* harmony default export */ var Checkboxvue_type_script_lang_js_ = ({
model: {
prop: 'items',
event: 'input'
},
props: {
disabled: {
type: Boolean,
default: false
},
value: {
default: false
},
label: {
default: false
},
items: {
default: undefined
}
},
computed: {
v: {
set: function set(v) {
var _this = this;
if (this.disabled === true) {
return;
}
if (typeof this.items === 'boolean') {
this.$emit('input', v);
return;
}
var a = this.items.filter(function (i) {
return i !== _this.value;
});
if (v) {
a.push(this.value);
}
this.$emit('input', a);
},
get: function get() {
if (typeof this.items === 'boolean') {
return this.items;
}
if (typeof this.items === 'undefined') {
return this.$emit('input', false);
}
return this.items.indexOf(this.value) !== -1;
}
},
unique: function unique() {
return Math.random().toString(36).substr(2, 9) + Math.random().toString(36).substr(2, 9);
}
}
});
// CONCATENATED MODULE: ./src/components/Checkbox.vue?vue&type=script&lang=js&
/* harmony default export */ var components_Checkboxvue_type_script_lang_js_ = (Checkboxvue_type_script_lang_js_);
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
/* globals __VUE_SSR_CONTEXT__ */
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
// This module is a runtime utility for cleaner component module output and will
// be included in the final webpack user bundle.
function normalizeComponent (
scriptExports,
render,
staticRenderFns,
functionalTemplate,
injectStyles,
scopeId,
moduleIdentifier, /* server only */
shadowMode /* vue-cli only */
) {
// Vue.extend constructor export interop
var options = typeof scriptExports === 'function'
? scriptExports.options
: scriptExports
// render functions
if (render) {
options.render = render
options.staticRenderFns = staticRenderFns
options._compiled = true
}
// functional template
if (functionalTemplate) {
options.functional = true
}
// scopedId
if (scopeId) {
options._scopeId = 'data-v-' + scopeId
}
var hook
if (moduleIdentifier) { // server build
hook = function (context) {
// 2.3 injection
context =
context || // cached call
(this.$vnode && this.$vnode.ssrContext) || // stateful
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
// 2.2 with runInNewContext: true
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
context = __VUE_SSR_CONTEXT__
}
// inject component styles
if (injectStyles) {
injectStyles.call(this, context)
}
// register component module identifier for async chunk inferrence
if (context && context._registeredComponents) {
context._registeredComponents.add(moduleIdentifier)
}
}
// used by ssr in case component is cached and beforeCreate
// never gets called
options._ssrRegister = hook
} else if (injectStyles) {
hook = shadowMode
? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
: injectStyles
}
if (hook) {
if (options.functional) {
// for template-only hot-reload because in that case the render fn doesn't
// go through the normalizer
options._injectStyles = hook
// register for functioal component in vue file
var originalRender = options.render
options.render = function renderWithStyleInjection (h, context) {
hook.call(context)
return originalRender(h, context)
}
} else {
// inject component registration as beforeCreate hook
var existing = options.beforeCreate
options.beforeCreate = existing
? [].concat(existing, hook)
: [hook]
}
}
return {
exports: scriptExports,
options: options
}
}
// CONCATENATED MODULE: ./src/components/Checkbox.vue
/* normalize component */
var component = normalizeComponent(
components_Checkboxvue_type_script_lang_js_,
render,
staticRenderFns,
false,
null,
null,
null
)
/* harmony default export */ var Checkbox = (component.exports);
// CONCATENATED MODULE: /usr/local/lib/node_modules/@vue/cli-service-global/node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
/* harmony default export */ var entry_lib = __webpack_exports__["default"] = (Checkbox);
/***/ }),
/***/ "3f61":
/***/ (function(module, exports) {
var core = module.exports = { version: '2.6.9' };
if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
/***/ }),
/***/ "5b23":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// 21.2.5.3 get RegExp.prototype.flags
var anObject = __webpack_require__("c35f");
module.exports = function () {
var that = anObject(this);
var result = '';
if (that.global) result += 'g';
if (that.ignoreCase) result += 'i';
if (that.multiline) result += 'm';
if (that.unicode) result += 'u';
if (that.sticky) result += 'y';
return result;
};
/***/ }),
/***/ "5b7a":
/***/ (function(module, exports) {
module.exports = function (bitmap, value) {
return {
enumerable: !(bitmap & 1),
configurable: !(bitmap & 2),
writable: !(bitmap & 4),
value: value
};
};
/***/ }),
/***/ "839b":
/***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__("aabf")('native-function-to-string', Function.toString);
/***/ }),
/***/ "83e9":
/***/ (function(module, exports, __webpack_require__) {
var dP = __webpack_require__("cce7");
var createDesc = __webpack_require__("5b7a");
module.exports = __webpack_require__("17fd") ? function (object, key, value) {
return dP.f(object, key, createDesc(1, value));
} : function (object, key, value) {
object[key] = value;
return object;
};
/***/ }),
/***/ "84cc":
/***/ (function(module, exports) {
var id = 0;
var px = Math.random();
module.exports = function (key) {
return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
};
/***/ }),
/***/ "97f0":
/***/ (function(module, exports) {
module.exports = false;
/***/ }),
/***/ "9bc3":
/***/ (function(module, exports) {
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
var global = module.exports = typeof window != 'undefined' && window.Math == Math
? window : typeof self != 'undefined' && self.Math == Math ? self
// eslint-disable-next-line no-new-func
: Function('return this')();
if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
/***/ }),
/***/ "aabf":
/***/ (function(module, exports, __webpack_require__) {
var core = __webpack_require__("3f61");
var global = __webpack_require__("9bc3");
var SHARED = '__core-js_shared__';
var store = global[SHARED] || (global[SHARED] = {});
(module.exports = function (key, value) {
return store[key] || (store[key] = value !== undefined ? value : {});
})('versions', []).push({
version: core.version,
mode: __webpack_require__("97f0") ? 'pure' : 'global',
copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
});
/***/ }),
/***/ "b217":
/***/ (function(module, exports) {
module.exports = function (exec) {
try {
return !!exec();
} catch (e) {
return true;
}
};
/***/ }),
/***/ "be9a":
/***/ (function(module, exports, __webpack_require__) {
module.exports = !__webpack_require__("17fd") && !__webpack_require__("b217")(function () {
return Object.defineProperty(__webpack_require__("0481")('div'), 'a', { get: function () { return 7; } }).a != 7;
});
/***/ }),
/***/ "c35f":
/***/ (function(module, exports, __webpack_require__) {
var isObject = __webpack_require__("0096");
module.exports = function (it) {
if (!isObject(it)) throw TypeError(it + ' is not an object!');
return it;
};
/***/ }),
/***/ "cce7":
/***/ (function(module, exports, __webpack_require__) {
var anObject = __webpack_require__("c35f");
var IE8_DOM_DEFINE = __webpack_require__("be9a");
var toPrimitive = __webpack_require__("fc8a");
var dP = Object.defineProperty;
exports.f = __webpack_require__("17fd") ? Object.defineProperty : function defineProperty(O, P, Attributes) {
anObject(O);
P = toPrimitive(P, true);
anObject(Attributes);
if (IE8_DOM_DEFINE) try {
return dP(O, P, Attributes);
} catch (e) { /* empty */ }
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
if ('value' in Attributes) O[P] = Attributes.value;
return O;
};
/***/ }),
/***/ "fc8a":
/***/ (function(module, exports, __webpack_require__) {
// 7.1.1 ToPrimitive(input [, PreferredType])
var isObject = __webpack_require__("0096");
// instead of the ES6 spec version, we didn't implement @@toPrimitive case
// and the second argument - flag - preferred type is a string
module.exports = function (it, S) {
if (!isObject(it)) return it;
var fn, val;
if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;
if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
throw TypeError("Can't convert object to primitive value");
};
/***/ })
/******/ })["default"];
//# sourceMappingURL=checkbox.common.js.map

1
switch/dist/checkbox.common.js.map vendored Executable file

File diff suppressed because one or more lines are too long

705
switch/dist/checkbox.umd.js vendored Executable file
View File

@ -0,0 +1,705 @@
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define([], factory);
else if(typeof exports === 'object')
exports["checkbox"] = factory();
else
root["checkbox"] = factory();
})((typeof self !== 'undefined' ? self : this), function() {
return /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = "376b");
/******/ })
/************************************************************************/
/******/ ({
/***/ "0096":
/***/ (function(module, exports) {
module.exports = function (it) {
return typeof it === 'object' ? it !== null : typeof it === 'function';
};
/***/ }),
/***/ "03a2":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
__webpack_require__("314c");
var anObject = __webpack_require__("c35f");
var $flags = __webpack_require__("5b23");
var DESCRIPTORS = __webpack_require__("17fd");
var TO_STRING = 'toString';
var $toString = /./[TO_STRING];
var define = function (fn) {
__webpack_require__("095b")(RegExp.prototype, TO_STRING, fn, true);
};
// 21.2.5.14 RegExp.prototype.toString()
if (__webpack_require__("b217")(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) {
define(function toString() {
var R = anObject(this);
return '/'.concat(R.source, '/',
'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined);
});
// FF44- RegExp#toString has a wrong name
} else if ($toString.name != TO_STRING) {
define(function toString() {
return $toString.call(this);
});
}
/***/ }),
/***/ "0481":
/***/ (function(module, exports, __webpack_require__) {
var isObject = __webpack_require__("0096");
var document = __webpack_require__("9bc3").document;
// typeof document.createElement is 'object' in old IE
var is = isObject(document) && isObject(document.createElement);
module.exports = function (it) {
return is ? document.createElement(it) : {};
};
/***/ }),
/***/ "095b":
/***/ (function(module, exports, __webpack_require__) {
var global = __webpack_require__("9bc3");
var hide = __webpack_require__("83e9");
var has = __webpack_require__("3404");
var SRC = __webpack_require__("84cc")('src');
var $toString = __webpack_require__("839b");
var TO_STRING = 'toString';
var TPL = ('' + $toString).split(TO_STRING);
__webpack_require__("3f61").inspectSource = function (it) {
return $toString.call(it);
};
(module.exports = function (O, key, val, safe) {
var isFunction = typeof val == 'function';
if (isFunction) has(val, 'name') || hide(val, 'name', key);
if (O[key] === val) return;
if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));
if (O === global) {
O[key] = val;
} else if (!safe) {
delete O[key];
hide(O, key, val);
} else if (O[key]) {
O[key] = val;
} else {
hide(O, key, val);
}
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
})(Function.prototype, TO_STRING, function toString() {
return typeof this == 'function' && this[SRC] || $toString.call(this);
});
/***/ }),
/***/ "17fd":
/***/ (function(module, exports, __webpack_require__) {
// Thank's IE8 for his funny defineProperty
module.exports = !__webpack_require__("b217")(function () {
return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
});
/***/ }),
/***/ "2098":
/***/ (function(module, exports) {
// document.currentScript polyfill by Adam Miller
// MIT license
(function(document){
var currentScript = "currentScript",
scripts = document.getElementsByTagName('script'); // Live NodeList collection
// If browser needs currentScript polyfill, add get currentScript() to the document object
if (!(currentScript in document)) {
Object.defineProperty(document, currentScript, {
get: function(){
// IE 6-10 supports script readyState
// IE 10+ support stack trace
try { throw new Error(); }
catch (err) {
// Find the second match for the "at" string to get file src url from stack.
// Specifically works with the format of stack traces in IE.
var i, res = ((/.*at [^\(]*\((.*):.+:.+\)$/ig).exec(err.stack) || [false])[1];
// For all scripts on the page, if src matches or if ready state is interactive, return the script tag
for(i in scripts){
if(scripts[i].src == res || scripts[i].readyState == "interactive"){
return scripts[i];
}
}
// If no match, return null
return null;
}
}
});
}
})(document);
/***/ }),
/***/ "314c":
/***/ (function(module, exports, __webpack_require__) {
// 21.2.5.3 get RegExp.prototype.flags()
if (__webpack_require__("17fd") && /./g.flags != 'g') __webpack_require__("cce7").f(RegExp.prototype, 'flags', {
configurable: true,
get: __webpack_require__("5b23")
});
/***/ }),
/***/ "3404":
/***/ (function(module, exports) {
var hasOwnProperty = {}.hasOwnProperty;
module.exports = function (it, key) {
return hasOwnProperty.call(it, key);
};
/***/ }),
/***/ "376b":
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
// CONCATENATED MODULE: /usr/local/lib/node_modules/@vue/cli-service-global/node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
// This file is imported into lib/wc client bundles.
if (typeof window !== 'undefined') {
if (true) {
__webpack_require__("2098")
}
var i
if ((i = window.document.currentScript) && (i = i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))) {
__webpack_require__.p = i[1] // eslint-disable-line
}
}
// Indicate to webpack that this file can be concatenated
/* harmony default export */ var setPublicPath = (null);
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7da7298c-vue-loader-template"}!/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Checkbox.vue?vue&type=template&id=5ff1eb5c&
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"field-wrapper"},[_c('label',{staticClass:"fancy-checkbox",attrs:{"for":_vm.unique}},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.v),expression:"v"}],attrs:{"type":"checkbox","id":_vm.unique,"disabled":_vm.disabled},domProps:{"checked":Array.isArray(_vm.v)?_vm._i(_vm.v,null)>-1:(_vm.v)},on:{"change":function($event){var $$a=_vm.v,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.v=$$a.concat([$$v]))}else{$$i>-1&&(_vm.v=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.v=$$c}}}}),_c('span',{class:['tw-bg-primary']}),(_vm.label)?_c('span',{staticClass:"w-full"},[_vm._v(_vm._s(_vm.label))]):_vm._e(),(_vm.$slots.default)?_c('span',{staticClass:"w-full aside-info"},[_vm._t("default")],2):_vm._e()])])}
var staticRenderFns = []
// CONCATENATED MODULE: ./src/components/Checkbox.vue?vue&type=template&id=5ff1eb5c&
// EXTERNAL MODULE: /usr/local/lib/node_modules/@vue/cli-service-global/node_modules/core-js/modules/es6.regexp.to-string.js
var es6_regexp_to_string = __webpack_require__("03a2");
// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib??ref--12-1!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Checkbox.vue?vue&type=script&lang=js&
//
//
//
//
//
//
//
//
//
//
//
/* harmony default export */ var Checkboxvue_type_script_lang_js_ = ({
model: {
prop: 'items',
event: 'input'
},
props: {
disabled: {
type: Boolean,
default: false
},
value: {
default: false
},
label: {
default: false
},
items: {
default: undefined
}
},
computed: {
v: {
set: function set(v) {
var _this = this;
if (this.disabled === true) {
return;
}
if (typeof this.items === 'boolean') {
this.$emit('input', v);
return;
}
var a = this.items.filter(function (i) {
return i !== _this.value;
});
if (v) {
a.push(this.value);
}
this.$emit('input', a);
},
get: function get() {
if (typeof this.items === 'boolean') {
return this.items;
}
if (typeof this.items === 'undefined') {
return this.$emit('input', false);
}
return this.items.indexOf(this.value) !== -1;
}
},
unique: function unique() {
return Math.random().toString(36).substr(2, 9) + Math.random().toString(36).substr(2, 9);
}
}
});
// CONCATENATED MODULE: ./src/components/Checkbox.vue?vue&type=script&lang=js&
/* harmony default export */ var components_Checkboxvue_type_script_lang_js_ = (Checkboxvue_type_script_lang_js_);
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
/* globals __VUE_SSR_CONTEXT__ */
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
// This module is a runtime utility for cleaner component module output and will
// be included in the final webpack user bundle.
function normalizeComponent (
scriptExports,
render,
staticRenderFns,
functionalTemplate,
injectStyles,
scopeId,
moduleIdentifier, /* server only */
shadowMode /* vue-cli only */
) {
// Vue.extend constructor export interop
var options = typeof scriptExports === 'function'
? scriptExports.options
: scriptExports
// render functions
if (render) {
options.render = render
options.staticRenderFns = staticRenderFns
options._compiled = true
}
// functional template
if (functionalTemplate) {
options.functional = true
}
// scopedId
if (scopeId) {
options._scopeId = 'data-v-' + scopeId
}
var hook
if (moduleIdentifier) { // server build
hook = function (context) {
// 2.3 injection
context =
context || // cached call
(this.$vnode && this.$vnode.ssrContext) || // stateful
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
// 2.2 with runInNewContext: true
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
context = __VUE_SSR_CONTEXT__
}
// inject component styles
if (injectStyles) {
injectStyles.call(this, context)
}
// register component module identifier for async chunk inferrence
if (context && context._registeredComponents) {
context._registeredComponents.add(moduleIdentifier)
}
}
// used by ssr in case component is cached and beforeCreate
// never gets called
options._ssrRegister = hook
} else if (injectStyles) {
hook = shadowMode
? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
: injectStyles
}
if (hook) {
if (options.functional) {
// for template-only hot-reload because in that case the render fn doesn't
// go through the normalizer
options._injectStyles = hook
// register for functioal component in vue file
var originalRender = options.render
options.render = function renderWithStyleInjection (h, context) {
hook.call(context)
return originalRender(h, context)
}
} else {
// inject component registration as beforeCreate hook
var existing = options.beforeCreate
options.beforeCreate = existing
? [].concat(existing, hook)
: [hook]
}
}
return {
exports: scriptExports,
options: options
}
}
// CONCATENATED MODULE: ./src/components/Checkbox.vue
/* normalize component */
var component = normalizeComponent(
components_Checkboxvue_type_script_lang_js_,
render,
staticRenderFns,
false,
null,
null,
null
)
/* harmony default export */ var Checkbox = (component.exports);
// CONCATENATED MODULE: /usr/local/lib/node_modules/@vue/cli-service-global/node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
/* harmony default export */ var entry_lib = __webpack_exports__["default"] = (Checkbox);
/***/ }),
/***/ "3f61":
/***/ (function(module, exports) {
var core = module.exports = { version: '2.6.9' };
if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
/***/ }),
/***/ "5b23":
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// 21.2.5.3 get RegExp.prototype.flags
var anObject = __webpack_require__("c35f");
module.exports = function () {
var that = anObject(this);
var result = '';
if (that.global) result += 'g';
if (that.ignoreCase) result += 'i';
if (that.multiline) result += 'm';
if (that.unicode) result += 'u';
if (that.sticky) result += 'y';
return result;
};
/***/ }),
/***/ "5b7a":
/***/ (function(module, exports) {
module.exports = function (bitmap, value) {
return {
enumerable: !(bitmap & 1),
configurable: !(bitmap & 2),
writable: !(bitmap & 4),
value: value
};
};
/***/ }),
/***/ "839b":
/***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__("aabf")('native-function-to-string', Function.toString);
/***/ }),
/***/ "83e9":
/***/ (function(module, exports, __webpack_require__) {
var dP = __webpack_require__("cce7");
var createDesc = __webpack_require__("5b7a");
module.exports = __webpack_require__("17fd") ? function (object, key, value) {
return dP.f(object, key, createDesc(1, value));
} : function (object, key, value) {
object[key] = value;
return object;
};
/***/ }),
/***/ "84cc":
/***/ (function(module, exports) {
var id = 0;
var px = Math.random();
module.exports = function (key) {
return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
};
/***/ }),
/***/ "97f0":
/***/ (function(module, exports) {
module.exports = false;
/***/ }),
/***/ "9bc3":
/***/ (function(module, exports) {
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
var global = module.exports = typeof window != 'undefined' && window.Math == Math
? window : typeof self != 'undefined' && self.Math == Math ? self
// eslint-disable-next-line no-new-func
: Function('return this')();
if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
/***/ }),
/***/ "aabf":
/***/ (function(module, exports, __webpack_require__) {
var core = __webpack_require__("3f61");
var global = __webpack_require__("9bc3");
var SHARED = '__core-js_shared__';
var store = global[SHARED] || (global[SHARED] = {});
(module.exports = function (key, value) {
return store[key] || (store[key] = value !== undefined ? value : {});
})('versions', []).push({
version: core.version,
mode: __webpack_require__("97f0") ? 'pure' : 'global',
copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
});
/***/ }),
/***/ "b217":
/***/ (function(module, exports) {
module.exports = function (exec) {
try {
return !!exec();
} catch (e) {
return true;
}
};
/***/ }),
/***/ "be9a":
/***/ (function(module, exports, __webpack_require__) {
module.exports = !__webpack_require__("17fd") && !__webpack_require__("b217")(function () {
return Object.defineProperty(__webpack_require__("0481")('div'), 'a', { get: function () { return 7; } }).a != 7;
});
/***/ }),
/***/ "c35f":
/***/ (function(module, exports, __webpack_require__) {
var isObject = __webpack_require__("0096");
module.exports = function (it) {
if (!isObject(it)) throw TypeError(it + ' is not an object!');
return it;
};
/***/ }),
/***/ "cce7":
/***/ (function(module, exports, __webpack_require__) {
var anObject = __webpack_require__("c35f");
var IE8_DOM_DEFINE = __webpack_require__("be9a");
var toPrimitive = __webpack_require__("fc8a");
var dP = Object.defineProperty;
exports.f = __webpack_require__("17fd") ? Object.defineProperty : function defineProperty(O, P, Attributes) {
anObject(O);
P = toPrimitive(P, true);
anObject(Attributes);
if (IE8_DOM_DEFINE) try {
return dP(O, P, Attributes);
} catch (e) { /* empty */ }
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
if ('value' in Attributes) O[P] = Attributes.value;
return O;
};
/***/ }),
/***/ "fc8a":
/***/ (function(module, exports, __webpack_require__) {
// 7.1.1 ToPrimitive(input [, PreferredType])
var isObject = __webpack_require__("0096");
// instead of the ES6 spec version, we didn't implement @@toPrimitive case
// and the second argument - flag - preferred type is a string
module.exports = function (it, S) {
if (!isObject(it)) return it;
var fn, val;
if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;
if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
throw TypeError("Can't convert object to primitive value");
};
/***/ })
/******/ })["default"];
});
//# sourceMappingURL=checkbox.umd.js.map

Some files were not shown because too many files have changed in this diff Show More