@everchron/ec-shards 4.4.2 → 5.0.0

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.
@@ -5702,6 +5702,17 @@ module.exports = {
5702
5702
 
5703
5703
  // extracted by mini-css-extract-plugin
5704
5704
 
5705
+ /***/ }),
5706
+
5707
+ /***/ "5b96":
5708
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
5709
+
5710
+ "use strict";
5711
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_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_pagination_vue_vue_type_style_index_0_id_66860949_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c982");
5712
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_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_pagination_vue_vue_type_style_index_0_id_66860949_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_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_pagination_vue_vue_type_style_index_0_id_66860949_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
5713
+ /* unused harmony reexport * */
5714
+
5715
+
5705
5716
  /***/ }),
5706
5717
 
5707
5718
  /***/ "5bd8":
@@ -6035,6 +6046,17 @@ var result = _node_modules_svg_sprite_loader_runtime_browser_sprite_build_js__WE
6035
6046
 
6036
6047
  // extracted by mini-css-extract-plugin
6037
6048
 
6049
+ /***/ }),
6050
+
6051
+ /***/ "641e":
6052
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6053
+
6054
+ "use strict";
6055
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_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_context_menu_vue_vue_type_style_index_0_id_1425d145_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("87f0");
6056
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_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_context_menu_vue_vue_type_style_index_0_id_1425d145_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_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_context_menu_vue_vue_type_style_index_0_id_1425d145_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
6057
+ /* unused harmony reexport * */
6058
+
6059
+
6038
6060
  /***/ }),
6039
6061
 
6040
6062
  /***/ "642e":
@@ -7863,6 +7885,13 @@ var result = _node_modules_svg_sprite_loader_runtime_browser_sprite_build_js__WE
7863
7885
  /* unused harmony reexport * */
7864
7886
 
7865
7887
 
7888
+ /***/ }),
7889
+
7890
+ /***/ "87f0":
7891
+ /***/ (function(module, exports, __webpack_require__) {
7892
+
7893
+ // extracted by mini-css-extract-plugin
7894
+
7866
7895
  /***/ }),
7867
7896
 
7868
7897
  /***/ "8817":
@@ -8248,17 +8277,6 @@ module.exports = function (key) {
8248
8277
  };
8249
8278
 
8250
8279
 
8251
- /***/ }),
8252
-
8253
- /***/ "9105":
8254
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
8255
-
8256
- "use strict";
8257
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_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_pagination_vue_vue_type_style_index_0_id_731cbd53_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("ebd8");
8258
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_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_pagination_vue_vue_type_style_index_0_id_731cbd53_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_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_pagination_vue_vue_type_style_index_0_id_731cbd53_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
8259
- /* unused harmony reexport * */
8260
-
8261
-
8262
8280
  /***/ }),
8263
8281
 
8264
8282
  /***/ "9112":
@@ -8755,13 +8773,6 @@ var result = _node_modules_svg_sprite_loader_runtime_browser_sprite_build_js__WE
8755
8773
 
8756
8774
  /***/ }),
8757
8775
 
8758
- /***/ "99c2":
8759
- /***/ (function(module, exports, __webpack_require__) {
8760
-
8761
- // extracted by mini-css-extract-plugin
8762
-
8763
- /***/ }),
8764
-
8765
8776
  /***/ "99c5":
8766
8777
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8767
8778
 
@@ -9050,17 +9061,6 @@ exports.BROKEN_CARET = fails(function () {
9050
9061
  /* unused harmony reexport * */
9051
9062
 
9052
9063
 
9053
- /***/ }),
9054
-
9055
- /***/ "a03c":
9056
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
9057
-
9058
- "use strict";
9059
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_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_context_menu_vue_vue_type_style_index_0_id_6ad2de18_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("99c2");
9060
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_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_context_menu_vue_vue_type_style_index_0_id_6ad2de18_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_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_context_menu_vue_vue_type_style_index_0_id_6ad2de18_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
9061
- /* unused harmony reexport * */
9062
-
9063
-
9064
9064
  /***/ }),
9065
9065
 
9066
9066
  /***/ "a04b":
@@ -11345,6 +11345,13 @@ try {
11345
11345
  module.exports = g;
11346
11346
 
11347
11347
 
11348
+ /***/ }),
11349
+
11350
+ /***/ "c982":
11351
+ /***/ (function(module, exports, __webpack_require__) {
11352
+
11353
+ // extracted by mini-css-extract-plugin
11354
+
11348
11355
  /***/ }),
11349
11356
 
11350
11357
  /***/ "ca1b":
@@ -13374,13 +13381,6 @@ var result = _node_modules_svg_sprite_loader_runtime_browser_sprite_build_js__WE
13374
13381
  /* unused harmony reexport * */
13375
13382
 
13376
13383
 
13377
- /***/ }),
13378
-
13379
- /***/ "ebd8":
13380
- /***/ (function(module, exports, __webpack_require__) {
13381
-
13382
- // extracted by mini-css-extract-plugin
13383
-
13384
13384
  /***/ }),
13385
13385
 
13386
13386
  /***/ "ec9e":
@@ -16504,23 +16504,22 @@ var citation_line_component = normalizeComponent(
16504
16504
  )
16505
16505
 
16506
16506
  /* harmony default export */ var citation_line = (citation_line_component.exports);
16507
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2aa51fb4-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/context-menu/context-menu.vue?vue&type=template&id=6ad2de18&scoped=true&
16508
- var context_menuvue_type_template_id_6ad2de18_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(_vm.onClickOutside),expression:"onClickOutside"}],staticClass:"ecs-context-menu",class:_vm.opened ? ' opened': '',style:([_vm.postionStyles]),attrs:{"id":_vm.elementId}},[_c('ul',_vm._l((_vm.options),function(option,index){return _c('li',{key:index,class:[
16507
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2aa51fb4-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/context-menu/context-menu.vue?vue&type=template&id=1425d145&scoped=true&
16508
+ var context_menuvue_type_template_id_1425d145_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(_vm.onClickOutside),expression:"onClickOutside"}],staticClass:"ecs-context-menu",class:_vm.opened ? ' opened': '',style:([_vm.postionStyles]),attrs:{"id":_vm.elementId}},[_c('ul',_vm._l((_vm.options),function(option,index){return _c('li',{key:index,class:[
16509
16509
  option.type === 'divider' ? 'ecs-context-menu-divider' : 'ecs-context-menu-item',
16510
16510
  option.type === 'danger' ? 'danger' : '',
16511
16511
  option.disabled ? 'disabled' : ''
16512
16512
  ],on:{"click":function($event){$event.stopPropagation();_vm.optionClicked(option)}}},[(option.icon)?_c('ecs-icon',{attrs:{"type":option.icon,"size":"20"}}):_vm._e(),_vm._v(" "),(option.type != 'divider')?_c('span',[_vm._v(_vm._s(option.name))]):_vm._e()],1)}))])}
16513
- var context_menuvue_type_template_id_6ad2de18_scoped_true_staticRenderFns = []
16513
+ var context_menuvue_type_template_id_1425d145_scoped_true_staticRenderFns = []
16514
16514
 
16515
16515
 
16516
- // CONCATENATED MODULE: ./src/components/context-menu/context-menu.vue?vue&type=template&id=6ad2de18&scoped=true&
16516
+ // CONCATENATED MODULE: ./src/components/context-menu/context-menu.vue?vue&type=template&id=1425d145&scoped=true&
16517
16517
 
16518
16518
  // EXTERNAL MODULE: ./node_modules/v-click-outside/dist/v-click-outside.min.umd.js
16519
16519
  var v_click_outside_min_umd = __webpack_require__("2103");
16520
16520
  var v_click_outside_min_umd_default = /*#__PURE__*/__webpack_require__.n(v_click_outside_min_umd);
16521
16521
 
16522
16522
  // 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/context-menu/context-menu.vue?vue&type=script&lang=js&
16523
-
16524
16523
  //
16525
16524
  //
16526
16525
  //
@@ -16572,18 +16571,6 @@ external_commonjs_vue_commonjs2_vue_root_Vue_default.a.use(v_click_outside_min_u
16572
16571
  /** If passed, an icon will appear. The list of available icon names can be found [here](https://github.com/everchron/ec-shards/tree/main/src/assets/icons). */
16573
16572
  icon: {
16574
16573
  type: String
16575
- },
16576
-
16577
- /** Use the offset of the context menu appears in a scrollable container which does not start at the very top of the browser window. For example, pass the pixel height value of the everchron navigation bar and toolbar. */
16578
- offsetTop: {
16579
- type: Number,
16580
- default: 0
16581
- },
16582
-
16583
- /** Use the offset of the context menu appears in a scrollable container which does not start at the very left of the browser window. For example, pass the pixel width value of a left hand sidebar. */
16584
- offsetLeft: {
16585
- type: Number,
16586
- default: 0
16587
16574
  }
16588
16575
  },
16589
16576
  data: function data() {
@@ -16622,15 +16609,15 @@ external_commonjs_vue_commonjs2_vue_root_Vue_default.a.use(v_click_outside_min_u
16622
16609
  }
16623
16610
 
16624
16611
  if (this.menuWidth + event.pageX >= window.innerWidth) {
16625
- this.left = event.pageX - this.menuWidth + 2 - this.offsetLeft;
16612
+ this.left = event.pageX - this.menuWidth + 2;
16626
16613
  } else {
16627
- this.left = event.pageX - 2 - this.offsetLeft;
16614
+ this.left = event.pageX - 2;
16628
16615
  }
16629
16616
 
16630
16617
  if (this.menuHeight + event.pageY >= window.innerHeight) {
16631
- this.top = event.pageY - this.menuHeight + 2 - this.offsetTop;
16618
+ this.top = event.pageY - this.menuHeight + 2;
16632
16619
  } else {
16633
- this.top = event.pageY - 2 - this.offsetTop;
16620
+ this.top = event.pageY - 2;
16634
16621
  }
16635
16622
 
16636
16623
  this.opened = true;
@@ -16672,8 +16659,8 @@ external_commonjs_vue_commonjs2_vue_root_Vue_default.a.use(v_click_outside_min_u
16672
16659
  });
16673
16660
  // CONCATENATED MODULE: ./src/components/context-menu/context-menu.vue?vue&type=script&lang=js&
16674
16661
  /* harmony default export */ var context_menu_context_menuvue_type_script_lang_js_ = (context_menuvue_type_script_lang_js_);
16675
- // EXTERNAL MODULE: ./src/components/context-menu/context-menu.vue?vue&type=style&index=0&id=6ad2de18&lang=scss&scoped=true&
16676
- var context_menuvue_type_style_index_0_id_6ad2de18_lang_scss_scoped_true_ = __webpack_require__("a03c");
16662
+ // EXTERNAL MODULE: ./src/components/context-menu/context-menu.vue?vue&type=style&index=0&id=1425d145&lang=scss&scoped=true&
16663
+ var context_menuvue_type_style_index_0_id_1425d145_lang_scss_scoped_true_ = __webpack_require__("641e");
16677
16664
 
16678
16665
  // CONCATENATED MODULE: ./src/components/context-menu/context-menu.vue
16679
16666
 
@@ -16686,11 +16673,11 @@ var context_menuvue_type_style_index_0_id_6ad2de18_lang_scss_scoped_true_ = __we
16686
16673
 
16687
16674
  var context_menu_component = normalizeComponent(
16688
16675
  context_menu_context_menuvue_type_script_lang_js_,
16689
- context_menuvue_type_template_id_6ad2de18_scoped_true_render,
16690
- context_menuvue_type_template_id_6ad2de18_scoped_true_staticRenderFns,
16676
+ context_menuvue_type_template_id_1425d145_scoped_true_render,
16677
+ context_menuvue_type_template_id_1425d145_scoped_true_staticRenderFns,
16691
16678
  false,
16692
16679
  null,
16693
- "6ad2de18",
16680
+ "1425d145",
16694
16681
  null
16695
16682
 
16696
16683
  )
@@ -23228,31 +23215,38 @@ var overlay_component = normalizeComponent(
23228
23215
  )
23229
23216
 
23230
23217
  /* harmony default export */ var overlay = (overlay_component.exports);
23231
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2aa51fb4-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/pagination/pagination.vue?vue&type=template&id=731cbd53&scoped=true&
23232
- var paginationvue_type_template_id_731cbd53_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"ecs-pagination",class:[ _vm.floating ? 'ecs-pagination-floating' : '' ]},[_c('div',{staticClass:"ecs-pagination-nav"},[_c('ecs-button-toolbar-group',[_c('ecs-button-toolbar',{attrs:{"disabled":_vm.loading || _vm.currentPage === 1,"icon":"back","data-test":"pagination-previous-button"},on:{"click":function($event){_vm.$emit('prevPage', $event)}}},[_vm._v("\n Previous Page\n ")]),_vm._v(" "),_c('ecs-button-toolbar',{attrs:{"disabled":_vm.loading || _vm.currentPage === _vm.totalPages,"icon":"next","icon-position":"right","data-test":"pagination-next-button"},on:{"click":function($event){_vm.$emit('nextPage', $event)}}},[_vm._v("\n Next Page\n ")])],1),_vm._v(" "),_c('div',{staticClass:"ecs-pagination-dropdown"},[_c('span',[_vm._v("Page")]),_vm._v(" "),_c('div',{staticClass:"ecs-pagination-dropdown-button",class:[_vm.dropdownShown ? 'active' : '', _vm.totalPages ? '' : 'disabled'],on:{"click":_vm.toggleDropdown}},[(_vm.currentPage)?[_vm._v(_vm._s(_vm.currentPage))]:[_vm._v("-")],_vm._v(" "),_c('transition',{attrs:{"name":"dropdown"}},[(_vm.dropdownShown && _vm.totalPages)?_c('div',{staticClass:"ecs-pagination-select scrollbar scrollbar-sml"},[_c('ecs-popover-list',_vm._l((_vm.totalPages),function(n){return _c('ecs-popover-list-item',{key:n,attrs:{"selected":n === _vm.currentPage},on:{"click":function($event){_vm.$emit('update:page', n), _vm.hideDropdown}}},[_vm._v("\n "+_vm._s(n)+"\n ")])}))],1):_vm._e()])],2),_vm._v(" "),(_vm.totalPages)?_c('span',{staticClass:"total"},[_vm._v("of "+_vm._s(_vm.totalPages))]):_vm._e()])],1),_vm._v(" "),_c('div',[_vm._t("tabs")],2)])}
23233
- var paginationvue_type_template_id_731cbd53_scoped_true_staticRenderFns = []
23234
-
23235
-
23236
- // CONCATENATED MODULE: ./src/components/pagination/pagination.vue?vue&type=template&id=731cbd53&scoped=true&
23237
-
23238
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2aa51fb4-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/popover-list/popover-list.vue?vue&type=template&id=132050d4&scoped=true&
23239
- var popover_listvue_type_template_id_132050d4_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{staticClass:"ecs-popover-list",class:_vm.inner ? 'ecs-popover-list-inner' : ''},[_vm._t("default")],2)}
23240
- var popover_listvue_type_template_id_132050d4_scoped_true_staticRenderFns = []
23218
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2aa51fb4-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/pagination/pagination.vue?vue&type=template&id=66860949&scoped=true&
23219
+ var paginationvue_type_template_id_66860949_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"ecs-pagination",class:[ _vm.floating ? 'ecs-pagination-floating' : '' ]},[_c('ecs-flex-row',{staticClass:"ecs-pagination-nav",style:({minWidth: _vm.tabsSpacing - 4 + 'px'}),attrs:{"gap":8}},[(_vm.type == 'paginated')?[_c('ecs-flex-row',[_c('ecs-button',{attrs:{"disabled":_vm.loading || _vm.currentPage === 1,"icon":"chevron-double-left","icon-only":"","type":"secondary","title":"First Page","data-test":"pagination-first-button"},on:{"click":function($event){_vm.$emit('firstPage', $event)}}}),_vm._v(" "),_c('ecs-button',{attrs:{"disabled":_vm.loading || _vm.currentPage === 1,"icon":"chevron-left","icon-only":"","type":"secondary","title":"Previous Page","data-test":"pagination-previous-button"},on:{"click":function($event){_vm.$emit('prevPage', $event)}}})],1),_vm._v(" "),_c('ecs-flex-row',{attrs:{"gap":4}},[_c('span',[_vm._v("Page")]),_vm._v(" "),_c('ecs-select',{attrs:{"disabled":!_vm.totalPages,"size":"sml"},on:{"change":function($event){_vm.$emit('updatePage', $event.target.value)}}},_vm._l((_vm.totalPages),function(n){return _c('option',{key:n,domProps:{"value":n,"selected":n === _vm.currentPage}},[_vm._v(_vm._s(n))])})),_vm._v(" "),(_vm.totalPages)?_c('span',{staticClass:"total"},[_vm._v("of "+_vm._s(_vm.totalPages))]):_vm._e()],1),_vm._v(" "),_c('ecs-flex-row',[_c('ecs-button',{attrs:{"disabled":_vm.loading || _vm.currentPage === _vm.totalPages,"icon":"chevron-right","icon-only":"","type":"secondary","title":"Next Page","data-test":"pagination-next-button"},on:{"click":function($event){_vm.$emit('nextPage', $event)}}}),_vm._v(" "),_c('ecs-button',{attrs:{"disabled":_vm.loading || _vm.currentPage === _vm.totalPages,"icon":"chevron-double-right","icon-only":"","type":"secondary","title":"Last Page","data-test":"pagination-last-button"},on:{"click":function($event){_vm.$emit('lastPage', $event)}}})],1)]:(_vm.hasRange)?[_c('span',{staticClass:"ecs-pagination-range"},[_vm._v("Showing entries "),_c('span',[_vm._v(_vm._s(_vm.itemRangeFrom)+" to "+_vm._s(_vm.itemRangeTo))]),_vm._v(" of "),_c('span',[_vm._v(_vm._s(_vm.itemRangeTotal))])])]:_vm._e(),_vm._v(" "),_c('transition',{attrs:{"name":"fade"}},[(_vm.loading)?_c('ecs-flex-row',{class:_vm.$slots.tabs && _vm.type =='paginated' ? 'push-right' : '',attrs:{"gap":4}},[(!_vm.$slots.tabs && _vm.type =='paginated')?_c('div',{staticClass:"separator"}):_vm._e(),_vm._v(" "),_c('ecs-icon',{attrs:{"type":"loading","spinning":"","size":"24","color":"#858E9E"}})],1):_vm._e()],1)],2),_vm._v(" "),_c('div',{staticClass:"ecs-pagination-tabs"},[_vm._t("tabs")],2),_vm._v(" "),(_vm.showItemsPerPage && _vm.type == 'paginated')?_c('ecs-flex-row',{staticClass:"ecs-pagination-items",attrs:{"gap":4}},[_c('span',[_vm._v("Items per page")]),_vm._v(" "),_c('ecs-select',{attrs:{"disabled":_vm.loading,"size":"sml"},on:{"change":function($event){_vm.$emit('itemsPerPage', $event.target.value)}}},_vm._l((_vm.itemsPerPage),function(n){return _c('option',{key:n,domProps:{"value":n,"selected":n === _vm.itemsPerPageSelected}},[_vm._v(_vm._s(n))])}))],1):_vm._e(),_vm._v(" "),(_vm.$slots.controls)?_c('ecs-flex-row',{staticClass:"ecs-pagination-controls",attrs:{"gap":4}},[_vm._t("controls")],2):_vm._e()],1)}
23220
+ var paginationvue_type_template_id_66860949_scoped_true_staticRenderFns = []
23241
23221
 
23242
23222
 
23243
- // CONCATENATED MODULE: ./src/components/popover-list/popover-list.vue?vue&type=template&id=132050d4&scoped=true&
23244
-
23245
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2aa51fb4-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/radiobutton/radiobutton.vue?vue&type=template&id=574e95b6&scoped=true&
23246
- var radiobuttonvue_type_template_id_574e95b6_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ecs-form-check',{class:[
23247
- _vm.inline ? "ecs-form-check-inline" : '',
23248
- _vm.disabled ? "disabled" : '',
23249
- _vm.$slots.default ? '' : 'stand-alone']},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.computedLocalChecked),expression:"computedLocalChecked"}],ref:"check",staticClass:"ecs-form-check-input",attrs:{"type":"radio","autocomplete":"off","id":_vm.id,"name":_vm.name,"required":_vm.required,"disabled":_vm.disabled},domProps:{"value":_vm.value,"checked":_vm._q(_vm.computedLocalChecked,_vm.value)},on:{"change":[function($event){_vm.computedLocalChecked=_vm.value},_vm.handleChange]}}),_vm._v(" "),_c('label',{staticClass:"ecs-form-check-label",attrs:{"for":_vm.id}},[_vm._t("default"),_vm._v(" "),(_vm.$slots.default && _vm.help)?_c('ecs-text',{attrs:{"type":"form"}},[_vm._v(_vm._s(_vm.help))]):_vm._e()],2)])}
23250
- var radiobuttonvue_type_template_id_574e95b6_scoped_true_staticRenderFns = []
23223
+ // CONCATENATED MODULE: ./src/components/pagination/pagination.vue?vue&type=template&id=66860949&scoped=true&
23251
23224
 
23225
+ // 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/pagination/pagination.vue?vue&type=script&lang=js&
23252
23226
 
23253
- // CONCATENATED MODULE: ./src/components/radiobutton/radiobutton.vue?vue&type=template&id=574e95b6&scoped=true&
23254
23227
 
23255
- // 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/radiobutton/radiobutton.vue?vue&type=script&lang=js&
23228
+ //
23229
+ //
23230
+ //
23231
+ //
23232
+ //
23233
+ //
23234
+ //
23235
+ //
23236
+ //
23237
+ //
23238
+ //
23239
+ //
23240
+ //
23241
+ //
23242
+ //
23243
+ //
23244
+ //
23245
+ //
23246
+ //
23247
+ //
23248
+ //
23249
+ //
23256
23250
  //
23257
23251
  //
23258
23252
  //
@@ -23283,101 +23277,100 @@ var radiobuttonvue_type_template_id_574e95b6_scoped_true_staticRenderFns = []
23283
23277
  //
23284
23278
 
23285
23279
 
23286
- /* harmony default export */ var radiobuttonvue_type_script_lang_js_ = ({
23280
+
23281
+
23282
+ /* harmony default export */ var paginationvue_type_script_lang_js_ = ({
23287
23283
  components: {
23288
- EcsFormCheck: form_check,
23289
- EcsText: text_text
23290
- },
23291
- model: {
23292
- prop: 'checked',
23293
- event: 'input'
23284
+ EcsButton: button_button,
23285
+ EcsSelect: select_select,
23286
+ EcsFlexRow: flex_row,
23287
+ EcsIcon: icon
23294
23288
  },
23295
23289
  props: {
23296
- /** Name attribute of the radiobutton. */
23297
- name: {
23298
- type: String
23290
+ /** Adds some padding around the pagination bar and makes it appear as if it's "floating" at the bottom of the index. Should never be used for table contents. */
23291
+ floating: {
23292
+ type: Boolean,
23293
+ default: false
23299
23294
  },
23300
23295
 
23301
- /** Value of the radiobutton. */
23302
- value: {
23303
- default: true
23296
+ /** Determines which elements are visible in the pagination component. */
23297
+ type: {
23298
+ type: String,
23299
+ validator: function validator(v) {
23300
+ return ['paginated', 'infinite'].includes(v);
23301
+ },
23302
+ default: 'paginated'
23304
23303
  },
23305
23304
 
23306
- /** Determines of the radiobutton is required. */
23307
- required: {
23305
+ /** Briefly disables all controls while ongoing navigation. */
23306
+ loading: {
23308
23307
  type: Boolean,
23309
23308
  default: false
23310
23309
  },
23311
23310
 
23312
- /** Sets the radiobutton to checked. */
23313
- checked: {
23314
- type: [Boolean, String, Array]
23311
+ /** The current page. */
23312
+ currentPage: {
23313
+ type: Number
23315
23314
  },
23316
23315
 
23317
- /** Turns the radiobutton into disabled state. */
23318
- disabled: {
23319
- type: Boolean,
23320
- default: false
23316
+ /** The total pages of the index. */
23317
+ totalPages: {
23318
+ type: Number
23321
23319
  },
23322
23320
 
23323
- /** Renders the radiobutton inline. */
23324
- inline: {
23321
+ /** The width of the area left to the tab area in pixels. This is used to align the tab bar with a column in the table. Not needed when tabs aren't in use. */
23322
+ tabsSpacing: {
23323
+ type: Number,
23324
+ default: 400
23325
+ },
23326
+
23327
+ /** Determines if the selector for items per page should be shown. */
23328
+ showItemsPerPage: {
23325
23329
  type: Boolean,
23326
- default: false
23330
+ default: true
23327
23331
  },
23328
23332
 
23329
- /** Help text that appears underneath (or next to, for inline radiobuttons) the label. */
23330
- help: {
23331
- type: String
23332
- }
23333
- },
23334
- data: function data() {
23335
- return {
23336
- id: null,
23337
- localChecked: this.checked
23338
- };
23339
- },
23340
- mounted: function mounted() {
23341
- this.id = this._uid;
23342
- },
23343
- computed: {
23344
- computedLocalChecked: {
23345
- get: function get() {
23346
- return this.localChecked;
23347
- },
23348
- set: function set(val) {
23349
- this.localChecked = val;
23350
- }
23351
- }
23352
- },
23353
- watch: {
23354
- computedLocalChecked: function computedLocalChecked(newVal, oldVal) {
23355
- if (newVal == oldVal) {
23356
- return;
23333
+ /** The options to be show as selectable in the items per page dropdown. Requires an array with Numbers. Default: `[25, 50, 100]` */
23334
+ itemsPerPage: {
23335
+ type: Array,
23336
+ default: function _default() {
23337
+ return [25, 50, 100];
23357
23338
  }
23339
+ },
23358
23340
 
23359
- this.$emit('input', newVal);
23341
+ /** The selected option in the items per page dropdown. */
23342
+ itemsPerPageSelected: {
23343
+ type: Number,
23344
+ default: 100
23360
23345
  },
23361
- checked: function checked(newVal, oldVal) {
23362
- if (newVal == oldVal) {
23363
- return;
23364
- }
23365
23346
 
23366
- this.computedLocalChecked = newVal;
23347
+ /** Number of the visible item range (starting). */
23348
+ itemRangeFrom: {
23349
+ type: [Number, String]
23350
+ },
23351
+
23352
+ /** Number of the visible item range (ending). */
23353
+ itemRangeTo: {
23354
+ type: [Number, String]
23355
+ },
23356
+
23357
+ /** Number of the total items in the index. */
23358
+ itemRangeTotal: {
23359
+ type: [Number, String]
23367
23360
  }
23368
23361
  },
23369
- methods: {
23370
- handleChange: function handleChange(e) {
23371
- this.$emit('change', e.target.checked ? this.value : null);
23362
+ computed: {
23363
+ hasRange: function hasRange() {
23364
+ if (this.itemRangeFrom && this.itemRangeTo && this.itemRangeTotal && this.itemRangeFrom !== '' && this.itemRangeTo !== '' && this.itemRangeTotal !== '') return true;
23372
23365
  }
23373
23366
  }
23374
23367
  });
23375
- // CONCATENATED MODULE: ./src/components/radiobutton/radiobutton.vue?vue&type=script&lang=js&
23376
- /* harmony default export */ var radiobutton_radiobuttonvue_type_script_lang_js_ = (radiobuttonvue_type_script_lang_js_);
23377
- // EXTERNAL MODULE: ./src/components/radiobutton/radiobutton.vue?vue&type=style&index=0&id=574e95b6&lang=scss&scoped=true&
23378
- var radiobuttonvue_type_style_index_0_id_574e95b6_lang_scss_scoped_true_ = __webpack_require__("cde0");
23368
+ // CONCATENATED MODULE: ./src/components/pagination/pagination.vue?vue&type=script&lang=js&
23369
+ /* harmony default export */ var pagination_paginationvue_type_script_lang_js_ = (paginationvue_type_script_lang_js_);
23370
+ // EXTERNAL MODULE: ./src/components/pagination/pagination.vue?vue&type=style&index=0&id=66860949&lang=scss&scoped=true&
23371
+ var paginationvue_type_style_index_0_id_66860949_lang_scss_scoped_true_ = __webpack_require__("5b96");
23379
23372
 
23380
- // CONCATENATED MODULE: ./src/components/radiobutton/radiobutton.vue
23373
+ // CONCATENATED MODULE: ./src/components/pagination/pagination.vue
23381
23374
 
23382
23375
 
23383
23376
 
@@ -23386,33 +23379,26 @@ var radiobuttonvue_type_style_index_0_id_574e95b6_lang_scss_scoped_true_ = __web
23386
23379
 
23387
23380
  /* normalize component */
23388
23381
 
23389
- var radiobutton_component = normalizeComponent(
23390
- radiobutton_radiobuttonvue_type_script_lang_js_,
23391
- radiobuttonvue_type_template_id_574e95b6_scoped_true_render,
23392
- radiobuttonvue_type_template_id_574e95b6_scoped_true_staticRenderFns,
23382
+ var pagination_component = normalizeComponent(
23383
+ pagination_paginationvue_type_script_lang_js_,
23384
+ paginationvue_type_template_id_66860949_scoped_true_render,
23385
+ paginationvue_type_template_id_66860949_scoped_true_staticRenderFns,
23393
23386
  false,
23394
23387
  null,
23395
- "574e95b6",
23388
+ "66860949",
23396
23389
  null
23397
23390
 
23398
23391
  )
23399
23392
 
23400
- /* harmony default export */ var radiobutton = (radiobutton_component.exports);
23401
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2aa51fb4-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/switch/switch.vue?vue&type=template&id=23d2b533&scoped=true&
23402
- var switchvue_type_template_id_23d2b533_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"ecs-switch-wrapper"},[_c('label',{staticClass:"ecs-switch",class:[
23403
- _vm.sizeClass,
23404
- _vm.hasDefaultSlot ? 'ecs-switch-has-label' : '',
23405
- _vm.disabled ? 'disabled' : '',
23406
- _vm.colored ? 'ecs-switch-colored' : '',
23407
- _vm.indeterminate ? 'ecs-switch-indeterminate' : ''
23408
- ]},[_c('input',{attrs:{"type":"checkbox","autocomplete":"off","id":_vm.id,"name":_vm.name,"required":_vm.required,"disabled":_vm.disabled},domProps:{"checked":_vm.checked},on:{"change":_vm.handleClick}}),_vm._v(" "),_vm._m(0)]),_vm._v(" "),(_vm.hasDefaultSlot)?_c('label',{attrs:{"for":_vm.id}},[_vm._t("default")],2):_vm._e()])}
23409
- var switchvue_type_template_id_23d2b533_scoped_true_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"ecs-slide-switch"},[_c('div',{staticClass:"indeterminate"})])}]
23410
-
23393
+ /* harmony default export */ var pagination = (pagination_component.exports);
23394
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2aa51fb4-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/party-entry/party-entry.vue?vue&type=template&id=de92edca&scoped=true&
23395
+ var party_entryvue_type_template_id_de92edca_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"ecs-party-entry",class:[ _vm.party, _vm.shared ? 'shared' : '', (_vm.color && _vm.background) ? 'ecs-party-entry-colored' : ''],style:({ color: _vm.color })},[(_vm.icon && _vm.iconPosition == 'left')?_c('ecs-icon',{style:('margin-right:'+_vm.iconSpacing),attrs:{"type":_vm.iconType,"color":_vm.iconColor,"size":_vm.iconSize}}):_vm._e(),_vm._v(" "),_c('span',[_vm._t("default")],2),_vm._v(" "),(_vm.icon && _vm.iconPosition == 'right')?_c('ecs-icon',{style:('margin-left:'+_vm.iconSpacing),attrs:{"type":_vm.iconType,"color":_vm.iconColor,"size":_vm.iconSize}}):_vm._e(),_vm._v(" "),(_vm.background)?_c('div',{staticClass:"ecs-party-entry-background"}):_vm._e()],1)}
23396
+ var party_entryvue_type_template_id_de92edca_scoped_true_staticRenderFns = []
23411
23397
 
23412
- // CONCATENATED MODULE: ./src/components/switch/switch.vue?vue&type=template&id=23d2b533&scoped=true&
23413
23398
 
23414
- // 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/switch/switch.vue?vue&type=script&lang=js&
23399
+ // CONCATENATED MODULE: ./src/components/party-entry/party-entry.vue?vue&type=template&id=de92edca&scoped=true&
23415
23400
 
23401
+ // 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/party-entry/party-entry.vue?vue&type=script&lang=js&
23416
23402
 
23417
23403
  //
23418
23404
  //
@@ -23425,146 +23411,117 @@ var switchvue_type_template_id_23d2b533_scoped_true_staticRenderFns = [function
23425
23411
  //
23426
23412
  //
23427
23413
  //
23428
- //
23429
- //
23430
- //
23431
- //
23432
- //
23433
- //
23434
- //
23435
- //
23436
- //
23437
- //
23438
- //
23439
- //
23440
- //
23441
- //
23442
- //
23443
- //
23444
- //
23445
- //
23446
- /* harmony default export */ var switchvue_type_script_lang_js_ = ({
23414
+
23415
+ /* harmony default export */ var party_entryvue_type_script_lang_js_ = ({
23416
+ components: {
23417
+ EcsIcon: icon
23418
+ },
23447
23419
  props: {
23448
- /** Sets the name attribute. */
23449
- name: {
23420
+ /** Adds an icon to the party entry. The list of available icon names can be found [here](https://github.com/everchron/ec-shards/tree/main/src/assets/icons). */
23421
+ icon: {
23450
23422
  type: String
23451
23423
  },
23452
23424
 
23453
- /** Determines the size of the switch. `sml-toggle` sets the toggle control size to small, but maintains a regular font size. */
23454
- size: {
23425
+ /** If the party entry tag should be using the default party side colors, set this party prop. Do not use in combination with the `color` prop. */
23426
+ party: {
23455
23427
  type: String,
23456
23428
  validator: function validator(v) {
23457
- return ['sml', 'sml-toggle', 'lg', 'md', 'null', null].includes(v);
23429
+ return ['client', 'opposing', 'joint', 'other', 'court', 'unaffiliated'].includes(v);
23458
23430
  }
23459
23431
  },
23460
23432
 
23461
- /** Sets the switch to required. */
23462
- required: {
23433
+ /** Renders a subtle colored background. */
23434
+ background: {
23463
23435
  type: Boolean,
23464
23436
  default: false
23465
23437
  },
23466
23438
 
23467
- /** Disables the switch. */
23468
- disabled: {
23439
+ /** Adds a shared badge indicator. */
23440
+ shared: {
23469
23441
  type: Boolean,
23470
23442
  default: false
23471
23443
  },
23472
23444
 
23473
- /** Reflects a true or false state with positive (green) and negative (red) colors. */
23474
- colored: {
23475
- type: Boolean,
23476
- default: false
23445
+ /** Determines the spacing between icon and text. */
23446
+ iconSpacing: {
23447
+ type: String,
23448
+ default: '5px'
23477
23449
  },
23478
23450
 
23479
- /** Reflects an indeterminate switch state (e.g. not all options checked, but some). This is a purely visual setting. */
23480
- indeterminate: {
23481
- type: Boolean,
23482
- default: false
23483
- },
23484
- value: {
23485
- default: false,
23486
- required: false,
23487
- type: [Date, Number, String, Boolean]
23451
+ /** Determines the position of the icon. */
23452
+ iconPosition: {
23453
+ type: String,
23454
+ default: 'left'
23488
23455
  },
23489
- valueFalse: {
23490
- default: false,
23491
- required: false,
23492
- type: [Date, Number, String, Boolean]
23456
+
23457
+ /** Determines the size of the icon. */
23458
+ iconSize: {
23459
+ type: String,
23460
+ default: '30px'
23493
23461
  },
23494
- valueTrue: {
23495
- default: true,
23496
- required: false,
23497
- type: [Date, Number, String, Boolean]
23462
+
23463
+ /** Sets a custom color. Should be a HEX, RGB or HSL value. No alpha channels. */
23464
+ color: {
23465
+ type: String
23498
23466
  }
23499
23467
  },
23500
- data: function data() {
23501
- return {
23502
- id: null,
23503
- checked: !!this.value,
23504
- oldValue: this.value
23505
- };
23506
- },
23507
- mounted: function mounted() {
23508
- this.id = this._uid;
23509
- },
23510
23468
  computed: {
23511
- hasDefaultSlot: function hasDefaultSlot() {
23512
- return !!this.$slots.default;
23513
- },
23514
- sizeClass: function sizeClass() {
23515
- if (this.size && this.size !== '') if (this.size == 'sml-toggle') {
23516
- return "ecs-switch-sml regular-font";
23517
- } else {
23518
- return "ecs-switch-".concat(this.size);
23519
- }
23520
- return this.size;
23521
- },
23522
- isBoolean: function isBoolean() {
23523
- return typeof this.value === 'boolean';
23524
- },
23525
- valueWhenFalse: function valueWhenFalse() {
23526
- if (this.isBoolean) {
23527
- return false;
23528
- }
23469
+ iconType: function iconType() {
23470
+ switch (this.icon) {
23471
+ case 'sequence':
23472
+ return 'colored-sequence';
23529
23473
 
23530
- return this.valueFalse;
23531
- },
23532
- valueWhenTrue: function valueWhenTrue() {
23533
- if (this.isBoolean) {
23534
- return true;
23535
- }
23474
+ case 'folder':
23475
+ return 'colored-folder';
23536
23476
 
23537
- return this.valueTrue || this.oldValue;
23538
- }
23539
- },
23540
- watch: {
23541
- value: function value() {
23542
- this.checked = !!this.value;
23543
- },
23544
- valueFalse: function valueFalse() {
23545
- if (!this.checked) {
23546
- this.$emit('input', this.valueWhenFalse);
23477
+ case 'document':
23478
+ return 'colored-document';
23479
+
23480
+ case 'pacer':
23481
+ return 'colored-pacer';
23482
+
23483
+ default:
23484
+ return this.icon;
23547
23485
  }
23548
23486
  },
23549
- valueTrue: function valueTrue() {
23550
- if (this.checked) {
23551
- this.$emit('input', this.valueWhenTrue);
23487
+ iconColor: function iconColor() {
23488
+ if (this.color) {
23489
+ return this.color;
23490
+ } else if (this.party) {
23491
+ switch (this.party) {
23492
+ case 'client':
23493
+ return '#227FD3';
23494
+
23495
+ case 'opposing':
23496
+ return '#5DAF00';
23497
+
23498
+ case 'joint':
23499
+ return '#A4927A';
23500
+
23501
+ case 'other':
23502
+ return '#95989C';
23503
+
23504
+ case 'court':
23505
+ return '#D78B21';
23506
+
23507
+ case 'unaffiliated':
23508
+ return '#C1C2C4';
23509
+
23510
+ default:
23511
+ return '#C1C2C4';
23512
+ }
23513
+ } else {
23514
+ return '#000';
23552
23515
  }
23553
23516
  }
23554
- },
23555
- methods: {
23556
- handleClick: function handleClick() {
23557
- this.checked = !this.checked;
23558
- this.$emit('input', this.checked ? this.valueWhenTrue : this.valueWhenFalse);
23559
- }
23560
23517
  }
23561
23518
  });
23562
- // CONCATENATED MODULE: ./src/components/switch/switch.vue?vue&type=script&lang=js&
23563
- /* harmony default export */ var switch_switchvue_type_script_lang_js_ = (switchvue_type_script_lang_js_);
23564
- // EXTERNAL MODULE: ./src/components/switch/switch.vue?vue&type=style&index=0&id=23d2b533&lang=scss&scoped=true&
23565
- var switchvue_type_style_index_0_id_23d2b533_lang_scss_scoped_true_ = __webpack_require__("c551");
23519
+ // CONCATENATED MODULE: ./src/components/party-entry/party-entry.vue?vue&type=script&lang=js&
23520
+ /* harmony default export */ var party_entry_party_entryvue_type_script_lang_js_ = (party_entryvue_type_script_lang_js_);
23521
+ // EXTERNAL MODULE: ./src/components/party-entry/party-entry.vue?vue&type=style&index=0&id=de92edca&lang=scss&scoped=true&
23522
+ var party_entryvue_type_style_index_0_id_de92edca_lang_scss_scoped_true_ = __webpack_require__("5ddd");
23566
23523
 
23567
- // CONCATENATED MODULE: ./src/components/switch/switch.vue
23524
+ // CONCATENATED MODULE: ./src/components/party-entry/party-entry.vue
23568
23525
 
23569
23526
 
23570
23527
 
@@ -23573,35 +23530,26 @@ var switchvue_type_style_index_0_id_23d2b533_lang_scss_scoped_true_ = __webpack_
23573
23530
 
23574
23531
  /* normalize component */
23575
23532
 
23576
- var switch_component = normalizeComponent(
23577
- switch_switchvue_type_script_lang_js_,
23578
- switchvue_type_template_id_23d2b533_scoped_true_render,
23579
- switchvue_type_template_id_23d2b533_scoped_true_staticRenderFns,
23533
+ var party_entry_component = normalizeComponent(
23534
+ party_entry_party_entryvue_type_script_lang_js_,
23535
+ party_entryvue_type_template_id_de92edca_scoped_true_render,
23536
+ party_entryvue_type_template_id_de92edca_scoped_true_staticRenderFns,
23580
23537
  false,
23581
23538
  null,
23582
- "23d2b533",
23539
+ "de92edca",
23583
23540
  null
23584
23541
 
23585
23542
  )
23586
23543
 
23587
- /* harmony default export */ var switch_switch = (switch_component.exports);
23588
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2aa51fb4-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/sortbutton/sortbutton.vue?vue&type=template&id=389fbfca&scoped=true&
23589
- var sortbuttonvue_type_template_id_389fbfca_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ecs-form-check',{staticClass:"ecs-sort",class:[
23590
- _vm.sortClass,
23591
- _vm.inline ? "ecs-form-check-inline" : '',
23592
- _vm.disabled ? "disabled" : '']},[_c('span',{staticClass:"ecs-sort-box"}),_vm._v(" "),_c('label',{staticClass:"ecs-form-check-label",on:{"click":function($event){_vm.$emit('click', $event)}}},[_vm._t("default")],2)])}
23593
- var sortbuttonvue_type_template_id_389fbfca_scoped_true_staticRenderFns = []
23594
-
23595
-
23596
- // CONCATENATED MODULE: ./src/components/sortbutton/sortbutton.vue?vue&type=template&id=389fbfca&scoped=true&
23597
-
23598
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.sort.js
23599
- var es_array_sort = __webpack_require__("4e82");
23544
+ /* harmony default export */ var party_entry = (party_entry_component.exports);
23545
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2aa51fb4-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/popover-header/popover-header.vue?vue&type=template&id=37595797&scoped=true&
23546
+ var popover_headervue_type_template_id_37595797_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('header',{staticClass:"ecs-popover-header"},[_c('div',{staticClass:"ecs-popover-header-title"},[(_vm.icon)?_c('ecs-icon',{staticClass:"icon",attrs:{"type":_vm.icon,"size":"36","color":"#B4B9BE"}}):_vm._e(),_vm._v(" "),_c('h2',{staticClass:"ecs-headline-2"},[_vm._v(_vm._s(_vm.title))])],1),_vm._v(" "),(_vm.hasControls)?_c('div',{staticClass:"ecs-popover-header-actions"},[_vm._t("default")],2):_vm._e()])}
23547
+ var popover_headervue_type_template_id_37595797_scoped_true_staticRenderFns = []
23600
23548
 
23601
- // 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/sortbutton/sortbutton.vue?vue&type=script&lang=js&
23602
23549
 
23550
+ // CONCATENATED MODULE: ./src/components/popover-header/popover-header.vue?vue&type=template&id=37595797&scoped=true&
23603
23551
 
23604
- //
23552
+ // 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/popover-header/popover-header.vue?vue&type=script&lang=js&
23605
23553
  //
23606
23554
  //
23607
23555
  //
@@ -23615,45 +23563,35 @@ var es_array_sort = __webpack_require__("4e82");
23615
23563
  //
23616
23564
  //
23617
23565
 
23618
- /* harmony default export */ var sortbuttonvue_type_script_lang_js_ = ({
23566
+ /* harmony default export */ var popover_headervue_type_script_lang_js_ = ({
23619
23567
  components: {
23620
- EcsFormCheck: form_check
23568
+ EcsIcon: icon
23621
23569
  },
23622
23570
  props: {
23623
- /** Disables the sort button. */
23624
- disabled: {
23625
- type: Boolean,
23626
- default: false
23627
- },
23628
-
23629
- /** Determines the current state of the button. */
23630
- sort: {
23571
+ /** Adds an icon to the popover header. The list of available icon names can be found [here](https://github.com/everchron/ec-shards/tree/main/src/assets/icons). */
23572
+ icon: {
23631
23573
  type: String,
23632
- validator: function validator(v) {
23633
- return ['ascending', 'descending', null].includes(v);
23634
- },
23635
23574
  default: null
23636
23575
  },
23637
23576
 
23638
- /** Renders the sort button as an inline element. */
23639
- inline: {
23640
- type: Boolean,
23641
- default: false
23577
+ /** Sets the title of the popover header. */
23578
+ title: {
23579
+ type: String,
23580
+ required: true
23642
23581
  }
23643
23582
  },
23644
23583
  computed: {
23645
- sortClass: function sortClass() {
23646
- if (this.sort && this.sort !== '') return "active ".concat(this.sort);
23647
- return this.sort;
23584
+ hasControls: function hasControls() {
23585
+ return !!this.$slots.default;
23648
23586
  }
23649
23587
  }
23650
23588
  });
23651
- // CONCATENATED MODULE: ./src/components/sortbutton/sortbutton.vue?vue&type=script&lang=js&
23652
- /* harmony default export */ var sortbutton_sortbuttonvue_type_script_lang_js_ = (sortbuttonvue_type_script_lang_js_);
23653
- // EXTERNAL MODULE: ./src/components/sortbutton/sortbutton.vue?vue&type=style&index=0&id=389fbfca&lang=scss&scoped=true&
23654
- var sortbuttonvue_type_style_index_0_id_389fbfca_lang_scss_scoped_true_ = __webpack_require__("8979");
23589
+ // CONCATENATED MODULE: ./src/components/popover-header/popover-header.vue?vue&type=script&lang=js&
23590
+ /* harmony default export */ var popover_header_popover_headervue_type_script_lang_js_ = (popover_headervue_type_script_lang_js_);
23591
+ // EXTERNAL MODULE: ./src/components/popover-header/popover-header.vue?vue&type=style&index=0&id=37595797&lang=scss&scoped=true&
23592
+ var popover_headervue_type_style_index_0_id_37595797_lang_scss_scoped_true_ = __webpack_require__("1cf3");
23655
23593
 
23656
- // CONCATENATED MODULE: ./src/components/sortbutton/sortbutton.vue
23594
+ // CONCATENATED MODULE: ./src/components/popover-header/popover-header.vue
23657
23595
 
23658
23596
 
23659
23597
 
@@ -23662,53 +23600,47 @@ var sortbuttonvue_type_style_index_0_id_389fbfca_lang_scss_scoped_true_ = __webp
23662
23600
 
23663
23601
  /* normalize component */
23664
23602
 
23665
- var sortbutton_component = normalizeComponent(
23666
- sortbutton_sortbuttonvue_type_script_lang_js_,
23667
- sortbuttonvue_type_template_id_389fbfca_scoped_true_render,
23668
- sortbuttonvue_type_template_id_389fbfca_scoped_true_staticRenderFns,
23603
+ var popover_header_component = normalizeComponent(
23604
+ popover_header_popover_headervue_type_script_lang_js_,
23605
+ popover_headervue_type_template_id_37595797_scoped_true_render,
23606
+ popover_headervue_type_template_id_37595797_scoped_true_staticRenderFns,
23669
23607
  false,
23670
23608
  null,
23671
- "389fbfca",
23609
+ "37595797",
23672
23610
  null
23673
23611
 
23674
23612
  )
23675
23613
 
23676
- /* harmony default export */ var sortbutton = (sortbutton_component.exports);
23677
- // 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/popover-list/popover-list.vue?vue&type=script&lang=js&
23678
- //
23679
- //
23680
- //
23681
- //
23682
- //
23683
- //
23684
-
23685
-
23686
-
23614
+ /* harmony default export */ var popover_header = (popover_header_component.exports);
23615
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2aa51fb4-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/popover-list-headline/popover-list-headline.vue?vue&type=template&id=b1ba265e&scoped=true&
23616
+ var popover_list_headlinevue_type_template_id_b1ba265e_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{class:[_vm.sticky ? 'ecs-popover-list-sticky-title' : 'ecs-popover-list-title']},[_vm._t("default")],2)}
23617
+ var popover_list_headlinevue_type_template_id_b1ba265e_scoped_true_staticRenderFns = []
23687
23618
 
23688
23619
 
23620
+ // CONCATENATED MODULE: ./src/components/popover-list-headline/popover-list-headline.vue?vue&type=template&id=b1ba265e&scoped=true&
23689
23621
 
23690
- /* harmony default export */ var popover_listvue_type_script_lang_js_ = ({
23691
- components: {
23692
- EcsCheckbox: checkbox_checkbox,
23693
- EcsRadiobutton: radiobutton,
23694
- EcsSwitch: switch_switch,
23695
- EcsSortbutton: sortbutton,
23696
- EcsIcon: icon,
23697
- EcsFileIcon: file_icon
23698
- },
23622
+ // 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/popover-list-headline/popover-list-headline.vue?vue&type=script&lang=js&
23623
+ //
23624
+ //
23625
+ //
23626
+ //
23627
+ //
23628
+ //
23629
+ /* harmony default export */ var popover_list_headlinevue_type_script_lang_js_ = ({
23699
23630
  props: {
23700
- inner: {
23631
+ /** Turns the popover list headline into a sticky headline. This means it will always stay fixed at the top of a scroll container until another popover list headline reaches the top. */
23632
+ sticky: {
23701
23633
  type: Boolean,
23702
23634
  default: false
23703
23635
  }
23704
23636
  }
23705
23637
  });
23706
- // CONCATENATED MODULE: ./src/components/popover-list/popover-list.vue?vue&type=script&lang=js&
23707
- /* harmony default export */ var popover_list_popover_listvue_type_script_lang_js_ = (popover_listvue_type_script_lang_js_);
23708
- // EXTERNAL MODULE: ./src/components/popover-list/popover-list.vue?vue&type=style&index=0&id=132050d4&lang=scss&scoped=true&
23709
- var popover_listvue_type_style_index_0_id_132050d4_lang_scss_scoped_true_ = __webpack_require__("052d");
23638
+ // CONCATENATED MODULE: ./src/components/popover-list-headline/popover-list-headline.vue?vue&type=script&lang=js&
23639
+ /* harmony default export */ var popover_list_headline_popover_list_headlinevue_type_script_lang_js_ = (popover_list_headlinevue_type_script_lang_js_);
23640
+ // EXTERNAL MODULE: ./src/components/popover-list-headline/popover-list-headline.vue?vue&type=style&index=0&id=b1ba265e&lang=scss&scoped=true&
23641
+ var popover_list_headlinevue_type_style_index_0_id_b1ba265e_lang_scss_scoped_true_ = __webpack_require__("d5aa");
23710
23642
 
23711
- // CONCATENATED MODULE: ./src/components/popover-list/popover-list.vue
23643
+ // CONCATENATED MODULE: ./src/components/popover-list-headline/popover-list-headline.vue
23712
23644
 
23713
23645
 
23714
23646
 
@@ -23717,38 +23649,36 @@ var popover_listvue_type_style_index_0_id_132050d4_lang_scss_scoped_true_ = __we
23717
23649
 
23718
23650
  /* normalize component */
23719
23651
 
23720
- var popover_list_component = normalizeComponent(
23721
- popover_list_popover_listvue_type_script_lang_js_,
23722
- popover_listvue_type_template_id_132050d4_scoped_true_render,
23723
- popover_listvue_type_template_id_132050d4_scoped_true_staticRenderFns,
23652
+ var popover_list_headline_component = normalizeComponent(
23653
+ popover_list_headline_popover_list_headlinevue_type_script_lang_js_,
23654
+ popover_list_headlinevue_type_template_id_b1ba265e_scoped_true_render,
23655
+ popover_list_headlinevue_type_template_id_b1ba265e_scoped_true_staticRenderFns,
23724
23656
  false,
23725
23657
  null,
23726
- "132050d4",
23658
+ "b1ba265e",
23727
23659
  null
23728
23660
 
23729
23661
  )
23730
23662
 
23731
- /* harmony default export */ var popover_list = (popover_list_component.exports);
23732
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2aa51fb4-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/popover-list-item/popover-list-item.vue?vue&type=template&id=001cc235&scoped=true&
23733
- var popover_list_itemvue_type_template_id_001cc235_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',[(_vm.type === 'checkbox')?_c('div',{staticClass:"ecs-popover-list-item control no-hover"},[_c('ecs-checkbox',{attrs:{"disabled":_vm.disabled,"value":_vm.value,"value-false":_vm.valueFalse,"value-true":_vm.valueTrue,"indeterminate":_vm.indeterminate},on:{"input":function($event){_vm.$emit('input', $event)}}},[_vm._t("default")],2),_vm._v(" "),(_vm.suffix)?_c('span',{staticClass:"after"},[_vm._v(_vm._s(_vm.suffix))]):_vm._e()],1):(_vm.type === 'radiobutton')?_c('div',{staticClass:"ecs-popover-list-item control no-hover"},[_c('ecs-radiobutton',{attrs:{"disabled":_vm.disabled,"checked":_vm.value},on:{"change":function($event){_vm.$emit('change', $event)}}},[_vm._t("default")],2),_vm._v(" "),(_vm.suffix)?_c('span',{staticClass:"after"},[_vm._v(_vm._s(_vm.suffix))]):_vm._e()],1):(_vm.type === 'switch')?_c('div',{staticClass:"ecs-popover-list-item control no-hover"},[_c('ecs-switch',{attrs:{"value":_vm.value,"value-false":_vm.valueFalse,"value-true":_vm.valueTrue,"size":"sml-toggle","disabled":_vm.disabled},on:{"input":function($event){_vm.$emit('input', $event)}}},[_vm._t("default"),_vm._v(" "),(_vm.help)?_c('span',{staticClass:"help"},[_vm._v(_vm._s(_vm.help))]):_vm._e()],2),_vm._v(" "),(_vm.suffix)?_c('span',{staticClass:"after"},[_vm._v(_vm._s(_vm.suffix))]):_vm._e()],1):(_vm.type === 'sort')?_c('div',{staticClass:"ecs-popover-list-item control no-hover",on:{"click":function($event){_vm.$emit('click', $event)}}},[_c('ecs-sortbutton',{attrs:{"sort":_vm.sort,"disabled":_vm.disabled}},[_vm._t("default")],2),_vm._v(" "),(_vm.suffix)?_c('span',{staticClass:"after"},[_vm._v(_vm._s(_vm.suffix))]):_vm._e()],1):(_vm.type === 'link')?_c('a',{staticClass:"ecs-popover-list-item",class:[_vm.iconClass,
23734
- _vm.danger ? "danger" : '',
23735
- _vm.subtle ? "subtle" : '',
23736
- _vm.disabled ? "disabled" : '',
23737
- _vm.noHover ? "no-hover" : '',
23738
- _vm.selected ? "selected" : ''],attrs:{"href":_vm.href},on:{"click":function($event){_vm.$emit('click', $event)}}},[(_vm.icon)?_c('ecs-icon',{attrs:{"type":_vm.icon}}):_vm._e(),_vm._v(" "),(_vm.fileIcon)?_c('ecs-file-icon',{attrs:{"type":_vm.fileIcon}}):_vm._e(),_vm._v(" "),_vm._t("default"),_vm._v(" "),(_vm.suffix)?_c('span',{staticClass:"after"},[_vm._v(_vm._s(_vm.suffix))]):_vm._e(),_vm._v(" "),(_vm.help)?_c('span',{staticClass:"help"},[_vm._v(_vm._s(_vm.help))]):_vm._e(),_vm._v(" "),(_vm.hoverIcon)?_c('ecs-icon',{staticClass:"hover-icon",attrs:{"type":_vm.hoverIcon}}):_vm._e()],2):_c('button',{staticClass:"ecs-popover-list-item",class:[_vm.iconClass,
23739
- _vm.danger ? "danger" : '',
23740
- _vm.subtle ? "subtle" : '',
23741
- _vm.disabled ? "disabled" : '',
23742
- _vm.noHover ? "no-hover" : '',
23743
- _vm.selected ? "selected" : ''],on:{"click":function($event){_vm.$emit('click', $event)}}},[(_vm.icon)?_c('ecs-icon',{attrs:{"type":_vm.icon}}):_vm._e(),_vm._v(" "),(_vm.fileIcon)?_c('ecs-file-icon',{attrs:{"type":_vm.fileIcon}}):_vm._e(),_vm._v(" "),_vm._t("default"),_vm._v(" "),(_vm.suffix)?_c('span',{staticClass:"after"},[_vm._v(_vm._s(_vm.suffix))]):_vm._e(),_vm._v(" "),(_vm.help)?_c('span',{staticClass:"help"},[_vm._v(_vm._s(_vm.help))]):_vm._e(),_vm._v(" "),(_vm.hoverIcon)?_c('ecs-icon',{staticClass:"hover-icon",attrs:{"type":_vm.hoverIcon}}):_vm._e()],2)])}
23744
- var popover_list_itemvue_type_template_id_001cc235_scoped_true_staticRenderFns = []
23663
+ /* harmony default export */ var popover_list_headline = (popover_list_headline_component.exports);
23664
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2aa51fb4-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/popover-list/popover-list.vue?vue&type=template&id=132050d4&scoped=true&
23665
+ var popover_listvue_type_template_id_132050d4_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{staticClass:"ecs-popover-list",class:_vm.inner ? 'ecs-popover-list-inner' : ''},[_vm._t("default")],2)}
23666
+ var popover_listvue_type_template_id_132050d4_scoped_true_staticRenderFns = []
23745
23667
 
23746
23668
 
23747
- // CONCATENATED MODULE: ./src/components/popover-list-item/popover-list-item.vue?vue&type=template&id=001cc235&scoped=true&
23669
+ // CONCATENATED MODULE: ./src/components/popover-list/popover-list.vue?vue&type=template&id=132050d4&scoped=true&
23748
23670
 
23749
- // 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/popover-list-item/popover-list-item.vue?vue&type=script&lang=js&
23671
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2aa51fb4-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/radiobutton/radiobutton.vue?vue&type=template&id=574e95b6&scoped=true&
23672
+ var radiobuttonvue_type_template_id_574e95b6_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ecs-form-check',{class:[
23673
+ _vm.inline ? "ecs-form-check-inline" : '',
23674
+ _vm.disabled ? "disabled" : '',
23675
+ _vm.$slots.default ? '' : 'stand-alone']},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.computedLocalChecked),expression:"computedLocalChecked"}],ref:"check",staticClass:"ecs-form-check-input",attrs:{"type":"radio","autocomplete":"off","id":_vm.id,"name":_vm.name,"required":_vm.required,"disabled":_vm.disabled},domProps:{"value":_vm.value,"checked":_vm._q(_vm.computedLocalChecked,_vm.value)},on:{"change":[function($event){_vm.computedLocalChecked=_vm.value},_vm.handleChange]}}),_vm._v(" "),_c('label',{staticClass:"ecs-form-check-label",attrs:{"for":_vm.id}},[_vm._t("default"),_vm._v(" "),(_vm.$slots.default && _vm.help)?_c('ecs-text',{attrs:{"type":"form"}},[_vm._v(_vm._s(_vm.help))]):_vm._e()],2)])}
23676
+ var radiobuttonvue_type_template_id_574e95b6_scoped_true_staticRenderFns = []
23750
23677
 
23751
23678
 
23679
+ // CONCATENATED MODULE: ./src/components/radiobutton/radiobutton.vue?vue&type=template&id=574e95b6&scoped=true&
23680
+
23681
+ // 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/radiobutton/radiobutton.vue?vue&type=script&lang=js&
23752
23682
  //
23753
23683
  //
23754
23684
  //
@@ -23777,6 +23707,139 @@ var popover_list_itemvue_type_template_id_001cc235_scoped_true_staticRenderFns =
23777
23707
  //
23778
23708
  //
23779
23709
  //
23710
+
23711
+
23712
+ /* harmony default export */ var radiobuttonvue_type_script_lang_js_ = ({
23713
+ components: {
23714
+ EcsFormCheck: form_check,
23715
+ EcsText: text_text
23716
+ },
23717
+ model: {
23718
+ prop: 'checked',
23719
+ event: 'input'
23720
+ },
23721
+ props: {
23722
+ /** Name attribute of the radiobutton. */
23723
+ name: {
23724
+ type: String
23725
+ },
23726
+
23727
+ /** Value of the radiobutton. */
23728
+ value: {
23729
+ default: true
23730
+ },
23731
+
23732
+ /** Determines of the radiobutton is required. */
23733
+ required: {
23734
+ type: Boolean,
23735
+ default: false
23736
+ },
23737
+
23738
+ /** Sets the radiobutton to checked. */
23739
+ checked: {
23740
+ type: [Boolean, String, Array]
23741
+ },
23742
+
23743
+ /** Turns the radiobutton into disabled state. */
23744
+ disabled: {
23745
+ type: Boolean,
23746
+ default: false
23747
+ },
23748
+
23749
+ /** Renders the radiobutton inline. */
23750
+ inline: {
23751
+ type: Boolean,
23752
+ default: false
23753
+ },
23754
+
23755
+ /** Help text that appears underneath (or next to, for inline radiobuttons) the label. */
23756
+ help: {
23757
+ type: String
23758
+ }
23759
+ },
23760
+ data: function data() {
23761
+ return {
23762
+ id: null,
23763
+ localChecked: this.checked
23764
+ };
23765
+ },
23766
+ mounted: function mounted() {
23767
+ this.id = this._uid;
23768
+ },
23769
+ computed: {
23770
+ computedLocalChecked: {
23771
+ get: function get() {
23772
+ return this.localChecked;
23773
+ },
23774
+ set: function set(val) {
23775
+ this.localChecked = val;
23776
+ }
23777
+ }
23778
+ },
23779
+ watch: {
23780
+ computedLocalChecked: function computedLocalChecked(newVal, oldVal) {
23781
+ if (newVal == oldVal) {
23782
+ return;
23783
+ }
23784
+
23785
+ this.$emit('input', newVal);
23786
+ },
23787
+ checked: function checked(newVal, oldVal) {
23788
+ if (newVal == oldVal) {
23789
+ return;
23790
+ }
23791
+
23792
+ this.computedLocalChecked = newVal;
23793
+ }
23794
+ },
23795
+ methods: {
23796
+ handleChange: function handleChange(e) {
23797
+ this.$emit('change', e.target.checked ? this.value : null);
23798
+ }
23799
+ }
23800
+ });
23801
+ // CONCATENATED MODULE: ./src/components/radiobutton/radiobutton.vue?vue&type=script&lang=js&
23802
+ /* harmony default export */ var radiobutton_radiobuttonvue_type_script_lang_js_ = (radiobuttonvue_type_script_lang_js_);
23803
+ // EXTERNAL MODULE: ./src/components/radiobutton/radiobutton.vue?vue&type=style&index=0&id=574e95b6&lang=scss&scoped=true&
23804
+ var radiobuttonvue_type_style_index_0_id_574e95b6_lang_scss_scoped_true_ = __webpack_require__("cde0");
23805
+
23806
+ // CONCATENATED MODULE: ./src/components/radiobutton/radiobutton.vue
23807
+
23808
+
23809
+
23810
+
23811
+
23812
+
23813
+ /* normalize component */
23814
+
23815
+ var radiobutton_component = normalizeComponent(
23816
+ radiobutton_radiobuttonvue_type_script_lang_js_,
23817
+ radiobuttonvue_type_template_id_574e95b6_scoped_true_render,
23818
+ radiobuttonvue_type_template_id_574e95b6_scoped_true_staticRenderFns,
23819
+ false,
23820
+ null,
23821
+ "574e95b6",
23822
+ null
23823
+
23824
+ )
23825
+
23826
+ /* harmony default export */ var radiobutton = (radiobutton_component.exports);
23827
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2aa51fb4-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/switch/switch.vue?vue&type=template&id=23d2b533&scoped=true&
23828
+ var switchvue_type_template_id_23d2b533_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"ecs-switch-wrapper"},[_c('label',{staticClass:"ecs-switch",class:[
23829
+ _vm.sizeClass,
23830
+ _vm.hasDefaultSlot ? 'ecs-switch-has-label' : '',
23831
+ _vm.disabled ? 'disabled' : '',
23832
+ _vm.colored ? 'ecs-switch-colored' : '',
23833
+ _vm.indeterminate ? 'ecs-switch-indeterminate' : ''
23834
+ ]},[_c('input',{attrs:{"type":"checkbox","autocomplete":"off","id":_vm.id,"name":_vm.name,"required":_vm.required,"disabled":_vm.disabled},domProps:{"checked":_vm.checked},on:{"change":_vm.handleClick}}),_vm._v(" "),_vm._m(0)]),_vm._v(" "),(_vm.hasDefaultSlot)?_c('label',{attrs:{"for":_vm.id}},[_vm._t("default")],2):_vm._e()])}
23835
+ var switchvue_type_template_id_23d2b533_scoped_true_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"ecs-slide-switch"},[_c('div',{staticClass:"indeterminate"})])}]
23836
+
23837
+
23838
+ // CONCATENATED MODULE: ./src/components/switch/switch.vue?vue&type=template&id=23d2b533&scoped=true&
23839
+
23840
+ // 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/switch/switch.vue?vue&type=script&lang=js&
23841
+
23842
+
23780
23843
  //
23781
23844
  //
23782
23845
  //
@@ -23806,159 +23869,128 @@ var popover_list_itemvue_type_template_id_001cc235_scoped_true_staticRenderFns =
23806
23869
  //
23807
23870
  //
23808
23871
  //
23809
- //
23810
- //
23811
- //
23812
- //
23813
- //
23814
- //
23815
- //
23816
- //
23817
- //
23818
- //
23819
-
23820
-
23821
-
23822
-
23823
-
23824
-
23825
- /* harmony default export */ var popover_list_itemvue_type_script_lang_js_ = ({
23826
- components: {
23827
- EcsCheckbox: checkbox_checkbox,
23828
- EcsRadiobutton: radiobutton,
23829
- EcsSwitch: switch_switch,
23830
- EcsSortbutton: sortbutton,
23831
- EcsIcon: icon,
23832
- EcsFileIcon: file_icon
23833
- },
23872
+ /* harmony default export */ var switchvue_type_script_lang_js_ = ({
23834
23873
  props: {
23835
- /** Determines the type of popover list item.*/
23836
- type: {
23837
- type: String,
23838
- validator: function validator(v) {
23839
- return ['icon', 'checkbox', 'radiobutton', 'switch', 'sort', 'link', null].includes(v);
23840
- },
23841
- default: null
23874
+ /** Sets the name attribute. */
23875
+ name: {
23876
+ type: String
23842
23877
  },
23843
23878
 
23844
- /** Adds a subtle suffix text to the right side of the list item. Should be very short. */
23845
- suffix: {
23879
+ /** Determines the size of the switch. `sml-toggle` sets the toggle control size to small, but maintains a regular font size. */
23880
+ size: {
23846
23881
  type: String,
23847
- default: null
23882
+ validator: function validator(v) {
23883
+ return ['sml', 'sml-toggle', 'lg', 'md', 'null', null].includes(v);
23884
+ }
23848
23885
  },
23849
23886
 
23850
- /** Adds a subline to the list item, which acts as an additional explanation for the action. */
23851
- help: {
23852
- type: String,
23853
- default: null
23854
- },
23855
-
23856
- /** The icon (only if the type is `icon`). The list of available icon names can be found [here](https://github.com/everchron/ec-shards/tree/main/src/assets/icons). */
23857
- icon: {
23858
- type: String,
23859
- default: null
23860
- },
23861
-
23862
- /** Adds a file icon. Should never be used together with `icon`. */
23863
- fileIcon: {
23864
- type: String,
23865
- default: null
23866
- },
23867
-
23868
- /** On mouse over, an icon will appear on the right side of the list item. The list of available icon names can be found [here](https://github.com/everchron/ec-shards/tree/main/src/assets/icons). */
23869
- hoverIcon: {
23870
- type: String,
23871
- default: null
23872
- },
23873
-
23874
- /** Sets any icon color to gray. */
23875
- subtle: {
23876
- type: Boolean,
23877
- default: false
23878
- },
23879
-
23880
- /** Indicates a dangerous action. Adds a red background on mouse over and turn any icon color to red. */
23881
- danger: {
23887
+ /** Sets the switch to required. */
23888
+ required: {
23882
23889
  type: Boolean,
23883
23890
  default: false
23884
23891
  },
23885
23892
 
23886
- /** Disables the list item. */
23893
+ /** Disables the switch. */
23887
23894
  disabled: {
23888
23895
  type: Boolean,
23889
23896
  default: false
23890
23897
  },
23891
23898
 
23892
- /** Disables mouse over effects of the background. */
23893
- noHover: {
23899
+ /** Reflects a true or false state with positive (green) and negative (red) colors. */
23900
+ colored: {
23894
23901
  type: Boolean,
23895
23902
  default: false
23896
23903
  },
23897
23904
 
23898
- /** Indicates a selected item by adding a small checkmark to the right of the list item. Should not be used together with `hoverIcon`. */
23899
- selected: {
23905
+ /** Reflects an indeterminate switch state (e.g. not all options checked, but some). This is a purely visual setting. */
23906
+ indeterminate: {
23900
23907
  type: Boolean,
23901
23908
  default: false
23902
23909
  },
23903
-
23904
- /** If the list item should be a link, this sets the href of the link. */
23905
- href: {
23906
- type: String,
23907
- default: null
23908
- },
23909
-
23910
- /** Sets the value of checkbox/radiobutton, if these are being used. */
23911
23910
  value: {
23912
- default: null,
23911
+ default: false,
23913
23912
  required: false,
23914
23913
  type: [Date, Number, String, Boolean]
23915
23914
  },
23916
-
23917
- /** Sets the valueFalse of checkbox/radiobutton, if these are being used. */
23918
23915
  valueFalse: {
23919
- default: null,
23916
+ default: false,
23920
23917
  required: false,
23921
23918
  type: [Date, Number, String, Boolean]
23922
23919
  },
23923
-
23924
- /** Sets the valueTrue of checkbox/radiobutton, if these are being used. */
23925
23920
  valueTrue: {
23926
- default: null,
23921
+ default: true,
23927
23922
  required: false,
23928
23923
  type: [Date, Number, String, Boolean]
23924
+ }
23925
+ },
23926
+ data: function data() {
23927
+ return {
23928
+ id: null,
23929
+ checked: !!this.value,
23930
+ oldValue: this.value
23931
+ };
23932
+ },
23933
+ mounted: function mounted() {
23934
+ this.id = this._uid;
23935
+ },
23936
+ computed: {
23937
+ hasDefaultSlot: function hasDefaultSlot() {
23938
+ return !!this.$slots.default;
23939
+ },
23940
+ sizeClass: function sizeClass() {
23941
+ if (this.size && this.size !== '') if (this.size == 'sml-toggle') {
23942
+ return "ecs-switch-sml regular-font";
23943
+ } else {
23944
+ return "ecs-switch-".concat(this.size);
23945
+ }
23946
+ return this.size;
23947
+ },
23948
+ isBoolean: function isBoolean() {
23949
+ return typeof this.value === 'boolean';
23929
23950
  },
23951
+ valueWhenFalse: function valueWhenFalse() {
23952
+ if (this.isBoolean) {
23953
+ return false;
23954
+ }
23930
23955
 
23931
- /** Turns the checkbox into indeterminate state, if the type checkbox is being used. */
23932
- indeterminate: {
23933
- default: false,
23934
- type: Boolean
23956
+ return this.valueFalse;
23935
23957
  },
23958
+ valueWhenTrue: function valueWhenTrue() {
23959
+ if (this.isBoolean) {
23960
+ return true;
23961
+ }
23936
23962
 
23937
- /** Sets the sort status, if the type sort is being used. */
23938
- sort: {
23939
- type: String,
23940
- validator: function validator(v) {
23941
- return ['ascending', 'descending', null].includes(v);
23942
- },
23943
- default: null
23963
+ return this.valueTrue || this.oldValue;
23944
23964
  }
23945
23965
  },
23946
- computed: {
23947
- iconClass: function iconClass() {
23948
- if (this.icon && this.icon !== '' || this.fileIcon && this.fileIcon !== '') return "has-icon";else return;
23966
+ watch: {
23967
+ value: function value() {
23968
+ this.checked = !!this.value;
23969
+ },
23970
+ valueFalse: function valueFalse() {
23971
+ if (!this.checked) {
23972
+ this.$emit('input', this.valueWhenFalse);
23973
+ }
23974
+ },
23975
+ valueTrue: function valueTrue() {
23976
+ if (this.checked) {
23977
+ this.$emit('input', this.valueWhenTrue);
23978
+ }
23979
+ }
23980
+ },
23981
+ methods: {
23982
+ handleClick: function handleClick() {
23983
+ this.checked = !this.checked;
23984
+ this.$emit('input', this.checked ? this.valueWhenTrue : this.valueWhenFalse);
23949
23985
  }
23950
23986
  }
23951
23987
  });
23952
- // CONCATENATED MODULE: ./src/components/popover-list-item/popover-list-item.vue?vue&type=script&lang=js&
23953
- /* harmony default export */ var popover_list_item_popover_list_itemvue_type_script_lang_js_ = (popover_list_itemvue_type_script_lang_js_);
23954
- // EXTERNAL MODULE: ./src/components/popover-list-item/popover-list-item.vue?vue&type=style&index=0&lang=scss&
23955
- var popover_list_itemvue_type_style_index_0_lang_scss_ = __webpack_require__("0be3");
23956
-
23957
- // EXTERNAL MODULE: ./src/components/popover-list-item/popover-list-item.vue?vue&type=style&index=1&id=001cc235&lang=scss&scoped=true&
23958
- var popover_list_itemvue_type_style_index_1_id_001cc235_lang_scss_scoped_true_ = __webpack_require__("afba");
23959
-
23960
- // CONCATENATED MODULE: ./src/components/popover-list-item/popover-list-item.vue
23988
+ // CONCATENATED MODULE: ./src/components/switch/switch.vue?vue&type=script&lang=js&
23989
+ /* harmony default export */ var switch_switchvue_type_script_lang_js_ = (switchvue_type_script_lang_js_);
23990
+ // EXTERNAL MODULE: ./src/components/switch/switch.vue?vue&type=style&index=0&id=23d2b533&lang=scss&scoped=true&
23991
+ var switchvue_type_style_index_0_id_23d2b533_lang_scss_scoped_true_ = __webpack_require__("c551");
23961
23992
 
23993
+ // CONCATENATED MODULE: ./src/components/switch/switch.vue
23962
23994
 
23963
23995
 
23964
23996
 
@@ -23967,19 +23999,33 @@ var popover_list_itemvue_type_style_index_1_id_001cc235_lang_scss_scoped_true_ =
23967
23999
 
23968
24000
  /* normalize component */
23969
24001
 
23970
- var popover_list_item_component = normalizeComponent(
23971
- popover_list_item_popover_list_itemvue_type_script_lang_js_,
23972
- popover_list_itemvue_type_template_id_001cc235_scoped_true_render,
23973
- popover_list_itemvue_type_template_id_001cc235_scoped_true_staticRenderFns,
24002
+ var switch_component = normalizeComponent(
24003
+ switch_switchvue_type_script_lang_js_,
24004
+ switchvue_type_template_id_23d2b533_scoped_true_render,
24005
+ switchvue_type_template_id_23d2b533_scoped_true_staticRenderFns,
23974
24006
  false,
23975
24007
  null,
23976
- "001cc235",
24008
+ "23d2b533",
23977
24009
  null
23978
24010
 
23979
24011
  )
23980
24012
 
23981
- /* harmony default export */ var popover_list_item = (popover_list_item_component.exports);
23982
- // 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/pagination/pagination.vue?vue&type=script&lang=js&
24013
+ /* harmony default export */ var switch_switch = (switch_component.exports);
24014
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2aa51fb4-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/sortbutton/sortbutton.vue?vue&type=template&id=389fbfca&scoped=true&
24015
+ var sortbuttonvue_type_template_id_389fbfca_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ecs-form-check',{staticClass:"ecs-sort",class:[
24016
+ _vm.sortClass,
24017
+ _vm.inline ? "ecs-form-check-inline" : '',
24018
+ _vm.disabled ? "disabled" : '']},[_c('span',{staticClass:"ecs-sort-box"}),_vm._v(" "),_c('label',{staticClass:"ecs-form-check-label",on:{"click":function($event){_vm.$emit('click', $event)}}},[_vm._t("default")],2)])}
24019
+ var sortbuttonvue_type_template_id_389fbfca_scoped_true_staticRenderFns = []
24020
+
24021
+
24022
+ // CONCATENATED MODULE: ./src/components/sortbutton/sortbutton.vue?vue&type=template&id=389fbfca&scoped=true&
24023
+
24024
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.sort.js
24025
+ var es_array_sort = __webpack_require__("4e82");
24026
+
24027
+ // 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/sortbutton/sortbutton.vue?vue&type=script&lang=js&
24028
+
23983
24029
 
23984
24030
  //
23985
24031
  //
@@ -23994,98 +24040,46 @@ var popover_list_item_component = normalizeComponent(
23994
24040
  //
23995
24041
  //
23996
24042
  //
23997
- //
23998
- //
23999
- //
24000
- //
24001
- //
24002
- //
24003
- //
24004
- //
24005
- //
24006
- //
24007
- //
24008
- //
24009
- //
24010
- //
24011
- //
24012
- //
24013
- //
24014
- //
24015
- //
24016
- //
24017
- //
24018
- //
24019
- //
24020
- //
24021
- //
24022
- //
24023
- //
24024
- //
24025
- //
24026
- //
24027
- //
24028
- //
24029
- //
24030
- //
24031
- //
24032
- //
24033
- //
24034
- //
24035
-
24036
24043
 
24037
-
24038
-
24039
- /* harmony default export */ var paginationvue_type_script_lang_js_ = ({
24044
+ /* harmony default export */ var sortbuttonvue_type_script_lang_js_ = ({
24040
24045
  components: {
24041
- EcsButtonToolbarGroup: button_toolbar_group,
24042
- EcsButtonToolbar: button_toolbar,
24043
- EcsPopoverList: popover_list,
24044
- EcsPopoverListItem: popover_list_item
24046
+ EcsFormCheck: form_check
24045
24047
  },
24046
24048
  props: {
24047
- /** Adds some padding around the pagination bar and makes it appear as if it's "floating" at the bottom of the index. Should never be used for table contents. */
24048
- floating: {
24049
- type: Boolean,
24050
- default: false
24051
- },
24052
-
24053
- /** Briefly disables all controls while ongoing navigation. */
24054
- loading: {
24049
+ /** Disables the sort button. */
24050
+ disabled: {
24055
24051
  type: Boolean,
24056
24052
  default: false
24057
24053
  },
24058
24054
 
24059
- /** The current page. */
24060
- currentPage: {
24061
- type: Number
24055
+ /** Determines the current state of the button. */
24056
+ sort: {
24057
+ type: String,
24058
+ validator: function validator(v) {
24059
+ return ['ascending', 'descending', null].includes(v);
24060
+ },
24061
+ default: null
24062
24062
  },
24063
24063
 
24064
- /** The total pages of the index. */
24065
- totalPages: {
24066
- type: Number
24064
+ /** Renders the sort button as an inline element. */
24065
+ inline: {
24066
+ type: Boolean,
24067
+ default: false
24067
24068
  }
24068
24069
  },
24069
- data: function data() {
24070
- return {
24071
- dropdownShown: false
24072
- };
24073
- },
24074
- methods: {
24075
- toggleDropdown: function toggleDropdown() {
24076
- if (this.totalPages) this.dropdownShown = !this.dropdownShown;
24077
- },
24078
- hideDropdown: function hideDropdown() {
24079
- this.dropdownShown = false;
24070
+ computed: {
24071
+ sortClass: function sortClass() {
24072
+ if (this.sort && this.sort !== '') return "active ".concat(this.sort);
24073
+ return this.sort;
24080
24074
  }
24081
24075
  }
24082
24076
  });
24083
- // CONCATENATED MODULE: ./src/components/pagination/pagination.vue?vue&type=script&lang=js&
24084
- /* harmony default export */ var pagination_paginationvue_type_script_lang_js_ = (paginationvue_type_script_lang_js_);
24085
- // EXTERNAL MODULE: ./src/components/pagination/pagination.vue?vue&type=style&index=0&id=731cbd53&lang=scss&scoped=true&
24086
- var paginationvue_type_style_index_0_id_731cbd53_lang_scss_scoped_true_ = __webpack_require__("9105");
24077
+ // CONCATENATED MODULE: ./src/components/sortbutton/sortbutton.vue?vue&type=script&lang=js&
24078
+ /* harmony default export */ var sortbutton_sortbuttonvue_type_script_lang_js_ = (sortbuttonvue_type_script_lang_js_);
24079
+ // EXTERNAL MODULE: ./src/components/sortbutton/sortbutton.vue?vue&type=style&index=0&id=389fbfca&lang=scss&scoped=true&
24080
+ var sortbuttonvue_type_style_index_0_id_389fbfca_lang_scss_scoped_true_ = __webpack_require__("8979");
24087
24081
 
24088
- // CONCATENATED MODULE: ./src/components/pagination/pagination.vue
24082
+ // CONCATENATED MODULE: ./src/components/sortbutton/sortbutton.vue
24089
24083
 
24090
24084
 
24091
24085
 
@@ -24094,32 +24088,19 @@ var paginationvue_type_style_index_0_id_731cbd53_lang_scss_scoped_true_ = __webp
24094
24088
 
24095
24089
  /* normalize component */
24096
24090
 
24097
- var pagination_component = normalizeComponent(
24098
- pagination_paginationvue_type_script_lang_js_,
24099
- paginationvue_type_template_id_731cbd53_scoped_true_render,
24100
- paginationvue_type_template_id_731cbd53_scoped_true_staticRenderFns,
24091
+ var sortbutton_component = normalizeComponent(
24092
+ sortbutton_sortbuttonvue_type_script_lang_js_,
24093
+ sortbuttonvue_type_template_id_389fbfca_scoped_true_render,
24094
+ sortbuttonvue_type_template_id_389fbfca_scoped_true_staticRenderFns,
24101
24095
  false,
24102
24096
  null,
24103
- "731cbd53",
24097
+ "389fbfca",
24104
24098
  null
24105
24099
 
24106
24100
  )
24107
24101
 
24108
- /* harmony default export */ var pagination = (pagination_component.exports);
24109
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2aa51fb4-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/party-entry/party-entry.vue?vue&type=template&id=de92edca&scoped=true&
24110
- var party_entryvue_type_template_id_de92edca_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"ecs-party-entry",class:[ _vm.party, _vm.shared ? 'shared' : '', (_vm.color && _vm.background) ? 'ecs-party-entry-colored' : ''],style:({ color: _vm.color })},[(_vm.icon && _vm.iconPosition == 'left')?_c('ecs-icon',{style:('margin-right:'+_vm.iconSpacing),attrs:{"type":_vm.iconType,"color":_vm.iconColor,"size":_vm.iconSize}}):_vm._e(),_vm._v(" "),_c('span',[_vm._t("default")],2),_vm._v(" "),(_vm.icon && _vm.iconPosition == 'right')?_c('ecs-icon',{style:('margin-left:'+_vm.iconSpacing),attrs:{"type":_vm.iconType,"color":_vm.iconColor,"size":_vm.iconSize}}):_vm._e(),_vm._v(" "),(_vm.background)?_c('div',{staticClass:"ecs-party-entry-background"}):_vm._e()],1)}
24111
- var party_entryvue_type_template_id_de92edca_scoped_true_staticRenderFns = []
24112
-
24113
-
24114
- // CONCATENATED MODULE: ./src/components/party-entry/party-entry.vue?vue&type=template&id=de92edca&scoped=true&
24115
-
24116
- // 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/party-entry/party-entry.vue?vue&type=script&lang=js&
24117
-
24118
- //
24119
- //
24120
- //
24121
- //
24122
- //
24102
+ /* harmony default export */ var sortbutton = (sortbutton_component.exports);
24103
+ // 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/popover-list/popover-list.vue?vue&type=script&lang=js&
24123
24104
  //
24124
24105
  //
24125
24106
  //
@@ -24127,116 +24108,33 @@ var party_entryvue_type_template_id_de92edca_scoped_true_staticRenderFns = []
24127
24108
  //
24128
24109
  //
24129
24110
 
24130
- /* harmony default export */ var party_entryvue_type_script_lang_js_ = ({
24131
- components: {
24132
- EcsIcon: icon
24133
- },
24134
- props: {
24135
- /** Adds an icon to the party entry. The list of available icon names can be found [here](https://github.com/everchron/ec-shards/tree/main/src/assets/icons). */
24136
- icon: {
24137
- type: String
24138
- },
24139
24111
 
24140
- /** If the party entry tag should be using the default party side colors, set this party prop. Do not use in combination with the `color` prop. */
24141
- party: {
24142
- type: String,
24143
- validator: function validator(v) {
24144
- return ['client', 'opposing', 'joint', 'other', 'court', 'unaffiliated'].includes(v);
24145
- }
24146
- },
24147
24112
 
24148
- /** Renders a subtle colored background. */
24149
- background: {
24150
- type: Boolean,
24151
- default: false
24152
- },
24153
24113
 
24154
- /** Adds a shared badge indicator. */
24155
- shared: {
24156
- type: Boolean,
24157
- default: false
24158
- },
24159
-
24160
- /** Determines the spacing between icon and text. */
24161
- iconSpacing: {
24162
- type: String,
24163
- default: '5px'
24164
- },
24165
-
24166
- /** Determines the position of the icon. */
24167
- iconPosition: {
24168
- type: String,
24169
- default: 'left'
24170
- },
24171
24114
 
24172
- /** Determines the size of the icon. */
24173
- iconSize: {
24174
- type: String,
24175
- default: '30px'
24176
- },
24177
24115
 
24178
- /** Sets a custom color. Should be a HEX, RGB or HSL value. No alpha channels. */
24179
- color: {
24180
- type: String
24181
- }
24116
+ /* harmony default export */ var popover_listvue_type_script_lang_js_ = ({
24117
+ components: {
24118
+ EcsCheckbox: checkbox_checkbox,
24119
+ EcsRadiobutton: radiobutton,
24120
+ EcsSwitch: switch_switch,
24121
+ EcsSortbutton: sortbutton,
24122
+ EcsIcon: icon,
24123
+ EcsFileIcon: file_icon
24182
24124
  },
24183
- computed: {
24184
- iconType: function iconType() {
24185
- switch (this.icon) {
24186
- case 'sequence':
24187
- return 'colored-sequence';
24188
-
24189
- case 'folder':
24190
- return 'colored-folder';
24191
-
24192
- case 'document':
24193
- return 'colored-document';
24194
-
24195
- case 'pacer':
24196
- return 'colored-pacer';
24197
-
24198
- default:
24199
- return this.icon;
24200
- }
24201
- },
24202
- iconColor: function iconColor() {
24203
- if (this.color) {
24204
- return this.color;
24205
- } else if (this.party) {
24206
- switch (this.party) {
24207
- case 'client':
24208
- return '#227FD3';
24209
-
24210
- case 'opposing':
24211
- return '#5DAF00';
24212
-
24213
- case 'joint':
24214
- return '#A4927A';
24215
-
24216
- case 'other':
24217
- return '#95989C';
24218
-
24219
- case 'court':
24220
- return '#D78B21';
24221
-
24222
- case 'unaffiliated':
24223
- return '#C1C2C4';
24224
-
24225
- default:
24226
- return '#C1C2C4';
24227
- }
24228
- } else {
24229
- return '#000';
24230
- }
24125
+ props: {
24126
+ inner: {
24127
+ type: Boolean,
24128
+ default: false
24231
24129
  }
24232
24130
  }
24233
24131
  });
24234
- // CONCATENATED MODULE: ./src/components/party-entry/party-entry.vue?vue&type=script&lang=js&
24235
- /* harmony default export */ var party_entry_party_entryvue_type_script_lang_js_ = (party_entryvue_type_script_lang_js_);
24236
- // EXTERNAL MODULE: ./src/components/party-entry/party-entry.vue?vue&type=style&index=0&id=de92edca&lang=scss&scoped=true&
24237
- var party_entryvue_type_style_index_0_id_de92edca_lang_scss_scoped_true_ = __webpack_require__("5ddd");
24132
+ // CONCATENATED MODULE: ./src/components/popover-list/popover-list.vue?vue&type=script&lang=js&
24133
+ /* harmony default export */ var popover_list_popover_listvue_type_script_lang_js_ = (popover_listvue_type_script_lang_js_);
24134
+ // EXTERNAL MODULE: ./src/components/popover-list/popover-list.vue?vue&type=style&index=0&id=132050d4&lang=scss&scoped=true&
24135
+ var popover_listvue_type_style_index_0_id_132050d4_lang_scss_scoped_true_ = __webpack_require__("052d");
24238
24136
 
24239
- // CONCATENATED MODULE: ./src/components/party-entry/party-entry.vue
24137
+ // CONCATENATED MODULE: ./src/components/popover-list/popover-list.vue
24240
24138
 
24241
24139
 
24242
24140
 
@@ -24245,26 +24143,93 @@ var party_entryvue_type_style_index_0_id_de92edca_lang_scss_scoped_true_ = __web
24245
24143
 
24246
24144
  /* normalize component */
24247
24145
 
24248
- var party_entry_component = normalizeComponent(
24249
- party_entry_party_entryvue_type_script_lang_js_,
24250
- party_entryvue_type_template_id_de92edca_scoped_true_render,
24251
- party_entryvue_type_template_id_de92edca_scoped_true_staticRenderFns,
24146
+ var popover_list_component = normalizeComponent(
24147
+ popover_list_popover_listvue_type_script_lang_js_,
24148
+ popover_listvue_type_template_id_132050d4_scoped_true_render,
24149
+ popover_listvue_type_template_id_132050d4_scoped_true_staticRenderFns,
24252
24150
  false,
24253
24151
  null,
24254
- "de92edca",
24152
+ "132050d4",
24255
24153
  null
24256
24154
 
24257
24155
  )
24258
24156
 
24259
- /* harmony default export */ var party_entry = (party_entry_component.exports);
24260
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2aa51fb4-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/popover-header/popover-header.vue?vue&type=template&id=37595797&scoped=true&
24261
- var popover_headervue_type_template_id_37595797_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('header',{staticClass:"ecs-popover-header"},[_c('div',{staticClass:"ecs-popover-header-title"},[(_vm.icon)?_c('ecs-icon',{staticClass:"icon",attrs:{"type":_vm.icon,"size":"36","color":"#B4B9BE"}}):_vm._e(),_vm._v(" "),_c('h2',{staticClass:"ecs-headline-2"},[_vm._v(_vm._s(_vm.title))])],1),_vm._v(" "),(_vm.hasControls)?_c('div',{staticClass:"ecs-popover-header-actions"},[_vm._t("default")],2):_vm._e()])}
24262
- var popover_headervue_type_template_id_37595797_scoped_true_staticRenderFns = []
24157
+ /* harmony default export */ var popover_list = (popover_list_component.exports);
24158
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2aa51fb4-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/popover-list-item/popover-list-item.vue?vue&type=template&id=001cc235&scoped=true&
24159
+ var popover_list_itemvue_type_template_id_001cc235_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',[(_vm.type === 'checkbox')?_c('div',{staticClass:"ecs-popover-list-item control no-hover"},[_c('ecs-checkbox',{attrs:{"disabled":_vm.disabled,"value":_vm.value,"value-false":_vm.valueFalse,"value-true":_vm.valueTrue,"indeterminate":_vm.indeterminate},on:{"input":function($event){_vm.$emit('input', $event)}}},[_vm._t("default")],2),_vm._v(" "),(_vm.suffix)?_c('span',{staticClass:"after"},[_vm._v(_vm._s(_vm.suffix))]):_vm._e()],1):(_vm.type === 'radiobutton')?_c('div',{staticClass:"ecs-popover-list-item control no-hover"},[_c('ecs-radiobutton',{attrs:{"disabled":_vm.disabled,"checked":_vm.value},on:{"change":function($event){_vm.$emit('change', $event)}}},[_vm._t("default")],2),_vm._v(" "),(_vm.suffix)?_c('span',{staticClass:"after"},[_vm._v(_vm._s(_vm.suffix))]):_vm._e()],1):(_vm.type === 'switch')?_c('div',{staticClass:"ecs-popover-list-item control no-hover"},[_c('ecs-switch',{attrs:{"value":_vm.value,"value-false":_vm.valueFalse,"value-true":_vm.valueTrue,"size":"sml-toggle","disabled":_vm.disabled},on:{"input":function($event){_vm.$emit('input', $event)}}},[_vm._t("default"),_vm._v(" "),(_vm.help)?_c('span',{staticClass:"help"},[_vm._v(_vm._s(_vm.help))]):_vm._e()],2),_vm._v(" "),(_vm.suffix)?_c('span',{staticClass:"after"},[_vm._v(_vm._s(_vm.suffix))]):_vm._e()],1):(_vm.type === 'sort')?_c('div',{staticClass:"ecs-popover-list-item control no-hover",on:{"click":function($event){_vm.$emit('click', $event)}}},[_c('ecs-sortbutton',{attrs:{"sort":_vm.sort,"disabled":_vm.disabled}},[_vm._t("default")],2),_vm._v(" "),(_vm.suffix)?_c('span',{staticClass:"after"},[_vm._v(_vm._s(_vm.suffix))]):_vm._e()],1):(_vm.type === 'link')?_c('a',{staticClass:"ecs-popover-list-item",class:[_vm.iconClass,
24160
+ _vm.danger ? "danger" : '',
24161
+ _vm.subtle ? "subtle" : '',
24162
+ _vm.disabled ? "disabled" : '',
24163
+ _vm.noHover ? "no-hover" : '',
24164
+ _vm.selected ? "selected" : ''],attrs:{"href":_vm.href},on:{"click":function($event){_vm.$emit('click', $event)}}},[(_vm.icon)?_c('ecs-icon',{attrs:{"type":_vm.icon}}):_vm._e(),_vm._v(" "),(_vm.fileIcon)?_c('ecs-file-icon',{attrs:{"type":_vm.fileIcon}}):_vm._e(),_vm._v(" "),_vm._t("default"),_vm._v(" "),(_vm.suffix)?_c('span',{staticClass:"after"},[_vm._v(_vm._s(_vm.suffix))]):_vm._e(),_vm._v(" "),(_vm.help)?_c('span',{staticClass:"help"},[_vm._v(_vm._s(_vm.help))]):_vm._e(),_vm._v(" "),(_vm.hoverIcon)?_c('ecs-icon',{staticClass:"hover-icon",attrs:{"type":_vm.hoverIcon}}):_vm._e()],2):_c('button',{staticClass:"ecs-popover-list-item",class:[_vm.iconClass,
24165
+ _vm.danger ? "danger" : '',
24166
+ _vm.subtle ? "subtle" : '',
24167
+ _vm.disabled ? "disabled" : '',
24168
+ _vm.noHover ? "no-hover" : '',
24169
+ _vm.selected ? "selected" : ''],on:{"click":function($event){_vm.$emit('click', $event)}}},[(_vm.icon)?_c('ecs-icon',{attrs:{"type":_vm.icon}}):_vm._e(),_vm._v(" "),(_vm.fileIcon)?_c('ecs-file-icon',{attrs:{"type":_vm.fileIcon}}):_vm._e(),_vm._v(" "),_vm._t("default"),_vm._v(" "),(_vm.suffix)?_c('span',{staticClass:"after"},[_vm._v(_vm._s(_vm.suffix))]):_vm._e(),_vm._v(" "),(_vm.help)?_c('span',{staticClass:"help"},[_vm._v(_vm._s(_vm.help))]):_vm._e(),_vm._v(" "),(_vm.hoverIcon)?_c('ecs-icon',{staticClass:"hover-icon",attrs:{"type":_vm.hoverIcon}}):_vm._e()],2)])}
24170
+ var popover_list_itemvue_type_template_id_001cc235_scoped_true_staticRenderFns = []
24263
24171
 
24264
24172
 
24265
- // CONCATENATED MODULE: ./src/components/popover-header/popover-header.vue?vue&type=template&id=37595797&scoped=true&
24173
+ // CONCATENATED MODULE: ./src/components/popover-list-item/popover-list-item.vue?vue&type=template&id=001cc235&scoped=true&
24266
24174
 
24267
- // 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/popover-header/popover-header.vue?vue&type=script&lang=js&
24175
+ // 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/popover-list-item/popover-list-item.vue?vue&type=script&lang=js&
24176
+
24177
+
24178
+ //
24179
+ //
24180
+ //
24181
+ //
24182
+ //
24183
+ //
24184
+ //
24185
+ //
24186
+ //
24187
+ //
24188
+ //
24189
+ //
24190
+ //
24191
+ //
24192
+ //
24193
+ //
24194
+ //
24195
+ //
24196
+ //
24197
+ //
24198
+ //
24199
+ //
24200
+ //
24201
+ //
24202
+ //
24203
+ //
24204
+ //
24205
+ //
24206
+ //
24207
+ //
24208
+ //
24209
+ //
24210
+ //
24211
+ //
24212
+ //
24213
+ //
24214
+ //
24215
+ //
24216
+ //
24217
+ //
24218
+ //
24219
+ //
24220
+ //
24221
+ //
24222
+ //
24223
+ //
24224
+ //
24225
+ //
24226
+ //
24227
+ //
24228
+ //
24229
+ //
24230
+ //
24231
+ //
24232
+ //
24268
24233
  //
24269
24234
  //
24270
24235
  //
@@ -24278,84 +24243,148 @@ var popover_headervue_type_template_id_37595797_scoped_true_staticRenderFns = []
24278
24243
  //
24279
24244
  //
24280
24245
 
24281
- /* harmony default export */ var popover_headervue_type_script_lang_js_ = ({
24246
+
24247
+
24248
+
24249
+
24250
+
24251
+ /* harmony default export */ var popover_list_itemvue_type_script_lang_js_ = ({
24282
24252
  components: {
24283
- EcsIcon: icon
24253
+ EcsCheckbox: checkbox_checkbox,
24254
+ EcsRadiobutton: radiobutton,
24255
+ EcsSwitch: switch_switch,
24256
+ EcsSortbutton: sortbutton,
24257
+ EcsIcon: icon,
24258
+ EcsFileIcon: file_icon
24284
24259
  },
24285
24260
  props: {
24286
- /** Adds an icon to the popover header. The list of available icon names can be found [here](https://github.com/everchron/ec-shards/tree/main/src/assets/icons). */
24261
+ /** Determines the type of popover list item.*/
24262
+ type: {
24263
+ type: String,
24264
+ validator: function validator(v) {
24265
+ return ['icon', 'checkbox', 'radiobutton', 'switch', 'sort', 'link', null].includes(v);
24266
+ },
24267
+ default: null
24268
+ },
24269
+
24270
+ /** Adds a subtle suffix text to the right side of the list item. Should be very short. */
24271
+ suffix: {
24272
+ type: String,
24273
+ default: null
24274
+ },
24275
+
24276
+ /** Adds a subline to the list item, which acts as an additional explanation for the action. */
24277
+ help: {
24278
+ type: String,
24279
+ default: null
24280
+ },
24281
+
24282
+ /** The icon (only if the type is `icon`). The list of available icon names can be found [here](https://github.com/everchron/ec-shards/tree/main/src/assets/icons). */
24287
24283
  icon: {
24288
24284
  type: String,
24289
24285
  default: null
24290
24286
  },
24291
24287
 
24292
- /** Sets the title of the popover header. */
24293
- title: {
24288
+ /** Adds a file icon. Should never be used together with `icon`. */
24289
+ fileIcon: {
24294
24290
  type: String,
24295
- required: true
24296
- }
24297
- },
24298
- computed: {
24299
- hasControls: function hasControls() {
24300
- return !!this.$slots.default;
24301
- }
24302
- }
24303
- });
24304
- // CONCATENATED MODULE: ./src/components/popover-header/popover-header.vue?vue&type=script&lang=js&
24305
- /* harmony default export */ var popover_header_popover_headervue_type_script_lang_js_ = (popover_headervue_type_script_lang_js_);
24306
- // EXTERNAL MODULE: ./src/components/popover-header/popover-header.vue?vue&type=style&index=0&id=37595797&lang=scss&scoped=true&
24307
- var popover_headervue_type_style_index_0_id_37595797_lang_scss_scoped_true_ = __webpack_require__("1cf3");
24291
+ default: null
24292
+ },
24308
24293
 
24309
- // CONCATENATED MODULE: ./src/components/popover-header/popover-header.vue
24294
+ /** On mouse over, an icon will appear on the right side of the list item. The list of available icon names can be found [here](https://github.com/everchron/ec-shards/tree/main/src/assets/icons). */
24295
+ hoverIcon: {
24296
+ type: String,
24297
+ default: null
24298
+ },
24310
24299
 
24300
+ /** Sets any icon color to gray. */
24301
+ subtle: {
24302
+ type: Boolean,
24303
+ default: false
24304
+ },
24311
24305
 
24306
+ /** Indicates a dangerous action. Adds a red background on mouse over and turn any icon color to red. */
24307
+ danger: {
24308
+ type: Boolean,
24309
+ default: false
24310
+ },
24312
24311
 
24312
+ /** Disables the list item. */
24313
+ disabled: {
24314
+ type: Boolean,
24315
+ default: false
24316
+ },
24313
24317
 
24318
+ /** Disables mouse over effects of the background. */
24319
+ noHover: {
24320
+ type: Boolean,
24321
+ default: false
24322
+ },
24314
24323
 
24324
+ /** Indicates a selected item by adding a small checkmark to the right of the list item. Should not be used together with `hoverIcon`. */
24325
+ selected: {
24326
+ type: Boolean,
24327
+ default: false
24328
+ },
24315
24329
 
24316
- /* normalize component */
24330
+ /** If the list item should be a link, this sets the href of the link. */
24331
+ href: {
24332
+ type: String,
24333
+ default: null
24334
+ },
24317
24335
 
24318
- var popover_header_component = normalizeComponent(
24319
- popover_header_popover_headervue_type_script_lang_js_,
24320
- popover_headervue_type_template_id_37595797_scoped_true_render,
24321
- popover_headervue_type_template_id_37595797_scoped_true_staticRenderFns,
24322
- false,
24323
- null,
24324
- "37595797",
24325
- null
24326
-
24327
- )
24336
+ /** Sets the value of checkbox/radiobutton, if these are being used. */
24337
+ value: {
24338
+ default: null,
24339
+ required: false,
24340
+ type: [Date, Number, String, Boolean]
24341
+ },
24328
24342
 
24329
- /* harmony default export */ var popover_header = (popover_header_component.exports);
24330
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2aa51fb4-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/popover-list-headline/popover-list-headline.vue?vue&type=template&id=b1ba265e&scoped=true&
24331
- var popover_list_headlinevue_type_template_id_b1ba265e_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{class:[_vm.sticky ? 'ecs-popover-list-sticky-title' : 'ecs-popover-list-title']},[_vm._t("default")],2)}
24332
- var popover_list_headlinevue_type_template_id_b1ba265e_scoped_true_staticRenderFns = []
24343
+ /** Sets the valueFalse of checkbox/radiobutton, if these are being used. */
24344
+ valueFalse: {
24345
+ default: null,
24346
+ required: false,
24347
+ type: [Date, Number, String, Boolean]
24348
+ },
24333
24349
 
24350
+ /** Sets the valueTrue of checkbox/radiobutton, if these are being used. */
24351
+ valueTrue: {
24352
+ default: null,
24353
+ required: false,
24354
+ type: [Date, Number, String, Boolean]
24355
+ },
24334
24356
 
24335
- // CONCATENATED MODULE: ./src/components/popover-list-headline/popover-list-headline.vue?vue&type=template&id=b1ba265e&scoped=true&
24357
+ /** Turns the checkbox into indeterminate state, if the type checkbox is being used. */
24358
+ indeterminate: {
24359
+ default: false,
24360
+ type: Boolean
24361
+ },
24336
24362
 
24337
- // 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/popover-list-headline/popover-list-headline.vue?vue&type=script&lang=js&
24338
- //
24339
- //
24340
- //
24341
- //
24342
- //
24343
- //
24344
- /* harmony default export */ var popover_list_headlinevue_type_script_lang_js_ = ({
24345
- props: {
24346
- /** Turns the popover list headline into a sticky headline. This means it will always stay fixed at the top of a scroll container until another popover list headline reaches the top. */
24347
- sticky: {
24348
- type: Boolean,
24349
- default: false
24363
+ /** Sets the sort status, if the type sort is being used. */
24364
+ sort: {
24365
+ type: String,
24366
+ validator: function validator(v) {
24367
+ return ['ascending', 'descending', null].includes(v);
24368
+ },
24369
+ default: null
24370
+ }
24371
+ },
24372
+ computed: {
24373
+ iconClass: function iconClass() {
24374
+ if (this.icon && this.icon !== '' || this.fileIcon && this.fileIcon !== '') return "has-icon";else return;
24350
24375
  }
24351
24376
  }
24352
24377
  });
24353
- // CONCATENATED MODULE: ./src/components/popover-list-headline/popover-list-headline.vue?vue&type=script&lang=js&
24354
- /* harmony default export */ var popover_list_headline_popover_list_headlinevue_type_script_lang_js_ = (popover_list_headlinevue_type_script_lang_js_);
24355
- // EXTERNAL MODULE: ./src/components/popover-list-headline/popover-list-headline.vue?vue&type=style&index=0&id=b1ba265e&lang=scss&scoped=true&
24356
- var popover_list_headlinevue_type_style_index_0_id_b1ba265e_lang_scss_scoped_true_ = __webpack_require__("d5aa");
24378
+ // CONCATENATED MODULE: ./src/components/popover-list-item/popover-list-item.vue?vue&type=script&lang=js&
24379
+ /* harmony default export */ var popover_list_item_popover_list_itemvue_type_script_lang_js_ = (popover_list_itemvue_type_script_lang_js_);
24380
+ // EXTERNAL MODULE: ./src/components/popover-list-item/popover-list-item.vue?vue&type=style&index=0&lang=scss&
24381
+ var popover_list_itemvue_type_style_index_0_lang_scss_ = __webpack_require__("0be3");
24382
+
24383
+ // EXTERNAL MODULE: ./src/components/popover-list-item/popover-list-item.vue?vue&type=style&index=1&id=001cc235&lang=scss&scoped=true&
24384
+ var popover_list_itemvue_type_style_index_1_id_001cc235_lang_scss_scoped_true_ = __webpack_require__("afba");
24385
+
24386
+ // CONCATENATED MODULE: ./src/components/popover-list-item/popover-list-item.vue
24357
24387
 
24358
- // CONCATENATED MODULE: ./src/components/popover-list-headline/popover-list-headline.vue
24359
24388
 
24360
24389
 
24361
24390
 
@@ -24364,18 +24393,18 @@ var popover_list_headlinevue_type_style_index_0_id_b1ba265e_lang_scss_scoped_tru
24364
24393
 
24365
24394
  /* normalize component */
24366
24395
 
24367
- var popover_list_headline_component = normalizeComponent(
24368
- popover_list_headline_popover_list_headlinevue_type_script_lang_js_,
24369
- popover_list_headlinevue_type_template_id_b1ba265e_scoped_true_render,
24370
- popover_list_headlinevue_type_template_id_b1ba265e_scoped_true_staticRenderFns,
24396
+ var popover_list_item_component = normalizeComponent(
24397
+ popover_list_item_popover_list_itemvue_type_script_lang_js_,
24398
+ popover_list_itemvue_type_template_id_001cc235_scoped_true_render,
24399
+ popover_list_itemvue_type_template_id_001cc235_scoped_true_staticRenderFns,
24371
24400
  false,
24372
24401
  null,
24373
- "b1ba265e",
24402
+ "001cc235",
24374
24403
  null
24375
24404
 
24376
24405
  )
24377
24406
 
24378
- /* harmony default export */ var popover_list_headline = (popover_list_headline_component.exports);
24407
+ /* harmony default export */ var popover_list_item = (popover_list_item_component.exports);
24379
24408
  // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2aa51fb4-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/quicklink/quicklink.vue?vue&type=template&id=674cd19e&scoped=true&
24380
24409
  var quicklinkvue_type_template_id_674cd19e_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{staticClass:"ecs-quicklinks-link",class:[
24381
24410
  _vm.typeClass,