@pocketprep/ui-kit 2.0.18 → 2.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1285,7 +1285,7 @@ var component = (0,componentNormalizer/* default */.Z)(
1285
1285
 
1286
1286
  /***/ }),
1287
1287
 
1288
- /***/ 74048:
1288
+ /***/ 29077:
1289
1289
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1290
1290
 
1291
1291
  "use strict";
@@ -1298,7 +1298,7 @@ __webpack_require__.d(__webpack_exports__, {
1298
1298
  "default": () => (/* binding */ Select)
1299
1299
  });
1300
1300
 
1301
- ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Forms/Select.vue?vue&type=template&id=71e0e03a&
1301
+ ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/Forms/Select.vue?vue&type=template&id=da394a12&
1302
1302
  var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"uikit-select",on:{"mouseover":_vm.mouseOverSelect,"mouseout":function($event){_vm.hover = false},"keydown":_vm.keydownListener}},[(_vm.label)?_c('label',{directives:[{name:"dark",rawName:"v-dark",value:(_vm.isDarkMode),expression:"isDarkMode"}],staticClass:"uikit-select__label",class:{
1303
1303
  'uikit-select__label--hover': _vm.hover,
1304
1304
  'uikit-select__label--focus': _vm.focus,
@@ -1308,7 +1308,13 @@ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._sel
1308
1308
  'uikit-select__value--hover': _vm.hover,
1309
1309
  'uikit-select__value--focus': _vm.focus,
1310
1310
  'uikit-select__value--disabled': _vm.disabled,
1311
- },on:{"click":function($event){_vm.showDropdown = !_vm.showDropdown}}},[_vm._v(" "+_vm._s(_vm.value ? _vm.value.label : _vm.placeholder)+" ")]):_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.searchText),expression:"searchText"},{name:"dark",rawName:"v-dark",value:(_vm.isDarkMode),expression:"isDarkMode"}],staticClass:"uikit-select__input",class:{
1311
+ 'uikit-select__value--subtext': _vm.subtext
1312
+ },on:{"click":function($event){_vm.showDropdown = !_vm.showDropdown}}},[_vm._v(" "+_vm._s(_vm.value ? _vm.value.label : _vm.placeholder)+" "),(_vm.subtext)?_c('div',{directives:[{name:"dark",rawName:"v-dark",value:(_vm.isDarkMode),expression:"isDarkMode"}],staticClass:"uikit-select__subtext",class:{
1313
+ 'uikit-select__subtext--placeholder': !_vm.subtext,
1314
+ 'uikit-select__subtext--hover': _vm.hover,
1315
+ 'uikit-select__subtext--focus': _vm.focus,
1316
+ 'uikit-select__subtext--disabled': _vm.disabled,
1317
+ }},[_vm._v(" "+_vm._s(_vm.value ? _vm.value.subtext : _vm.subtext)+" ")]):_vm._e()]):_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.searchText),expression:"searchText"},{name:"dark",rawName:"v-dark",value:(_vm.isDarkMode),expression:"isDarkMode"}],staticClass:"uikit-select__input",class:{
1312
1318
  'uikit-select__input--placeholder': !_vm.value && !_vm.searchText,
1313
1319
  'uikit-select__input--hover': _vm.hover,
1314
1320
  'uikit-select__input--focus': _vm.focus,
@@ -1318,7 +1324,7 @@ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._sel
1318
1324
  'uikit-select__arrow--hover': _vm.hover,
1319
1325
  'uikit-select__arrow--focus': _vm.focus,
1320
1326
  'uikit-select__arrow--show-dropdown': _vm.showDropdown,
1321
- },attrs:{"type":"accordionArrow"},nativeOn:{"click":function($event){_vm.showDropdown = true}}}),_c('ul',{directives:[{name:"show",rawName:"v-show",value:(_vm.showDropdown && !_vm.disabled),expression:"showDropdown && !disabled"},{name:"dark",rawName:"v-dark",value:(_vm.isDarkMode),expression:"isDarkMode"}],ref:"menu",staticClass:"uikit-select__list",style:({ top: (_vm.menuPositionTop + "px") })},_vm._l((_vm.filteredData),function(item){return _c('li',{directives:[{name:"dark",rawName:"v-dark",value:(_vm.isDarkMode),expression:"isDarkMode"}],key:JSON.stringify(item),ref:"uikit-select__items",refInFor:true,staticClass:"uikit-select__item",class:{ 'uikit-select__item--link': item.type === 'link' },attrs:{"value":item.value,"tabindex":"0"},on:{"click":function($event){return _vm.selectItem(item)},"keydown":_vm.keyPressedItem,"mousedown":function($event){$event.preventDefault();}}},[_vm._v(" "+_vm._s(item.label)+" ")])}),0)],1)])}
1327
+ },attrs:{"type":"accordionArrow"},nativeOn:{"click":function($event){_vm.showDropdown = true}}}),_c('ul',{directives:[{name:"show",rawName:"v-show",value:(_vm.showDropdown && !_vm.disabled),expression:"showDropdown && !disabled"},{name:"dark",rawName:"v-dark",value:(_vm.isDarkMode),expression:"isDarkMode"}],ref:"menu",staticClass:"uikit-select__list",style:({ top: (_vm.menuPositionTop + "px") })},_vm._l((_vm.filteredData),function(item){return _c('li',{directives:[{name:"dark",rawName:"v-dark",value:(_vm.isDarkMode),expression:"isDarkMode"}],key:JSON.stringify(item),ref:"uikit-select__items",refInFor:true,staticClass:"uikit-select__item",class:{ 'uikit-select__item--link': item.type === 'link' },attrs:{"value":item.value,"tabindex":"0"},on:{"click":function($event){return _vm.selectItem(item)},"keydown":_vm.keyPressedItem,"mousedown":function($event){$event.preventDefault();}}},[_vm._v(" "+_vm._s(item.label)+" "),(item.subtext)?_c('div',{directives:[{name:"dark",rawName:"v-dark",value:(_vm.isDarkMode),expression:"isDarkMode"}],staticClass:"uikit-select__item--subtext"},[_vm._v(" "+_vm._s(item.subtext)+" ")]):_vm._e()])}),0)],1)])}
1322
1328
  var staticRenderFns = []
1323
1329
 
1324
1330
 
@@ -14017,7 +14023,7 @@ __webpack_require__.r(__webpack_exports__);
14017
14023
 
14018
14024
  var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
14019
14025
  // Module
14020
- ___CSS_LOADER_EXPORT___.push([module.id, ".uikit-select{position:relative}.uikit-select__label{font-size:13px;line-height:14px;margin:0 0 6px 12px;color:#587183;display:block}.uikit-select__label--dark{color:#dfe3e7}.uikit-select__label--hover{color:#475967}.uikit-select__label--hover--dark{color:#dfe3e7}.uikit-select__label--focus{color:#0064ff}.uikit-select__label--focus--dark{color:#ffce74}.uikit-select__label--error{color:#d00}.uikit-select__input-container{outline:none;position:relative}.uikit-select__input,.uikit-select__value{background-color:#fff;border:1px solid rgba(136,163,182,.85);color:#1f3545;border-radius:3px;caret-color:#0064ff;padding:9px 11px;font-size:16px;line-height:17px;width:100%;height:36px;box-sizing:border-box;cursor:default;position:relative;z-index:1;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.uikit-select__input--dark,.uikit-select__value--dark{background-color:#293e4e;border-color:#88a3b6;color:#fff;caret-color:#ffce74}.uikit-select__input::-moz-placeholder,.uikit-select__value::-moz-placeholder{color:#88a3b6}.uikit-select__input:-ms-input-placeholder,.uikit-select__value:-ms-input-placeholder{color:#88a3b6}.uikit-select__input--placeholder,.uikit-select__input::placeholder,.uikit-select__value--placeholder,.uikit-select__value::placeholder{color:#88a3b6}.uikit-select__input--hover,.uikit-select__value--hover{border:1px solid #a7c7ff}.uikit-select__input--hover--dark,.uikit-select__value--hover--dark{border:.5px solid #ffce74}.uikit-select__input--focus,.uikit-select__value--focus{border:1px solid #0064ff}.uikit-select__input--focus--dark,.uikit-select__value--focus--dark{border-color:#ffce74}.uikit-select__input--disabled,.uikit-select__value--disabled{background:#f4f5f9;border:1px solid #f4f5f9;color:#475967}.uikit-select__input--disabled--dark,.uikit-select__value--disabled--dark{border-color:#293e4e;background-color:#293e4e}.uikit-select__input{cursor:text!important}.uikit-select__input--error{border:1px solid #d00}.uikit-select__input--show-dropdown{border-radius:3px 3px 0 0}.uikit-select__value{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.uikit-select__arrow{position:absolute;right:13px;top:14px;color:#88a3b6;width:12px;height:7px;z-index:1}.uikit-select__arrow--hover{color:#0064ff}.uikit-select__arrow--hover--dark{color:#ffce74}.uikit-select__arrow--focus{color:#0064ff}.uikit-select__arrow--focus--dark{color:#ffce74}.uikit-select__arrow--show-dropdown{color:#0064ff;transform:rotate(180deg)}.uikit-select__arrow--show-dropdown--dark{color:#ffce74}.uikit-select__list{box-shadow:0 4px 12px 0 rgba(31,53,69,.1);margin:0;padding:10px 0;list-style:none;position:absolute;left:0;width:100%;max-height:187px;overflow:auto;background:#fff;z-index:2;border-radius:0 0 6px 6px}.uikit-select__list--dark{background-color:#293e4e;box-shadow:0 4px 12px 0 rgba(15,29,40,.1);color:#fff}.uikit-select__item{padding:5px 11px;font-size:16px;line-height:20px;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.uikit-select__item--link{color:#0064ff;font-size:15px;padding:9px 17px;font-weight:600;cursor:pointer}.uikit-select__item--link--dark{color:#ffce74}.uikit-select__item:focus,.uikit-select__item:hover{background:#f4f5f9;outline:none}.uikit-select__item--dark:focus,.uikit-select__item--dark:hover{background-color:#0f1d28}", ""]);
14026
+ ___CSS_LOADER_EXPORT___.push([module.id, ".uikit-select{position:relative}.uikit-select__label{font-size:13px;line-height:14px;margin:0 0 6px 12px;color:#587183;display:block}.uikit-select__label--dark{color:#dfe3e7}.uikit-select__label--hover{color:#475967}.uikit-select__label--hover--dark{color:#dfe3e7}.uikit-select__label--focus{color:#0064ff}.uikit-select__label--focus--dark{color:#ffce74}.uikit-select__label--error{color:#d00}.uikit-select__input-container{outline:none;position:relative}.uikit-select__input,.uikit-select__value{background-color:#fff;border:1px solid rgba(136,163,182,.85);color:#1f3545;border-radius:3px;caret-color:#0064ff;padding:9px 11px;font-size:15px;line-height:18px;width:100%;height:36px;box-sizing:border-box;cursor:default;position:relative;z-index:1;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.uikit-select__input--dark,.uikit-select__value--dark{background-color:#293e4e;border-color:#88a3b6;color:#fff;caret-color:#ffce74}.uikit-select__input::-moz-placeholder,.uikit-select__value::-moz-placeholder{color:#88a3b6}.uikit-select__input:-ms-input-placeholder,.uikit-select__value:-ms-input-placeholder{color:#88a3b6}.uikit-select__input--placeholder,.uikit-select__input::placeholder,.uikit-select__value--placeholder,.uikit-select__value::placeholder{color:#88a3b6}.uikit-select__input--hover,.uikit-select__value--hover{border:1px solid #a7c7ff}.uikit-select__input--hover--dark,.uikit-select__value--hover--dark{border:.5px solid #ffce74}.uikit-select__input--focus,.uikit-select__value--focus{border:1px solid #0064ff}.uikit-select__input--focus--dark,.uikit-select__value--focus--dark{border-color:#ffce74}.uikit-select__input--disabled,.uikit-select__value--disabled{background:#f4f5f9;border:1px solid #f4f5f9;color:#475967}.uikit-select__input--disabled--dark,.uikit-select__value--disabled--dark{border-color:#293e4e;background-color:#293e4e}.uikit-select__input{cursor:text!important}.uikit-select__input--error{border:1px solid #d00}.uikit-select__input--show-dropdown{border-radius:3px 3px 0 0}.uikit-select__value{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.uikit-select__value--subtext{height:60px}.uikit-select__value--subtext--dark{background-color:#293e4e;border-color:#88a3b6;color:#dfe3e7;caret-color:#ffce74}.uikit-select__item--subtext,.uikit-select__subtext{font-size:13px;line-height:16px;text-align:left;color:#587183;margin:4px 0 0 0}.uikit-select__item--subtext--dark,.uikit-select__subtext--dark{border-color:#88a3b6;color:#dfe3e7;caret-color:#ffce74}.uikit-select__item--subtext--dark--hover,.uikit-select__subtext--dark--hover{background-color:#0f1d28}.uikit-select__arrow{position:absolute;right:13px;top:14px;color:#88a3b6;width:12px;height:7px;z-index:1}.uikit-select__arrow--hover{color:#0064ff}.uikit-select__arrow--hover--dark{color:#ffce74}.uikit-select__arrow--focus{color:#0064ff}.uikit-select__arrow--focus--dark{color:#ffce74}.uikit-select__arrow--show-dropdown{color:#0064ff;transform:rotate(180deg)}.uikit-select__arrow--show-dropdown--dark{color:#ffce74}.uikit-select__list{box-shadow:0 4px 12px 0 rgba(31,53,69,.1);margin:0;padding:10px 0;list-style:none;position:absolute;left:0;width:100%;max-height:187px;overflow:auto;background:#fff;z-index:2;border-radius:0 0 6px 6px}.uikit-select__list--dark{background-color:#293e4e;box-shadow:0 4px 12px 0 rgba(15,29,40,.1);color:#fff}.uikit-select__item{padding:5px 11px;font-size:16px;line-height:20px;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.uikit-select__item--link{color:#0064ff;font-size:15px;padding:9px 17px;font-weight:600;cursor:pointer}.uikit-select__item--link--dark{color:#ffce74}.uikit-select__item:focus,.uikit-select__item:hover{background:#f4f5f9;outline:none}.uikit-select__item--dark:focus,.uikit-select__item--dark:hover{background-color:#0f1d28}", ""]);
14021
14027
  // Exports
14022
14028
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
14023
14029
 
@@ -18409,10 +18415,8 @@ var Select = /*#__PURE__*/function (_vue_property_decorat) {
18409
18415
  }, {
18410
18416
  key: "menuPositionTop",
18411
18417
  get: function get() {
18412
- if (this.menuHeight) {
18413
- return "-".concat(this.menuHeight);
18414
- }
18415
-
18418
+ if (this.menuHeight) return "-".concat(this.menuHeight);
18419
+ if (this.subtext) return 60;
18416
18420
  return 36;
18417
18421
  }
18418
18422
  }, {
@@ -18662,6 +18666,8 @@ tslib_1.__decorate([(0, vue_property_decorator_1.Prop)()], Select.prototype, "la
18662
18666
 
18663
18667
  tslib_1.__decorate([(0, vue_property_decorator_1.Prop)()], Select.prototype, "value", void 0);
18664
18668
 
18669
+ tslib_1.__decorate([(0, vue_property_decorator_1.Prop)()], Select.prototype, "subtext", void 0);
18670
+
18665
18671
  tslib_1.__decorate([(0, vue_property_decorator_1.Prop)()], Select.prototype, "placeholder", void 0);
18666
18672
 
18667
18673
  tslib_1.__decorate([(0, vue_property_decorator_1.Prop)()], Select.prototype, "data", void 0);
@@ -25120,7 +25126,7 @@ var Link_vue_1 = tslib_1.__importDefault(__webpack_require__(52491));
25120
25126
 
25121
25127
  var Tab_vue_1 = tslib_1.__importDefault(__webpack_require__(15296));
25122
25128
 
25123
- var Select_vue_1 = tslib_1.__importDefault(__webpack_require__(74048));
25129
+ var Select_vue_1 = tslib_1.__importDefault(__webpack_require__(29077));
25124
25130
 
25125
25131
  var Radio_vue_1 = tslib_1.__importDefault(__webpack_require__(15692));
25126
25132