@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.
@@ -1275,7 +1275,7 @@ var component = (0,componentNormalizer/* default */.Z)(
1275
1275
 
1276
1276
  /***/ }),
1277
1277
 
1278
- /***/ 19147:
1278
+ /***/ 25523:
1279
1279
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1280
1280
 
1281
1281
  "use strict";
@@ -1288,7 +1288,7 @@ __webpack_require__.d(__webpack_exports__, {
1288
1288
  "default": () => (/* binding */ Select)
1289
1289
  });
1290
1290
 
1291
- ;// 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&
1291
+ ;// 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&
1292
1292
  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:{
1293
1293
  'uikit-select__label--hover': _vm.hover,
1294
1294
  'uikit-select__label--focus': _vm.focus,
@@ -1298,7 +1298,13 @@ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._sel
1298
1298
  'uikit-select__value--hover': _vm.hover,
1299
1299
  'uikit-select__value--focus': _vm.focus,
1300
1300
  'uikit-select__value--disabled': _vm.disabled,
1301
- },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:{
1301
+ 'uikit-select__value--subtext': _vm.subtext
1302
+ },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:{
1303
+ 'uikit-select__subtext--placeholder': !_vm.subtext,
1304
+ 'uikit-select__subtext--hover': _vm.hover,
1305
+ 'uikit-select__subtext--focus': _vm.focus,
1306
+ 'uikit-select__subtext--disabled': _vm.disabled,
1307
+ }},[_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:{
1302
1308
  'uikit-select__input--placeholder': !_vm.value && !_vm.searchText,
1303
1309
  'uikit-select__input--hover': _vm.hover,
1304
1310
  'uikit-select__input--focus': _vm.focus,
@@ -1308,7 +1314,7 @@ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._sel
1308
1314
  'uikit-select__arrow--hover': _vm.hover,
1309
1315
  'uikit-select__arrow--focus': _vm.focus,
1310
1316
  'uikit-select__arrow--show-dropdown': _vm.showDropdown,
1311
- },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)])}
1317
+ },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)])}
1312
1318
  var staticRenderFns = []
1313
1319
 
1314
1320
 
@@ -14007,7 +14013,7 @@ __webpack_require__.r(__webpack_exports__);
14007
14013
 
14008
14014
  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()));
14009
14015
  // Module
14010
- ___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}", ""]);
14016
+ ___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}", ""]);
14011
14017
  // Exports
14012
14018
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
14013
14019
 
@@ -18399,10 +18405,8 @@ var Select = /*#__PURE__*/function (_vue_property_decorat) {
18399
18405
  }, {
18400
18406
  key: "menuPositionTop",
18401
18407
  get: function get() {
18402
- if (this.menuHeight) {
18403
- return "-".concat(this.menuHeight);
18404
- }
18405
-
18408
+ if (this.menuHeight) return "-".concat(this.menuHeight);
18409
+ if (this.subtext) return 60;
18406
18410
  return 36;
18407
18411
  }
18408
18412
  }, {
@@ -18652,6 +18656,8 @@ tslib_1.__decorate([(0, vue_property_decorator_1.Prop)()], Select.prototype, "la
18652
18656
 
18653
18657
  tslib_1.__decorate([(0, vue_property_decorator_1.Prop)()], Select.prototype, "value", void 0);
18654
18658
 
18659
+ tslib_1.__decorate([(0, vue_property_decorator_1.Prop)()], Select.prototype, "subtext", void 0);
18660
+
18655
18661
  tslib_1.__decorate([(0, vue_property_decorator_1.Prop)()], Select.prototype, "placeholder", void 0);
18656
18662
 
18657
18663
  tslib_1.__decorate([(0, vue_property_decorator_1.Prop)()], Select.prototype, "data", void 0);
@@ -25110,7 +25116,7 @@ var Link_vue_1 = tslib_1.__importDefault(__webpack_require__(66985));
25110
25116
 
25111
25117
  var Tab_vue_1 = tslib_1.__importDefault(__webpack_require__(70874));
25112
25118
 
25113
- var Select_vue_1 = tslib_1.__importDefault(__webpack_require__(19147));
25119
+ var Select_vue_1 = tslib_1.__importDefault(__webpack_require__(25523));
25114
25120
 
25115
25121
  var Radio_vue_1 = tslib_1.__importDefault(__webpack_require__(78609));
25116
25122