@kongponents/kbadge
Advanced tools
Comparing version 6.0.0-beta.0 to 6.0.1-alpha.0
@@ -376,8 +376,8 @@ module.exports = | ||
// CONCATENATED MODULE: /home/runner/work/kongponents/kongponents/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4ecc09ca-vue-loader-template"}!/home/runner/work/kongponents/kongponents/node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/home/runner/work/kongponents/kongponents/node_modules/cache-loader/dist/cjs.js??ref--0-0!/home/runner/work/kongponents/kongponents/node_modules/vue-loader/lib??vue-loader-options!./KBadge.vue?vue&type=template&id=07ccd633&scoped=true& | ||
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"k-badge truncate",class:[_vm.appearance !== 'custom' && ("kbadge-" + _vm.appearance)],style:(_vm.color && _vm.backgroundColor && {backgroundColor: _vm.backgroundColor, color: _vm.color})},[_vm._t("default")],2)} | ||
// CONCATENATED MODULE: /home/runner/work/kongponents/kongponents/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4ecc09ca-vue-loader-template"}!/home/runner/work/kongponents/kongponents/node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/home/runner/work/kongponents/kongponents/node_modules/cache-loader/dist/cjs.js??ref--0-0!/home/runner/work/kongponents/kongponents/node_modules/vue-loader/lib??vue-loader-options!./KBadge.vue?vue&type=template&id=49527bf2&scoped=true& | ||
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"k-badge truncate",class:[ ("kbadge-" + _vm.appearance), ("kbadge-" + _vm.shape)],style:(_vm.color && _vm.backgroundColor && {backgroundColor: _vm.backgroundColor, color: _vm.color})},[_vm._t("default")],2)} | ||
var staticRenderFns = [] | ||
// CONCATENATED MODULE: ./KBadge.vue?vue&type=template&id=07ccd633&scoped=true& | ||
// CONCATENATED MODULE: ./KBadge.vue?vue&type=template&id=49527bf2&scoped=true& | ||
@@ -400,5 +400,12 @@ // CONCATENATED MODULE: /home/runner/work/kongponents/kongponents/node_modules/cache-loader/dist/cjs.js??ref--0-0!/home/runner/work/kongponents/kongponents/node_modules/vue-loader/lib??vue-loader-options!./KBadge.vue?vue&type=script&lang=js& | ||
danger: 'danger', | ||
warning: 'warning' | ||
info: 'info', | ||
warning: 'warning', | ||
custom: 'custom' | ||
} | ||
const shapes = { | ||
rounded: 'rounded', | ||
rectangular: 'rectangular' | ||
} | ||
/* harmony default export */ var lib_vue_loader_options_KBadgevue_type_script_lang_js_ = ({ | ||
@@ -414,3 +421,3 @@ props: { | ||
validator: function (value) { | ||
return Object.keys({...appearances, 'custom': ''}).indexOf(value) !== -1 | ||
return Object.keys({...appearances}).indexOf(value) !== -1 | ||
}, | ||
@@ -420,2 +427,11 @@ default: 'default' | ||
shape: { | ||
type: String, | ||
required: false, | ||
validator: function (value) { | ||
return Object.keys({...shapes}).indexOf(value) !== -1 | ||
}, | ||
default: 'rounded' | ||
}, | ||
color: { | ||
@@ -437,4 +453,4 @@ type: String, | ||
/* harmony default export */ var KBadgevue_type_script_lang_js_ = (lib_vue_loader_options_KBadgevue_type_script_lang_js_); | ||
// EXTERNAL MODULE: ./KBadge.vue?vue&type=style&index=0&id=07ccd633&lang=scss&scoped=true& | ||
var KBadgevue_type_style_index_0_id_07ccd633_lang_scss_scoped_true_ = __webpack_require__("d3f2"); | ||
// EXTERNAL MODULE: ./KBadge.vue?vue&type=style&index=0&id=49527bf2&lang=scss&scoped=true& | ||
var KBadgevue_type_style_index_0_id_49527bf2_lang_scss_scoped_true_ = __webpack_require__("8d48"); | ||
@@ -551,3 +567,3 @@ // CONCATENATED MODULE: /home/runner/work/kongponents/kongponents/node_modules/vue-loader/lib/runtime/componentNormalizer.js | ||
null, | ||
"07ccd633", | ||
"49527bf2", | ||
null | ||
@@ -560,2 +576,3 @@ | ||
/* concated harmony reexport appearances */__webpack_require__.d(__webpack_exports__, "appearances", function() { return appearances; }); | ||
/* concated harmony reexport shapes */__webpack_require__.d(__webpack_exports__, "shapes", function() { return shapes; }); | ||
@@ -695,3 +712,3 @@ | ||
/***/ "6de1": | ||
/***/ "692d": | ||
/***/ (function(module, exports, __webpack_require__) { | ||
@@ -702,3 +719,3 @@ | ||
// load the styles | ||
var content = __webpack_require__("e503"); | ||
var content = __webpack_require__("760e"); | ||
if(typeof content === 'string') content = [[module.i, content, '']]; | ||
@@ -708,18 +725,7 @@ if(content.locals) module.exports = content.locals; | ||
var add = __webpack_require__("0ed3").default | ||
var update = add("065aec06", content, true, {"sourceMap":false,"shadowMode":false}); | ||
var update = add("47f5de5d", content, true, {"sourceMap":false,"shadowMode":false}); | ||
/***/ }), | ||
/***/ "d3f2": | ||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
"use strict"; | ||
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_KBadge_vue_vue_type_style_index_0_id_07ccd633_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("6de1"); | ||
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_KBadge_vue_vue_type_style_index_0_id_07ccd633_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_KBadge_vue_vue_type_style_index_0_id_07ccd633_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__); | ||
/* unused harmony reexport * */ | ||
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_KBadge_vue_vue_type_style_index_0_id_07ccd633_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a); | ||
/***/ }), | ||
/***/ "e503": | ||
/***/ "760e": | ||
/***/ (function(module, exports, __webpack_require__) { | ||
@@ -732,3 +738,3 @@ | ||
// module | ||
exports.push([module.i, ".k-badge[data-v-07ccd633]{display:inline-block;font-weight:500;vertical-align:top;font-size:14px;font-size:var(--KBadgeFontSize,var(--type-sm,14px));height:auto;text-align:center;max-width:200px;max-width:var(--KBadgeMaxWidth,200px);width:auto;width:var(--KBadgeWidth,auto);padding:2px var(--spacing-sm);padding:var(--KBadgePaddingY,2px) var(--KBadgePaddingX,var(--spacing-sm));font-family:Roboto;font-family:var(--font-family-sans,\"Roboto\");border-radius:25px;border-radius:var(--KBadgeBorderRadius,25px)}.k-badge.kbadge-default[data-v-07ccd633]{color:#395380;color:var(--KBadgeDefaultColor,var(--steel-600,#395380));border-color:#dae3f2;border-color:var(--KBadgeDefaultBorder,var(--steel-200,#dae3f2));background-color:#dae3f2;background-color:var(--KBadgeDefaultBackground,var(--steel-200,#dae3f2))}.k-badge.kbadge-success[data-v-07ccd633]{color:#008036;color:var(--KBadgeSuccessColor,var(--green-500,#008036));border-color:#ccffe1;border-color:var(--KBadgeSuccessBorder,var(--green-200,#ccffe1));background-color:#ccffe1;background-color:var(--KBadgeSuccessBackground,var(--green-200,#ccffe1))}.k-badge.kbadge-danger[data-v-07ccd633]{color:#bf1330;color:var(--KBadgeDangerColor,var(--red-600,#bf1330));border-color:#ffe6ea;border-color:var(--KBadgeDangerBorder,var(--red-200,#ffe6ea));background-color:#ffe6ea;background-color:var(--KBadgeDangerBackground,var(--red-200,#ffe6ea))}.k-badge.kbadge-warning[data-v-07ccd633]{color:#8c5200;color:var(--KBadgeWarningColor,var(--yellow-500,#8c5200));border-color:#ffedb9;border-color:var(--KBadgeWarningBorder,var(--yellow-200,#ffedb9));background-color:#ffedb9;background-color:var(--KBadgeWarningBackground,var(--yellow-200,#ffedb9))}", ""]); | ||
exports.push([module.i, ".k-badge[data-v-49527bf2]{display:inline-block;font-weight:300;font-size:11px;font-size:var(--KBadgeFontSize,11px);line-height:16px;line-height:var(--KBadgeLineHeight,var(--type-md,16px));height:auto;text-align:center;max-width:200px;max-width:var(--KBadgeMaxWidth,200px);width:auto;width:var(--KBadgeWidth,auto);padding:2px 6px;padding:var(--KBadgePaddingY,2px) var(--KBadgePaddingX,6px);font-family:Maison Neue;font-family:var(--font-family-sans,\"Maison Neue\")}.k-badge.kbadge-default[data-v-49527bf2]{color:#1155cb;color:var(--KBadgeDefaultColor,var(--blue-500,#1155cb));border-color:#1155cb;border-color:var(--KBadgeDefaultBorder,var(--blue-500,#1155cb));background-color:#f2f6fe;background-color:var(--KBadgeDefaultBackground,var(--blue-100,#f2f6fe))}.k-badge.kbadge-success[data-v-49527bf2]{color:#13755e;color:var(--KBadgeSuccessColor,var(--green-700,#13755e));border-color:#13755e;border-color:var(--KBadgeSuccessBorder,var(--green-700,#13755e));background-color:#e8f8f5;background-color:var(--KBadgeSuccessBackground,var(--green-100,#e8f8f5))}.k-badge.kbadge-danger[data-v-49527bf2]{color:#922021;color:var(--KBadgeDangerColor,var(--red-700,#922021));border-color:#922021;border-color:var(--KBadgeDangerBorder,var(--red-700,#922021));background-color:#ffdede;background-color:var(--KBadgeDangerBackground,var(--red-100,#ffdede))}.k-badge.kbadge-info[data-v-49527bf2]{color:#0364ac;color:var(--KBadgeInfoColor,var(--petrol-200,#0364ac));border-color:#0364ac;border-color:var(--KBadgeInfoBorder,var(--petrol-200,#0364ac));background-color:#eaf4fb;background-color:var(--KBadgeInfoBackground,var(--petrol-100,#eaf4fb))}.k-badge.kbadge-warning[data-v-49527bf2]{color:#a05604;color:var(--KBadgeWarningColor,var(--yellow-600,#a05604));border-color:#a05604;border-color:var(--KBadgeWarningBorder,var(--yellow-600,#a05604));background-color:#fff3d8;background-color:var(--KBadgeWarningBackground,var(--yellow-100,#fff3d8))}.k-badge.kbadge-rectangular[data-v-49527bf2]{border-radius:4px;border-radius:var(--KBadgeBorderRadius,4px)}.k-badge.kbadge-rounded[data-v-49527bf2]{border-radius:25px;border-radius:var(--KBadgeBorderRadius,25px)}", ""]); | ||
@@ -738,2 +744,13 @@ // exports | ||
/***/ }), | ||
/***/ "8d48": | ||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
"use strict"; | ||
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_KBadge_vue_vue_type_style_index_0_id_49527bf2_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("692d"); | ||
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_KBadge_vue_vue_type_style_index_0_id_49527bf2_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_KBadge_vue_vue_type_style_index_0_id_49527bf2_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__); | ||
/* unused harmony reexport * */ | ||
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_KBadge_vue_vue_type_style_index_0_id_49527bf2_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a); | ||
/***/ }) | ||
@@ -740,0 +757,0 @@ |
@@ -385,8 +385,8 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
// CONCATENATED MODULE: /home/runner/work/kongponents/kongponents/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4ecc09ca-vue-loader-template"}!/home/runner/work/kongponents/kongponents/node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/home/runner/work/kongponents/kongponents/node_modules/cache-loader/dist/cjs.js??ref--0-0!/home/runner/work/kongponents/kongponents/node_modules/vue-loader/lib??vue-loader-options!./KBadge.vue?vue&type=template&id=07ccd633&scoped=true& | ||
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"k-badge truncate",class:[_vm.appearance !== 'custom' && ("kbadge-" + _vm.appearance)],style:(_vm.color && _vm.backgroundColor && {backgroundColor: _vm.backgroundColor, color: _vm.color})},[_vm._t("default")],2)} | ||
// CONCATENATED MODULE: /home/runner/work/kongponents/kongponents/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4ecc09ca-vue-loader-template"}!/home/runner/work/kongponents/kongponents/node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/home/runner/work/kongponents/kongponents/node_modules/cache-loader/dist/cjs.js??ref--0-0!/home/runner/work/kongponents/kongponents/node_modules/vue-loader/lib??vue-loader-options!./KBadge.vue?vue&type=template&id=49527bf2&scoped=true& | ||
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"k-badge truncate",class:[ ("kbadge-" + _vm.appearance), ("kbadge-" + _vm.shape)],style:(_vm.color && _vm.backgroundColor && {backgroundColor: _vm.backgroundColor, color: _vm.color})},[_vm._t("default")],2)} | ||
var staticRenderFns = [] | ||
// CONCATENATED MODULE: ./KBadge.vue?vue&type=template&id=07ccd633&scoped=true& | ||
// CONCATENATED MODULE: ./KBadge.vue?vue&type=template&id=49527bf2&scoped=true& | ||
@@ -409,5 +409,12 @@ // CONCATENATED MODULE: /home/runner/work/kongponents/kongponents/node_modules/cache-loader/dist/cjs.js??ref--0-0!/home/runner/work/kongponents/kongponents/node_modules/vue-loader/lib??vue-loader-options!./KBadge.vue?vue&type=script&lang=js& | ||
danger: 'danger', | ||
warning: 'warning' | ||
info: 'info', | ||
warning: 'warning', | ||
custom: 'custom' | ||
} | ||
const shapes = { | ||
rounded: 'rounded', | ||
rectangular: 'rectangular' | ||
} | ||
/* harmony default export */ var lib_vue_loader_options_KBadgevue_type_script_lang_js_ = ({ | ||
@@ -423,3 +430,3 @@ props: { | ||
validator: function (value) { | ||
return Object.keys({...appearances, 'custom': ''}).indexOf(value) !== -1 | ||
return Object.keys({...appearances}).indexOf(value) !== -1 | ||
}, | ||
@@ -429,2 +436,11 @@ default: 'default' | ||
shape: { | ||
type: String, | ||
required: false, | ||
validator: function (value) { | ||
return Object.keys({...shapes}).indexOf(value) !== -1 | ||
}, | ||
default: 'rounded' | ||
}, | ||
color: { | ||
@@ -446,4 +462,4 @@ type: String, | ||
/* harmony default export */ var KBadgevue_type_script_lang_js_ = (lib_vue_loader_options_KBadgevue_type_script_lang_js_); | ||
// EXTERNAL MODULE: ./KBadge.vue?vue&type=style&index=0&id=07ccd633&lang=scss&scoped=true& | ||
var KBadgevue_type_style_index_0_id_07ccd633_lang_scss_scoped_true_ = __webpack_require__("d3f2"); | ||
// EXTERNAL MODULE: ./KBadge.vue?vue&type=style&index=0&id=49527bf2&lang=scss&scoped=true& | ||
var KBadgevue_type_style_index_0_id_49527bf2_lang_scss_scoped_true_ = __webpack_require__("8d48"); | ||
@@ -560,3 +576,3 @@ // CONCATENATED MODULE: /home/runner/work/kongponents/kongponents/node_modules/vue-loader/lib/runtime/componentNormalizer.js | ||
null, | ||
"07ccd633", | ||
"49527bf2", | ||
null | ||
@@ -569,2 +585,3 @@ | ||
/* concated harmony reexport appearances */__webpack_require__.d(__webpack_exports__, "appearances", function() { return appearances; }); | ||
/* concated harmony reexport shapes */__webpack_require__.d(__webpack_exports__, "shapes", function() { return shapes; }); | ||
@@ -704,3 +721,3 @@ | ||
/***/ "6de1": | ||
/***/ "692d": | ||
/***/ (function(module, exports, __webpack_require__) { | ||
@@ -711,3 +728,3 @@ | ||
// load the styles | ||
var content = __webpack_require__("e503"); | ||
var content = __webpack_require__("760e"); | ||
if(typeof content === 'string') content = [[module.i, content, '']]; | ||
@@ -717,18 +734,7 @@ if(content.locals) module.exports = content.locals; | ||
var add = __webpack_require__("0ed3").default | ||
var update = add("065aec06", content, true, {"sourceMap":false,"shadowMode":false}); | ||
var update = add("47f5de5d", content, true, {"sourceMap":false,"shadowMode":false}); | ||
/***/ }), | ||
/***/ "d3f2": | ||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
"use strict"; | ||
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_KBadge_vue_vue_type_style_index_0_id_07ccd633_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("6de1"); | ||
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_KBadge_vue_vue_type_style_index_0_id_07ccd633_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_KBadge_vue_vue_type_style_index_0_id_07ccd633_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__); | ||
/* unused harmony reexport * */ | ||
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_KBadge_vue_vue_type_style_index_0_id_07ccd633_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a); | ||
/***/ }), | ||
/***/ "e503": | ||
/***/ "760e": | ||
/***/ (function(module, exports, __webpack_require__) { | ||
@@ -741,3 +747,3 @@ | ||
// module | ||
exports.push([module.i, ".k-badge[data-v-07ccd633]{display:inline-block;font-weight:500;vertical-align:top;font-size:14px;font-size:var(--KBadgeFontSize,var(--type-sm,14px));height:auto;text-align:center;max-width:200px;max-width:var(--KBadgeMaxWidth,200px);width:auto;width:var(--KBadgeWidth,auto);padding:2px var(--spacing-sm);padding:var(--KBadgePaddingY,2px) var(--KBadgePaddingX,var(--spacing-sm));font-family:Roboto;font-family:var(--font-family-sans,\"Roboto\");border-radius:25px;border-radius:var(--KBadgeBorderRadius,25px)}.k-badge.kbadge-default[data-v-07ccd633]{color:#395380;color:var(--KBadgeDefaultColor,var(--steel-600,#395380));border-color:#dae3f2;border-color:var(--KBadgeDefaultBorder,var(--steel-200,#dae3f2));background-color:#dae3f2;background-color:var(--KBadgeDefaultBackground,var(--steel-200,#dae3f2))}.k-badge.kbadge-success[data-v-07ccd633]{color:#008036;color:var(--KBadgeSuccessColor,var(--green-500,#008036));border-color:#ccffe1;border-color:var(--KBadgeSuccessBorder,var(--green-200,#ccffe1));background-color:#ccffe1;background-color:var(--KBadgeSuccessBackground,var(--green-200,#ccffe1))}.k-badge.kbadge-danger[data-v-07ccd633]{color:#bf1330;color:var(--KBadgeDangerColor,var(--red-600,#bf1330));border-color:#ffe6ea;border-color:var(--KBadgeDangerBorder,var(--red-200,#ffe6ea));background-color:#ffe6ea;background-color:var(--KBadgeDangerBackground,var(--red-200,#ffe6ea))}.k-badge.kbadge-warning[data-v-07ccd633]{color:#8c5200;color:var(--KBadgeWarningColor,var(--yellow-500,#8c5200));border-color:#ffedb9;border-color:var(--KBadgeWarningBorder,var(--yellow-200,#ffedb9));background-color:#ffedb9;background-color:var(--KBadgeWarningBackground,var(--yellow-200,#ffedb9))}", ""]); | ||
exports.push([module.i, ".k-badge[data-v-49527bf2]{display:inline-block;font-weight:300;font-size:11px;font-size:var(--KBadgeFontSize,11px);line-height:16px;line-height:var(--KBadgeLineHeight,var(--type-md,16px));height:auto;text-align:center;max-width:200px;max-width:var(--KBadgeMaxWidth,200px);width:auto;width:var(--KBadgeWidth,auto);padding:2px 6px;padding:var(--KBadgePaddingY,2px) var(--KBadgePaddingX,6px);font-family:Maison Neue;font-family:var(--font-family-sans,\"Maison Neue\")}.k-badge.kbadge-default[data-v-49527bf2]{color:#1155cb;color:var(--KBadgeDefaultColor,var(--blue-500,#1155cb));border-color:#1155cb;border-color:var(--KBadgeDefaultBorder,var(--blue-500,#1155cb));background-color:#f2f6fe;background-color:var(--KBadgeDefaultBackground,var(--blue-100,#f2f6fe))}.k-badge.kbadge-success[data-v-49527bf2]{color:#13755e;color:var(--KBadgeSuccessColor,var(--green-700,#13755e));border-color:#13755e;border-color:var(--KBadgeSuccessBorder,var(--green-700,#13755e));background-color:#e8f8f5;background-color:var(--KBadgeSuccessBackground,var(--green-100,#e8f8f5))}.k-badge.kbadge-danger[data-v-49527bf2]{color:#922021;color:var(--KBadgeDangerColor,var(--red-700,#922021));border-color:#922021;border-color:var(--KBadgeDangerBorder,var(--red-700,#922021));background-color:#ffdede;background-color:var(--KBadgeDangerBackground,var(--red-100,#ffdede))}.k-badge.kbadge-info[data-v-49527bf2]{color:#0364ac;color:var(--KBadgeInfoColor,var(--petrol-200,#0364ac));border-color:#0364ac;border-color:var(--KBadgeInfoBorder,var(--petrol-200,#0364ac));background-color:#eaf4fb;background-color:var(--KBadgeInfoBackground,var(--petrol-100,#eaf4fb))}.k-badge.kbadge-warning[data-v-49527bf2]{color:#a05604;color:var(--KBadgeWarningColor,var(--yellow-600,#a05604));border-color:#a05604;border-color:var(--KBadgeWarningBorder,var(--yellow-600,#a05604));background-color:#fff3d8;background-color:var(--KBadgeWarningBackground,var(--yellow-100,#fff3d8))}.k-badge.kbadge-rectangular[data-v-49527bf2]{border-radius:4px;border-radius:var(--KBadgeBorderRadius,4px)}.k-badge.kbadge-rounded[data-v-49527bf2]{border-radius:25px;border-radius:var(--KBadgeBorderRadius,25px)}", ""]); | ||
@@ -747,2 +753,13 @@ // exports | ||
/***/ }), | ||
/***/ "8d48": | ||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
"use strict"; | ||
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_KBadge_vue_vue_type_style_index_0_id_49527bf2_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("692d"); | ||
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_KBadge_vue_vue_type_style_index_0_id_49527bf2_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_KBadge_vue_vue_type_style_index_0_id_49527bf2_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__); | ||
/* unused harmony reexport * */ | ||
/* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_KBadge_vue_vue_type_style_index_0_id_49527bf2_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a); | ||
/***/ }) | ||
@@ -749,0 +766,0 @@ |
@@ -1,2 +0,2 @@ | ||
(function(e,r){"object"===typeof exports&&"object"===typeof module?module.exports=r():"function"===typeof define&&define.amd?define([],r):"object"===typeof exports?exports["KBadge"]=r():e["KBadge"]=r()})("undefined"!==typeof self?self:this,(function(){return function(e){var r={};function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)t.d(n,o,function(r){return e[r]}.bind(null,o));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e["default"]}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s="1c25")}({"0ed3":function(e,r,t){"use strict";function n(e,r){for(var t=[],n={},o=0;o<r.length;o++){var a=r[o],d=a[0],c=a[1],i=a[2],u=a[3],s={id:e+":"+o,css:c,media:i,sourceMap:u};n[d]?n[d].parts.push(s):t.push(n[d]={id:d,parts:[s]})}return t}t.r(r),t.d(r,"default",(function(){return g}));var o="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var a={},d=o&&(document.head||document.getElementsByTagName("head")[0]),c=null,i=0,u=!1,s=function(){},f=null,l="data-vue-ssr-id",p="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function g(e,r,t,o){u=t,f=o||{};var d=n(e,r);return v(d),function(r){for(var t=[],o=0;o<d.length;o++){var c=d[o],i=a[c.id];i.refs--,t.push(i)}r?(d=n(e,r),v(d)):d=[];for(o=0;o<t.length;o++){i=t[o];if(0===i.refs){for(var u=0;u<i.parts.length;u++)i.parts[u]();delete a[i.id]}}}}function v(e){for(var r=0;r<e.length;r++){var t=e[r],n=a[t.id];if(n){n.refs++;for(var o=0;o<n.parts.length;o++)n.parts[o](t.parts[o]);for(;o<t.parts.length;o++)n.parts.push(h(t.parts[o]));n.parts.length>t.parts.length&&(n.parts.length=t.parts.length)}else{var d=[];for(o=0;o<t.parts.length;o++)d.push(h(t.parts[o]));a[t.id]={id:t.id,refs:1,parts:d}}}}function b(){var e=document.createElement("style");return e.type="text/css",d.appendChild(e),e}function h(e){var r,t,n=document.querySelector("style["+l+'~="'+e.id+'"]');if(n){if(u)return s;n.parentNode.removeChild(n)}if(p){var o=i++;n=c||(c=b()),r=m.bind(null,n,o,!1),t=m.bind(null,n,o,!0)}else n=b(),r=x.bind(null,n),t=function(){n.parentNode.removeChild(n)};return r(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap)return;r(e=n)}else t()}}var y=function(){var e=[];return function(r,t){return e[r]=t,e.filter(Boolean).join("\n")}}();function m(e,r,t,n){var o=t?"":n.css;if(e.styleSheet)e.styleSheet.cssText=y(r,o);else{var a=document.createTextNode(o),d=e.childNodes;d[r]&&e.removeChild(d[r]),d.length?e.insertBefore(a,d[r]):e.appendChild(a)}}function x(e,r){var t=r.css,n=r.media,o=r.sourceMap;if(n&&e.setAttribute("media",n),f.ssrId&&e.setAttribute(l,r.id),o&&(t+="\n/*# sourceURL="+o.sources[0]+" */",t+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),e.styleSheet)e.styleSheet.cssText=t;else{while(e.firstChild)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}},"1c25":function(e,r,t){"use strict";var n;(t.r(r),"undefined"!==typeof window)&&(t("4141"),(n=window.document.currentScript)&&(n=n.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(t.p=n[1]));var o=function(){var e=this,r=e.$createElement,t=e._self._c||r;return t("div",{staticClass:"k-badge truncate",class:["custom"!==e.appearance&&"kbadge-"+e.appearance],style:e.color&&e.backgroundColor&&{backgroundColor:e.backgroundColor,color:e.color}},[e._t("default")],2)},a=[];const d={default:"default",success:"success",danger:"danger",warning:"warning"};var c={props:{appearance:{type:String,required:!1,validator:function(e){return-1!==Object.keys({...d,custom:""}).indexOf(e)},default:"default"},color:{type:String,required:!1,default:""},backgroundColor:{type:String,required:!1,default:""}}},i=c;t("d3f2");function u(e,r,t,n,o,a,d,c){var i,u="function"===typeof e?e.options:e;if(r&&(u.render=r,u.staticRenderFns=t,u._compiled=!0),n&&(u.functional=!0),a&&(u._scopeId="data-v-"+a),d?(i=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(d)},u._ssrRegister=i):o&&(i=c?function(){o.call(this,this.$root.$options.shadowRoot)}:o),i)if(u.functional){u._injectStyles=i;var s=u.render;u.render=function(e,r){return i.call(r),s(e,r)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,i):[i]}return{exports:e,options:u}}var s=u(i,o,a,!1,null,"07ccd633",null),f=s.exports;t.d(r,"appearances",(function(){return d}));r["default"]=f},4141:function(e,r){(function(e){var r="currentScript",t=e.getElementsByTagName("script");r in e||Object.defineProperty(e,r,{get:function(){try{throw new Error}catch(n){var e,r=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(n.stack)||[!1])[1];for(e in t)if(t[e].src==r||"interactive"==t[e].readyState)return t[e];return null}}})})(document)},"443a":function(e,r){function t(e,r){var t=e[1]||"",o=e[3];if(!o)return t;if(r&&"function"===typeof btoa){var a=n(o),d=o.sources.map((function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"}));return[t].concat(d).concat([a]).join("\n")}return[t].join("\n")}function n(e){var r=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),t="sourceMappingURL=data:application/json;charset=utf-8;base64,"+r;return"/*# "+t+" */"}e.exports=function(e){var r=[];return r.toString=function(){return this.map((function(r){var n=t(r,e);return r[2]?"@media "+r[2]+"{"+n+"}":n})).join("")},r.i=function(e,t){"string"===typeof e&&(e=[[null,e,""]]);for(var n={},o=0;o<this.length;o++){var a=this[o][0];"number"===typeof a&&(n[a]=!0)}for(o=0;o<e.length;o++){var d=e[o];"number"===typeof d[0]&&n[d[0]]||(t&&!d[2]?d[2]=t:t&&(d[2]="("+d[2]+") and ("+t+")"),r.push(d))}},r}},"6de1":function(e,r,t){var n=t("e503");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var o=t("0ed3").default;o("065aec06",n,!0,{sourceMap:!1,shadowMode:!1})},d3f2:function(e,r,t){"use strict";var n=t("6de1"),o=t.n(n);o.a},e503:function(e,r,t){r=e.exports=t("443a")(!1),r.push([e.i,'.k-badge[data-v-07ccd633]{display:inline-block;font-weight:500;vertical-align:top;font-size:14px;font-size:var(--KBadgeFontSize,var(--type-sm,14px));height:auto;text-align:center;max-width:200px;max-width:var(--KBadgeMaxWidth,200px);width:auto;width:var(--KBadgeWidth,auto);padding:2px var(--spacing-sm);padding:var(--KBadgePaddingY,2px) var(--KBadgePaddingX,var(--spacing-sm));font-family:Roboto;font-family:var(--font-family-sans,"Roboto");border-radius:25px;border-radius:var(--KBadgeBorderRadius,25px)}.k-badge.kbadge-default[data-v-07ccd633]{color:#395380;color:var(--KBadgeDefaultColor,var(--steel-600,#395380));border-color:#dae3f2;border-color:var(--KBadgeDefaultBorder,var(--steel-200,#dae3f2));background-color:#dae3f2;background-color:var(--KBadgeDefaultBackground,var(--steel-200,#dae3f2))}.k-badge.kbadge-success[data-v-07ccd633]{color:#008036;color:var(--KBadgeSuccessColor,var(--green-500,#008036));border-color:#ccffe1;border-color:var(--KBadgeSuccessBorder,var(--green-200,#ccffe1));background-color:#ccffe1;background-color:var(--KBadgeSuccessBackground,var(--green-200,#ccffe1))}.k-badge.kbadge-danger[data-v-07ccd633]{color:#bf1330;color:var(--KBadgeDangerColor,var(--red-600,#bf1330));border-color:#ffe6ea;border-color:var(--KBadgeDangerBorder,var(--red-200,#ffe6ea));background-color:#ffe6ea;background-color:var(--KBadgeDangerBackground,var(--red-200,#ffe6ea))}.k-badge.kbadge-warning[data-v-07ccd633]{color:#8c5200;color:var(--KBadgeWarningColor,var(--yellow-500,#8c5200));border-color:#ffedb9;border-color:var(--KBadgeWarningBorder,var(--yellow-200,#ffedb9));background-color:#ffedb9;background-color:var(--KBadgeWarningBackground,var(--yellow-200,#ffedb9))}',""])}})["default"]})); | ||
(function(e,r){"object"===typeof exports&&"object"===typeof module?module.exports=r():"function"===typeof define&&define.amd?define([],r):"object"===typeof exports?exports["KBadge"]=r():e["KBadge"]=r()})("undefined"!==typeof self?self:this,(function(){return function(e){var r={};function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)t.d(n,o,function(r){return e[r]}.bind(null,o));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e["default"]}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s="1c25")}({"0ed3":function(e,r,t){"use strict";function n(e,r){for(var t=[],n={},o=0;o<r.length;o++){var a=r[o],d=a[0],i=a[1],c=a[2],u=a[3],s={id:e+":"+o,css:i,media:c,sourceMap:u};n[d]?n[d].parts.push(s):t.push(n[d]={id:d,parts:[s]})}return t}t.r(r),t.d(r,"default",(function(){return g}));var o="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var a={},d=o&&(document.head||document.getElementsByTagName("head")[0]),i=null,c=0,u=!1,s=function(){},f=null,l="data-vue-ssr-id",p="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function g(e,r,t,o){u=t,f=o||{};var d=n(e,r);return v(d),function(r){for(var t=[],o=0;o<d.length;o++){var i=d[o],c=a[i.id];c.refs--,t.push(c)}r?(d=n(e,r),v(d)):d=[];for(o=0;o<t.length;o++){c=t[o];if(0===c.refs){for(var u=0;u<c.parts.length;u++)c.parts[u]();delete a[c.id]}}}}function v(e){for(var r=0;r<e.length;r++){var t=e[r],n=a[t.id];if(n){n.refs++;for(var o=0;o<n.parts.length;o++)n.parts[o](t.parts[o]);for(;o<t.parts.length;o++)n.parts.push(h(t.parts[o]));n.parts.length>t.parts.length&&(n.parts.length=t.parts.length)}else{var d=[];for(o=0;o<t.parts.length;o++)d.push(h(t.parts[o]));a[t.id]={id:t.id,refs:1,parts:d}}}}function b(){var e=document.createElement("style");return e.type="text/css",d.appendChild(e),e}function h(e){var r,t,n=document.querySelector("style["+l+'~="'+e.id+'"]');if(n){if(u)return s;n.parentNode.removeChild(n)}if(p){var o=c++;n=i||(i=b()),r=m.bind(null,n,o,!1),t=m.bind(null,n,o,!0)}else n=b(),r=B.bind(null,n),t=function(){n.parentNode.removeChild(n)};return r(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap)return;r(e=n)}else t()}}var y=function(){var e=[];return function(r,t){return e[r]=t,e.filter(Boolean).join("\n")}}();function m(e,r,t,n){var o=t?"":n.css;if(e.styleSheet)e.styleSheet.cssText=y(r,o);else{var a=document.createTextNode(o),d=e.childNodes;d[r]&&e.removeChild(d[r]),d.length?e.insertBefore(a,d[r]):e.appendChild(a)}}function B(e,r){var t=r.css,n=r.media,o=r.sourceMap;if(n&&e.setAttribute("media",n),f.ssrId&&e.setAttribute(l,r.id),o&&(t+="\n/*# sourceURL="+o.sources[0]+" */",t+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),e.styleSheet)e.styleSheet.cssText=t;else{while(e.firstChild)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}},"1c25":function(e,r,t){"use strict";var n;(t.r(r),"undefined"!==typeof window)&&(t("4141"),(n=window.document.currentScript)&&(n=n.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(t.p=n[1]));var o=function(){var e=this,r=e.$createElement,t=e._self._c||r;return t("div",{staticClass:"k-badge truncate",class:["kbadge-"+e.appearance,"kbadge-"+e.shape],style:e.color&&e.backgroundColor&&{backgroundColor:e.backgroundColor,color:e.color}},[e._t("default")],2)},a=[];const d={default:"default",success:"success",danger:"danger",info:"info",warning:"warning",custom:"custom"},i={rounded:"rounded",rectangular:"rectangular"};var c={props:{appearance:{type:String,required:!1,validator:function(e){return-1!==Object.keys({...d}).indexOf(e)},default:"default"},shape:{type:String,required:!1,validator:function(e){return-1!==Object.keys({...i}).indexOf(e)},default:"rounded"},color:{type:String,required:!1,default:""},backgroundColor:{type:String,required:!1,default:""}}},u=c;t("8d48");function s(e,r,t,n,o,a,d,i){var c,u="function"===typeof e?e.options:e;if(r&&(u.render=r,u.staticRenderFns=t,u._compiled=!0),n&&(u.functional=!0),a&&(u._scopeId="data-v-"+a),d?(c=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(d)},u._ssrRegister=c):o&&(c=i?function(){o.call(this,this.$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var s=u.render;u.render=function(e,r){return c.call(r),s(e,r)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:e,options:u}}var f=s(u,o,a,!1,null,"49527bf2",null),l=f.exports;t.d(r,"appearances",(function(){return d})),t.d(r,"shapes",(function(){return i}));r["default"]=l},4141:function(e,r){(function(e){var r="currentScript",t=e.getElementsByTagName("script");r in e||Object.defineProperty(e,r,{get:function(){try{throw new Error}catch(n){var e,r=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(n.stack)||[!1])[1];for(e in t)if(t[e].src==r||"interactive"==t[e].readyState)return t[e];return null}}})})(document)},"443a":function(e,r){function t(e,r){var t=e[1]||"",o=e[3];if(!o)return t;if(r&&"function"===typeof btoa){var a=n(o),d=o.sources.map((function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"}));return[t].concat(d).concat([a]).join("\n")}return[t].join("\n")}function n(e){var r=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),t="sourceMappingURL=data:application/json;charset=utf-8;base64,"+r;return"/*# "+t+" */"}e.exports=function(e){var r=[];return r.toString=function(){return this.map((function(r){var n=t(r,e);return r[2]?"@media "+r[2]+"{"+n+"}":n})).join("")},r.i=function(e,t){"string"===typeof e&&(e=[[null,e,""]]);for(var n={},o=0;o<this.length;o++){var a=this[o][0];"number"===typeof a&&(n[a]=!0)}for(o=0;o<e.length;o++){var d=e[o];"number"===typeof d[0]&&n[d[0]]||(t&&!d[2]?d[2]=t:t&&(d[2]="("+d[2]+") and ("+t+")"),r.push(d))}},r}},"692d":function(e,r,t){var n=t("760e");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var o=t("0ed3").default;o("47f5de5d",n,!0,{sourceMap:!1,shadowMode:!1})},"760e":function(e,r,t){r=e.exports=t("443a")(!1),r.push([e.i,'.k-badge[data-v-49527bf2]{display:inline-block;font-weight:300;font-size:11px;font-size:var(--KBadgeFontSize,11px);line-height:16px;line-height:var(--KBadgeLineHeight,var(--type-md,16px));height:auto;text-align:center;max-width:200px;max-width:var(--KBadgeMaxWidth,200px);width:auto;width:var(--KBadgeWidth,auto);padding:2px 6px;padding:var(--KBadgePaddingY,2px) var(--KBadgePaddingX,6px);font-family:Maison Neue;font-family:var(--font-family-sans,"Maison Neue")}.k-badge.kbadge-default[data-v-49527bf2]{color:#1155cb;color:var(--KBadgeDefaultColor,var(--blue-500,#1155cb));border-color:#1155cb;border-color:var(--KBadgeDefaultBorder,var(--blue-500,#1155cb));background-color:#f2f6fe;background-color:var(--KBadgeDefaultBackground,var(--blue-100,#f2f6fe))}.k-badge.kbadge-success[data-v-49527bf2]{color:#13755e;color:var(--KBadgeSuccessColor,var(--green-700,#13755e));border-color:#13755e;border-color:var(--KBadgeSuccessBorder,var(--green-700,#13755e));background-color:#e8f8f5;background-color:var(--KBadgeSuccessBackground,var(--green-100,#e8f8f5))}.k-badge.kbadge-danger[data-v-49527bf2]{color:#922021;color:var(--KBadgeDangerColor,var(--red-700,#922021));border-color:#922021;border-color:var(--KBadgeDangerBorder,var(--red-700,#922021));background-color:#ffdede;background-color:var(--KBadgeDangerBackground,var(--red-100,#ffdede))}.k-badge.kbadge-info[data-v-49527bf2]{color:#0364ac;color:var(--KBadgeInfoColor,var(--petrol-200,#0364ac));border-color:#0364ac;border-color:var(--KBadgeInfoBorder,var(--petrol-200,#0364ac));background-color:#eaf4fb;background-color:var(--KBadgeInfoBackground,var(--petrol-100,#eaf4fb))}.k-badge.kbadge-warning[data-v-49527bf2]{color:#a05604;color:var(--KBadgeWarningColor,var(--yellow-600,#a05604));border-color:#a05604;border-color:var(--KBadgeWarningBorder,var(--yellow-600,#a05604));background-color:#fff3d8;background-color:var(--KBadgeWarningBackground,var(--yellow-100,#fff3d8))}.k-badge.kbadge-rectangular[data-v-49527bf2]{border-radius:4px;border-radius:var(--KBadgeBorderRadius,4px)}.k-badge.kbadge-rounded[data-v-49527bf2]{border-radius:25px;border-radius:var(--KBadgeBorderRadius,25px)}',""])},"8d48":function(e,r,t){"use strict";var n=t("692d"),o=t.n(n);o.a}})["default"]})); | ||
//# sourceMappingURL=KBadge.umd.min.js.map |
{ | ||
"name": "@kongponents/kbadge", | ||
"version": "6.0.0-beta.0+44b849e", | ||
"version": "6.0.1-alpha.0+4ed6893", | ||
"description": "Badges, pills, lozenges, or whatever you wanna call them.", | ||
@@ -25,3 +25,3 @@ "main": "dist/KBadge.umd.min.js", | ||
}, | ||
"gitHead": "44b849eaf8cca5a0e734dacb33f42ed9d7846c6b" | ||
"gitHead": "4ed6893d52e7771461ccc24bba389e5e5434fdce" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
182263
1350