@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.
@@ -5693,6 +5693,17 @@ module.exports = {
5693
5693
 
5694
5694
  // extracted by mini-css-extract-plugin
5695
5695
 
5696
+ /***/ }),
5697
+
5698
+ /***/ "5b96":
5699
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
5700
+
5701
+ "use strict";
5702
+ /* 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");
5703
+ /* 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__);
5704
+ /* unused harmony reexport * */
5705
+
5706
+
5696
5707
  /***/ }),
5697
5708
 
5698
5709
  /***/ "5bd8":
@@ -6026,6 +6037,17 @@ var result = _node_modules_svg_sprite_loader_runtime_browser_sprite_build_js__WE
6026
6037
 
6027
6038
  // extracted by mini-css-extract-plugin
6028
6039
 
6040
+ /***/ }),
6041
+
6042
+ /***/ "641e":
6043
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6044
+
6045
+ "use strict";
6046
+ /* 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");
6047
+ /* 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__);
6048
+ /* unused harmony reexport * */
6049
+
6050
+
6029
6051
  /***/ }),
6030
6052
 
6031
6053
  /***/ "642e":
@@ -7854,6 +7876,13 @@ var result = _node_modules_svg_sprite_loader_runtime_browser_sprite_build_js__WE
7854
7876
  /* unused harmony reexport * */
7855
7877
 
7856
7878
 
7879
+ /***/ }),
7880
+
7881
+ /***/ "87f0":
7882
+ /***/ (function(module, exports, __webpack_require__) {
7883
+
7884
+ // extracted by mini-css-extract-plugin
7885
+
7857
7886
  /***/ }),
7858
7887
 
7859
7888
  /***/ "8817":
@@ -8239,17 +8268,6 @@ module.exports = function (key) {
8239
8268
  };
8240
8269
 
8241
8270
 
8242
- /***/ }),
8243
-
8244
- /***/ "9105":
8245
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
8246
-
8247
- "use strict";
8248
- /* 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");
8249
- /* 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__);
8250
- /* unused harmony reexport * */
8251
-
8252
-
8253
8271
  /***/ }),
8254
8272
 
8255
8273
  /***/ "9112":
@@ -8746,13 +8764,6 @@ var result = _node_modules_svg_sprite_loader_runtime_browser_sprite_build_js__WE
8746
8764
 
8747
8765
  /***/ }),
8748
8766
 
8749
- /***/ "99c2":
8750
- /***/ (function(module, exports, __webpack_require__) {
8751
-
8752
- // extracted by mini-css-extract-plugin
8753
-
8754
- /***/ }),
8755
-
8756
8767
  /***/ "99c5":
8757
8768
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8758
8769
 
@@ -9041,17 +9052,6 @@ exports.BROKEN_CARET = fails(function () {
9041
9052
  /* unused harmony reexport * */
9042
9053
 
9043
9054
 
9044
- /***/ }),
9045
-
9046
- /***/ "a03c":
9047
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
9048
-
9049
- "use strict";
9050
- /* 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");
9051
- /* 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__);
9052
- /* unused harmony reexport * */
9053
-
9054
-
9055
9055
  /***/ }),
9056
9056
 
9057
9057
  /***/ "a04b":
@@ -11336,6 +11336,13 @@ try {
11336
11336
  module.exports = g;
11337
11337
 
11338
11338
 
11339
+ /***/ }),
11340
+
11341
+ /***/ "c982":
11342
+ /***/ (function(module, exports, __webpack_require__) {
11343
+
11344
+ // extracted by mini-css-extract-plugin
11345
+
11339
11346
  /***/ }),
11340
11347
 
11341
11348
  /***/ "ca1b":
@@ -13365,13 +13372,6 @@ var result = _node_modules_svg_sprite_loader_runtime_browser_sprite_build_js__WE
13365
13372
  /* unused harmony reexport * */
13366
13373
 
13367
13374
 
13368
- /***/ }),
13369
-
13370
- /***/ "ebd8":
13371
- /***/ (function(module, exports, __webpack_require__) {
13372
-
13373
- // extracted by mini-css-extract-plugin
13374
-
13375
13375
  /***/ }),
13376
13376
 
13377
13377
  /***/ "ec9e":
@@ -16495,23 +16495,22 @@ var citation_line_component = normalizeComponent(
16495
16495
  )
16496
16496
 
16497
16497
  /* harmony default export */ var citation_line = (citation_line_component.exports);
16498
- // 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&
16499
- 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:[
16498
+ // 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&
16499
+ 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:[
16500
16500
  option.type === 'divider' ? 'ecs-context-menu-divider' : 'ecs-context-menu-item',
16501
16501
  option.type === 'danger' ? 'danger' : '',
16502
16502
  option.disabled ? 'disabled' : ''
16503
16503
  ],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)}))])}
16504
- var context_menuvue_type_template_id_6ad2de18_scoped_true_staticRenderFns = []
16504
+ var context_menuvue_type_template_id_1425d145_scoped_true_staticRenderFns = []
16505
16505
 
16506
16506
 
16507
- // CONCATENATED MODULE: ./src/components/context-menu/context-menu.vue?vue&type=template&id=6ad2de18&scoped=true&
16507
+ // CONCATENATED MODULE: ./src/components/context-menu/context-menu.vue?vue&type=template&id=1425d145&scoped=true&
16508
16508
 
16509
16509
  // EXTERNAL MODULE: ./node_modules/v-click-outside/dist/v-click-outside.min.umd.js
16510
16510
  var v_click_outside_min_umd = __webpack_require__("2103");
16511
16511
  var v_click_outside_min_umd_default = /*#__PURE__*/__webpack_require__.n(v_click_outside_min_umd);
16512
16512
 
16513
16513
  // 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&
16514
-
16515
16514
  //
16516
16515
  //
16517
16516
  //
@@ -16563,18 +16562,6 @@ external_commonjs_vue_commonjs2_vue_root_Vue_default.a.use(v_click_outside_min_u
16563
16562
  /** 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). */
16564
16563
  icon: {
16565
16564
  type: String
16566
- },
16567
-
16568
- /** 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. */
16569
- offsetTop: {
16570
- type: Number,
16571
- default: 0
16572
- },
16573
-
16574
- /** 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. */
16575
- offsetLeft: {
16576
- type: Number,
16577
- default: 0
16578
16565
  }
16579
16566
  },
16580
16567
  data: function data() {
@@ -16613,15 +16600,15 @@ external_commonjs_vue_commonjs2_vue_root_Vue_default.a.use(v_click_outside_min_u
16613
16600
  }
16614
16601
 
16615
16602
  if (this.menuWidth + event.pageX >= window.innerWidth) {
16616
- this.left = event.pageX - this.menuWidth + 2 - this.offsetLeft;
16603
+ this.left = event.pageX - this.menuWidth + 2;
16617
16604
  } else {
16618
- this.left = event.pageX - 2 - this.offsetLeft;
16605
+ this.left = event.pageX - 2;
16619
16606
  }
16620
16607
 
16621
16608
  if (this.menuHeight + event.pageY >= window.innerHeight) {
16622
- this.top = event.pageY - this.menuHeight + 2 - this.offsetTop;
16609
+ this.top = event.pageY - this.menuHeight + 2;
16623
16610
  } else {
16624
- this.top = event.pageY - 2 - this.offsetTop;
16611
+ this.top = event.pageY - 2;
16625
16612
  }
16626
16613
 
16627
16614
  this.opened = true;
@@ -16663,8 +16650,8 @@ external_commonjs_vue_commonjs2_vue_root_Vue_default.a.use(v_click_outside_min_u
16663
16650
  });
16664
16651
  // CONCATENATED MODULE: ./src/components/context-menu/context-menu.vue?vue&type=script&lang=js&
16665
16652
  /* harmony default export */ var context_menu_context_menuvue_type_script_lang_js_ = (context_menuvue_type_script_lang_js_);
16666
- // EXTERNAL MODULE: ./src/components/context-menu/context-menu.vue?vue&type=style&index=0&id=6ad2de18&lang=scss&scoped=true&
16667
- var context_menuvue_type_style_index_0_id_6ad2de18_lang_scss_scoped_true_ = __webpack_require__("a03c");
16653
+ // EXTERNAL MODULE: ./src/components/context-menu/context-menu.vue?vue&type=style&index=0&id=1425d145&lang=scss&scoped=true&
16654
+ var context_menuvue_type_style_index_0_id_1425d145_lang_scss_scoped_true_ = __webpack_require__("641e");
16668
16655
 
16669
16656
  // CONCATENATED MODULE: ./src/components/context-menu/context-menu.vue
16670
16657
 
@@ -16677,11 +16664,11 @@ var context_menuvue_type_style_index_0_id_6ad2de18_lang_scss_scoped_true_ = __we
16677
16664
 
16678
16665
  var context_menu_component = normalizeComponent(
16679
16666
  context_menu_context_menuvue_type_script_lang_js_,
16680
- context_menuvue_type_template_id_6ad2de18_scoped_true_render,
16681
- context_menuvue_type_template_id_6ad2de18_scoped_true_staticRenderFns,
16667
+ context_menuvue_type_template_id_1425d145_scoped_true_render,
16668
+ context_menuvue_type_template_id_1425d145_scoped_true_staticRenderFns,
16682
16669
  false,
16683
16670
  null,
16684
- "6ad2de18",
16671
+ "1425d145",
16685
16672
  null
16686
16673
 
16687
16674
  )
@@ -23219,31 +23206,38 @@ var overlay_component = normalizeComponent(
23219
23206
  )
23220
23207
 
23221
23208
  /* harmony default export */ var overlay = (overlay_component.exports);
23222
- // 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&
23223
- 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)])}
23224
- var paginationvue_type_template_id_731cbd53_scoped_true_staticRenderFns = []
23225
-
23226
-
23227
- // CONCATENATED MODULE: ./src/components/pagination/pagination.vue?vue&type=template&id=731cbd53&scoped=true&
23228
-
23229
- // 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&
23230
- 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)}
23231
- var popover_listvue_type_template_id_132050d4_scoped_true_staticRenderFns = []
23209
+ // 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&
23210
+ 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)}
23211
+ var paginationvue_type_template_id_66860949_scoped_true_staticRenderFns = []
23232
23212
 
23233
23213
 
23234
- // CONCATENATED MODULE: ./src/components/popover-list/popover-list.vue?vue&type=template&id=132050d4&scoped=true&
23235
-
23236
- // 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&
23237
- 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:[
23238
- _vm.inline ? "ecs-form-check-inline" : '',
23239
- _vm.disabled ? "disabled" : '',
23240
- _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)])}
23241
- var radiobuttonvue_type_template_id_574e95b6_scoped_true_staticRenderFns = []
23214
+ // CONCATENATED MODULE: ./src/components/pagination/pagination.vue?vue&type=template&id=66860949&scoped=true&
23242
23215
 
23216
+ // 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&
23243
23217
 
23244
- // CONCATENATED MODULE: ./src/components/radiobutton/radiobutton.vue?vue&type=template&id=574e95b6&scoped=true&
23245
23218
 
23246
- // 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&
23219
+ //
23220
+ //
23221
+ //
23222
+ //
23223
+ //
23224
+ //
23225
+ //
23226
+ //
23227
+ //
23228
+ //
23229
+ //
23230
+ //
23231
+ //
23232
+ //
23233
+ //
23234
+ //
23235
+ //
23236
+ //
23237
+ //
23238
+ //
23239
+ //
23240
+ //
23247
23241
  //
23248
23242
  //
23249
23243
  //
@@ -23274,101 +23268,100 @@ var radiobuttonvue_type_template_id_574e95b6_scoped_true_staticRenderFns = []
23274
23268
  //
23275
23269
 
23276
23270
 
23277
- /* harmony default export */ var radiobuttonvue_type_script_lang_js_ = ({
23271
+
23272
+
23273
+ /* harmony default export */ var paginationvue_type_script_lang_js_ = ({
23278
23274
  components: {
23279
- EcsFormCheck: form_check,
23280
- EcsText: text_text
23281
- },
23282
- model: {
23283
- prop: 'checked',
23284
- event: 'input'
23275
+ EcsButton: button_button,
23276
+ EcsSelect: select_select,
23277
+ EcsFlexRow: flex_row,
23278
+ EcsIcon: icon
23285
23279
  },
23286
23280
  props: {
23287
- /** Name attribute of the radiobutton. */
23288
- name: {
23289
- type: String
23281
+ /** 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. */
23282
+ floating: {
23283
+ type: Boolean,
23284
+ default: false
23290
23285
  },
23291
23286
 
23292
- /** Value of the radiobutton. */
23293
- value: {
23294
- default: true
23287
+ /** Determines which elements are visible in the pagination component. */
23288
+ type: {
23289
+ type: String,
23290
+ validator: function validator(v) {
23291
+ return ['paginated', 'infinite'].includes(v);
23292
+ },
23293
+ default: 'paginated'
23295
23294
  },
23296
23295
 
23297
- /** Determines of the radiobutton is required. */
23298
- required: {
23296
+ /** Briefly disables all controls while ongoing navigation. */
23297
+ loading: {
23299
23298
  type: Boolean,
23300
23299
  default: false
23301
23300
  },
23302
23301
 
23303
- /** Sets the radiobutton to checked. */
23304
- checked: {
23305
- type: [Boolean, String, Array]
23302
+ /** The current page. */
23303
+ currentPage: {
23304
+ type: Number
23306
23305
  },
23307
23306
 
23308
- /** Turns the radiobutton into disabled state. */
23309
- disabled: {
23310
- type: Boolean,
23311
- default: false
23307
+ /** The total pages of the index. */
23308
+ totalPages: {
23309
+ type: Number
23312
23310
  },
23313
23311
 
23314
- /** Renders the radiobutton inline. */
23315
- inline: {
23312
+ /** 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. */
23313
+ tabsSpacing: {
23314
+ type: Number,
23315
+ default: 400
23316
+ },
23317
+
23318
+ /** Determines if the selector for items per page should be shown. */
23319
+ showItemsPerPage: {
23316
23320
  type: Boolean,
23317
- default: false
23321
+ default: true
23318
23322
  },
23319
23323
 
23320
- /** Help text that appears underneath (or next to, for inline radiobuttons) the label. */
23321
- help: {
23322
- type: String
23323
- }
23324
- },
23325
- data: function data() {
23326
- return {
23327
- id: null,
23328
- localChecked: this.checked
23329
- };
23330
- },
23331
- mounted: function mounted() {
23332
- this.id = this._uid;
23333
- },
23334
- computed: {
23335
- computedLocalChecked: {
23336
- get: function get() {
23337
- return this.localChecked;
23338
- },
23339
- set: function set(val) {
23340
- this.localChecked = val;
23341
- }
23342
- }
23343
- },
23344
- watch: {
23345
- computedLocalChecked: function computedLocalChecked(newVal, oldVal) {
23346
- if (newVal == oldVal) {
23347
- return;
23324
+ /** The options to be show as selectable in the items per page dropdown. Requires an array with Numbers. Default: `[25, 50, 100]` */
23325
+ itemsPerPage: {
23326
+ type: Array,
23327
+ default: function _default() {
23328
+ return [25, 50, 100];
23348
23329
  }
23330
+ },
23349
23331
 
23350
- this.$emit('input', newVal);
23332
+ /** The selected option in the items per page dropdown. */
23333
+ itemsPerPageSelected: {
23334
+ type: Number,
23335
+ default: 100
23351
23336
  },
23352
- checked: function checked(newVal, oldVal) {
23353
- if (newVal == oldVal) {
23354
- return;
23355
- }
23356
23337
 
23357
- this.computedLocalChecked = newVal;
23338
+ /** Number of the visible item range (starting). */
23339
+ itemRangeFrom: {
23340
+ type: [Number, String]
23341
+ },
23342
+
23343
+ /** Number of the visible item range (ending). */
23344
+ itemRangeTo: {
23345
+ type: [Number, String]
23346
+ },
23347
+
23348
+ /** Number of the total items in the index. */
23349
+ itemRangeTotal: {
23350
+ type: [Number, String]
23358
23351
  }
23359
23352
  },
23360
- methods: {
23361
- handleChange: function handleChange(e) {
23362
- this.$emit('change', e.target.checked ? this.value : null);
23353
+ computed: {
23354
+ hasRange: function hasRange() {
23355
+ if (this.itemRangeFrom && this.itemRangeTo && this.itemRangeTotal && this.itemRangeFrom !== '' && this.itemRangeTo !== '' && this.itemRangeTotal !== '') return true;
23363
23356
  }
23364
23357
  }
23365
23358
  });
23366
- // CONCATENATED MODULE: ./src/components/radiobutton/radiobutton.vue?vue&type=script&lang=js&
23367
- /* harmony default export */ var radiobutton_radiobuttonvue_type_script_lang_js_ = (radiobuttonvue_type_script_lang_js_);
23368
- // EXTERNAL MODULE: ./src/components/radiobutton/radiobutton.vue?vue&type=style&index=0&id=574e95b6&lang=scss&scoped=true&
23369
- var radiobuttonvue_type_style_index_0_id_574e95b6_lang_scss_scoped_true_ = __webpack_require__("cde0");
23359
+ // CONCATENATED MODULE: ./src/components/pagination/pagination.vue?vue&type=script&lang=js&
23360
+ /* harmony default export */ var pagination_paginationvue_type_script_lang_js_ = (paginationvue_type_script_lang_js_);
23361
+ // EXTERNAL MODULE: ./src/components/pagination/pagination.vue?vue&type=style&index=0&id=66860949&lang=scss&scoped=true&
23362
+ var paginationvue_type_style_index_0_id_66860949_lang_scss_scoped_true_ = __webpack_require__("5b96");
23370
23363
 
23371
- // CONCATENATED MODULE: ./src/components/radiobutton/radiobutton.vue
23364
+ // CONCATENATED MODULE: ./src/components/pagination/pagination.vue
23372
23365
 
23373
23366
 
23374
23367
 
@@ -23377,33 +23370,26 @@ var radiobuttonvue_type_style_index_0_id_574e95b6_lang_scss_scoped_true_ = __web
23377
23370
 
23378
23371
  /* normalize component */
23379
23372
 
23380
- var radiobutton_component = normalizeComponent(
23381
- radiobutton_radiobuttonvue_type_script_lang_js_,
23382
- radiobuttonvue_type_template_id_574e95b6_scoped_true_render,
23383
- radiobuttonvue_type_template_id_574e95b6_scoped_true_staticRenderFns,
23373
+ var pagination_component = normalizeComponent(
23374
+ pagination_paginationvue_type_script_lang_js_,
23375
+ paginationvue_type_template_id_66860949_scoped_true_render,
23376
+ paginationvue_type_template_id_66860949_scoped_true_staticRenderFns,
23384
23377
  false,
23385
23378
  null,
23386
- "574e95b6",
23379
+ "66860949",
23387
23380
  null
23388
23381
 
23389
23382
  )
23390
23383
 
23391
- /* harmony default export */ var radiobutton = (radiobutton_component.exports);
23392
- // 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&
23393
- 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:[
23394
- _vm.sizeClass,
23395
- _vm.hasDefaultSlot ? 'ecs-switch-has-label' : '',
23396
- _vm.disabled ? 'disabled' : '',
23397
- _vm.colored ? 'ecs-switch-colored' : '',
23398
- _vm.indeterminate ? 'ecs-switch-indeterminate' : ''
23399
- ]},[_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()])}
23400
- 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"})])}]
23401
-
23384
+ /* harmony default export */ var pagination = (pagination_component.exports);
23385
+ // 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&
23386
+ 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)}
23387
+ var party_entryvue_type_template_id_de92edca_scoped_true_staticRenderFns = []
23402
23388
 
23403
- // CONCATENATED MODULE: ./src/components/switch/switch.vue?vue&type=template&id=23d2b533&scoped=true&
23404
23389
 
23405
- // 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&
23390
+ // CONCATENATED MODULE: ./src/components/party-entry/party-entry.vue?vue&type=template&id=de92edca&scoped=true&
23406
23391
 
23392
+ // 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&
23407
23393
 
23408
23394
  //
23409
23395
  //
@@ -23416,146 +23402,117 @@ var switchvue_type_template_id_23d2b533_scoped_true_staticRenderFns = [function
23416
23402
  //
23417
23403
  //
23418
23404
  //
23419
- //
23420
- //
23421
- //
23422
- //
23423
- //
23424
- //
23425
- //
23426
- //
23427
- //
23428
- //
23429
- //
23430
- //
23431
- //
23432
- //
23433
- //
23434
- //
23435
- //
23436
- //
23437
- /* harmony default export */ var switchvue_type_script_lang_js_ = ({
23405
+
23406
+ /* harmony default export */ var party_entryvue_type_script_lang_js_ = ({
23407
+ components: {
23408
+ EcsIcon: icon
23409
+ },
23438
23410
  props: {
23439
- /** Sets the name attribute. */
23440
- name: {
23411
+ /** 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). */
23412
+ icon: {
23441
23413
  type: String
23442
23414
  },
23443
23415
 
23444
- /** Determines the size of the switch. `sml-toggle` sets the toggle control size to small, but maintains a regular font size. */
23445
- size: {
23416
+ /** 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. */
23417
+ party: {
23446
23418
  type: String,
23447
23419
  validator: function validator(v) {
23448
- return ['sml', 'sml-toggle', 'lg', 'md', 'null', null].includes(v);
23420
+ return ['client', 'opposing', 'joint', 'other', 'court', 'unaffiliated'].includes(v);
23449
23421
  }
23450
23422
  },
23451
23423
 
23452
- /** Sets the switch to required. */
23453
- required: {
23424
+ /** Renders a subtle colored background. */
23425
+ background: {
23454
23426
  type: Boolean,
23455
23427
  default: false
23456
23428
  },
23457
23429
 
23458
- /** Disables the switch. */
23459
- disabled: {
23430
+ /** Adds a shared badge indicator. */
23431
+ shared: {
23460
23432
  type: Boolean,
23461
23433
  default: false
23462
23434
  },
23463
23435
 
23464
- /** Reflects a true or false state with positive (green) and negative (red) colors. */
23465
- colored: {
23466
- type: Boolean,
23467
- default: false
23436
+ /** Determines the spacing between icon and text. */
23437
+ iconSpacing: {
23438
+ type: String,
23439
+ default: '5px'
23468
23440
  },
23469
23441
 
23470
- /** Reflects an indeterminate switch state (e.g. not all options checked, but some). This is a purely visual setting. */
23471
- indeterminate: {
23472
- type: Boolean,
23473
- default: false
23474
- },
23475
- value: {
23476
- default: false,
23477
- required: false,
23478
- type: [Date, Number, String, Boolean]
23442
+ /** Determines the position of the icon. */
23443
+ iconPosition: {
23444
+ type: String,
23445
+ default: 'left'
23479
23446
  },
23480
- valueFalse: {
23481
- default: false,
23482
- required: false,
23483
- type: [Date, Number, String, Boolean]
23447
+
23448
+ /** Determines the size of the icon. */
23449
+ iconSize: {
23450
+ type: String,
23451
+ default: '30px'
23484
23452
  },
23485
- valueTrue: {
23486
- default: true,
23487
- required: false,
23488
- type: [Date, Number, String, Boolean]
23453
+
23454
+ /** Sets a custom color. Should be a HEX, RGB or HSL value. No alpha channels. */
23455
+ color: {
23456
+ type: String
23489
23457
  }
23490
23458
  },
23491
- data: function data() {
23492
- return {
23493
- id: null,
23494
- checked: !!this.value,
23495
- oldValue: this.value
23496
- };
23497
- },
23498
- mounted: function mounted() {
23499
- this.id = this._uid;
23500
- },
23501
23459
  computed: {
23502
- hasDefaultSlot: function hasDefaultSlot() {
23503
- return !!this.$slots.default;
23504
- },
23505
- sizeClass: function sizeClass() {
23506
- if (this.size && this.size !== '') if (this.size == 'sml-toggle') {
23507
- return "ecs-switch-sml regular-font";
23508
- } else {
23509
- return "ecs-switch-".concat(this.size);
23510
- }
23511
- return this.size;
23512
- },
23513
- isBoolean: function isBoolean() {
23514
- return typeof this.value === 'boolean';
23515
- },
23516
- valueWhenFalse: function valueWhenFalse() {
23517
- if (this.isBoolean) {
23518
- return false;
23519
- }
23460
+ iconType: function iconType() {
23461
+ switch (this.icon) {
23462
+ case 'sequence':
23463
+ return 'colored-sequence';
23520
23464
 
23521
- return this.valueFalse;
23522
- },
23523
- valueWhenTrue: function valueWhenTrue() {
23524
- if (this.isBoolean) {
23525
- return true;
23526
- }
23465
+ case 'folder':
23466
+ return 'colored-folder';
23527
23467
 
23528
- return this.valueTrue || this.oldValue;
23529
- }
23530
- },
23531
- watch: {
23532
- value: function value() {
23533
- this.checked = !!this.value;
23534
- },
23535
- valueFalse: function valueFalse() {
23536
- if (!this.checked) {
23537
- this.$emit('input', this.valueWhenFalse);
23468
+ case 'document':
23469
+ return 'colored-document';
23470
+
23471
+ case 'pacer':
23472
+ return 'colored-pacer';
23473
+
23474
+ default:
23475
+ return this.icon;
23538
23476
  }
23539
23477
  },
23540
- valueTrue: function valueTrue() {
23541
- if (this.checked) {
23542
- this.$emit('input', this.valueWhenTrue);
23478
+ iconColor: function iconColor() {
23479
+ if (this.color) {
23480
+ return this.color;
23481
+ } else if (this.party) {
23482
+ switch (this.party) {
23483
+ case 'client':
23484
+ return '#227FD3';
23485
+
23486
+ case 'opposing':
23487
+ return '#5DAF00';
23488
+
23489
+ case 'joint':
23490
+ return '#A4927A';
23491
+
23492
+ case 'other':
23493
+ return '#95989C';
23494
+
23495
+ case 'court':
23496
+ return '#D78B21';
23497
+
23498
+ case 'unaffiliated':
23499
+ return '#C1C2C4';
23500
+
23501
+ default:
23502
+ return '#C1C2C4';
23503
+ }
23504
+ } else {
23505
+ return '#000';
23543
23506
  }
23544
23507
  }
23545
- },
23546
- methods: {
23547
- handleClick: function handleClick() {
23548
- this.checked = !this.checked;
23549
- this.$emit('input', this.checked ? this.valueWhenTrue : this.valueWhenFalse);
23550
- }
23551
23508
  }
23552
23509
  });
23553
- // CONCATENATED MODULE: ./src/components/switch/switch.vue?vue&type=script&lang=js&
23554
- /* harmony default export */ var switch_switchvue_type_script_lang_js_ = (switchvue_type_script_lang_js_);
23555
- // EXTERNAL MODULE: ./src/components/switch/switch.vue?vue&type=style&index=0&id=23d2b533&lang=scss&scoped=true&
23556
- var switchvue_type_style_index_0_id_23d2b533_lang_scss_scoped_true_ = __webpack_require__("c551");
23510
+ // CONCATENATED MODULE: ./src/components/party-entry/party-entry.vue?vue&type=script&lang=js&
23511
+ /* harmony default export */ var party_entry_party_entryvue_type_script_lang_js_ = (party_entryvue_type_script_lang_js_);
23512
+ // EXTERNAL MODULE: ./src/components/party-entry/party-entry.vue?vue&type=style&index=0&id=de92edca&lang=scss&scoped=true&
23513
+ var party_entryvue_type_style_index_0_id_de92edca_lang_scss_scoped_true_ = __webpack_require__("5ddd");
23557
23514
 
23558
- // CONCATENATED MODULE: ./src/components/switch/switch.vue
23515
+ // CONCATENATED MODULE: ./src/components/party-entry/party-entry.vue
23559
23516
 
23560
23517
 
23561
23518
 
@@ -23564,35 +23521,26 @@ var switchvue_type_style_index_0_id_23d2b533_lang_scss_scoped_true_ = __webpack_
23564
23521
 
23565
23522
  /* normalize component */
23566
23523
 
23567
- var switch_component = normalizeComponent(
23568
- switch_switchvue_type_script_lang_js_,
23569
- switchvue_type_template_id_23d2b533_scoped_true_render,
23570
- switchvue_type_template_id_23d2b533_scoped_true_staticRenderFns,
23524
+ var party_entry_component = normalizeComponent(
23525
+ party_entry_party_entryvue_type_script_lang_js_,
23526
+ party_entryvue_type_template_id_de92edca_scoped_true_render,
23527
+ party_entryvue_type_template_id_de92edca_scoped_true_staticRenderFns,
23571
23528
  false,
23572
23529
  null,
23573
- "23d2b533",
23530
+ "de92edca",
23574
23531
  null
23575
23532
 
23576
23533
  )
23577
23534
 
23578
- /* harmony default export */ var switch_switch = (switch_component.exports);
23579
- // 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&
23580
- 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:[
23581
- _vm.sortClass,
23582
- _vm.inline ? "ecs-form-check-inline" : '',
23583
- _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)])}
23584
- var sortbuttonvue_type_template_id_389fbfca_scoped_true_staticRenderFns = []
23585
-
23586
-
23587
- // CONCATENATED MODULE: ./src/components/sortbutton/sortbutton.vue?vue&type=template&id=389fbfca&scoped=true&
23588
-
23589
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.sort.js
23590
- var es_array_sort = __webpack_require__("4e82");
23535
+ /* harmony default export */ var party_entry = (party_entry_component.exports);
23536
+ // 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&
23537
+ 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()])}
23538
+ var popover_headervue_type_template_id_37595797_scoped_true_staticRenderFns = []
23591
23539
 
23592
- // 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&
23593
23540
 
23541
+ // CONCATENATED MODULE: ./src/components/popover-header/popover-header.vue?vue&type=template&id=37595797&scoped=true&
23594
23542
 
23595
- //
23543
+ // 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&
23596
23544
  //
23597
23545
  //
23598
23546
  //
@@ -23606,45 +23554,35 @@ var es_array_sort = __webpack_require__("4e82");
23606
23554
  //
23607
23555
  //
23608
23556
 
23609
- /* harmony default export */ var sortbuttonvue_type_script_lang_js_ = ({
23557
+ /* harmony default export */ var popover_headervue_type_script_lang_js_ = ({
23610
23558
  components: {
23611
- EcsFormCheck: form_check
23559
+ EcsIcon: icon
23612
23560
  },
23613
23561
  props: {
23614
- /** Disables the sort button. */
23615
- disabled: {
23616
- type: Boolean,
23617
- default: false
23618
- },
23619
-
23620
- /** Determines the current state of the button. */
23621
- sort: {
23562
+ /** 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). */
23563
+ icon: {
23622
23564
  type: String,
23623
- validator: function validator(v) {
23624
- return ['ascending', 'descending', null].includes(v);
23625
- },
23626
23565
  default: null
23627
23566
  },
23628
23567
 
23629
- /** Renders the sort button as an inline element. */
23630
- inline: {
23631
- type: Boolean,
23632
- default: false
23568
+ /** Sets the title of the popover header. */
23569
+ title: {
23570
+ type: String,
23571
+ required: true
23633
23572
  }
23634
23573
  },
23635
23574
  computed: {
23636
- sortClass: function sortClass() {
23637
- if (this.sort && this.sort !== '') return "active ".concat(this.sort);
23638
- return this.sort;
23575
+ hasControls: function hasControls() {
23576
+ return !!this.$slots.default;
23639
23577
  }
23640
23578
  }
23641
23579
  });
23642
- // CONCATENATED MODULE: ./src/components/sortbutton/sortbutton.vue?vue&type=script&lang=js&
23643
- /* harmony default export */ var sortbutton_sortbuttonvue_type_script_lang_js_ = (sortbuttonvue_type_script_lang_js_);
23644
- // EXTERNAL MODULE: ./src/components/sortbutton/sortbutton.vue?vue&type=style&index=0&id=389fbfca&lang=scss&scoped=true&
23645
- var sortbuttonvue_type_style_index_0_id_389fbfca_lang_scss_scoped_true_ = __webpack_require__("8979");
23580
+ // CONCATENATED MODULE: ./src/components/popover-header/popover-header.vue?vue&type=script&lang=js&
23581
+ /* harmony default export */ var popover_header_popover_headervue_type_script_lang_js_ = (popover_headervue_type_script_lang_js_);
23582
+ // EXTERNAL MODULE: ./src/components/popover-header/popover-header.vue?vue&type=style&index=0&id=37595797&lang=scss&scoped=true&
23583
+ var popover_headervue_type_style_index_0_id_37595797_lang_scss_scoped_true_ = __webpack_require__("1cf3");
23646
23584
 
23647
- // CONCATENATED MODULE: ./src/components/sortbutton/sortbutton.vue
23585
+ // CONCATENATED MODULE: ./src/components/popover-header/popover-header.vue
23648
23586
 
23649
23587
 
23650
23588
 
@@ -23653,53 +23591,47 @@ var sortbuttonvue_type_style_index_0_id_389fbfca_lang_scss_scoped_true_ = __webp
23653
23591
 
23654
23592
  /* normalize component */
23655
23593
 
23656
- var sortbutton_component = normalizeComponent(
23657
- sortbutton_sortbuttonvue_type_script_lang_js_,
23658
- sortbuttonvue_type_template_id_389fbfca_scoped_true_render,
23659
- sortbuttonvue_type_template_id_389fbfca_scoped_true_staticRenderFns,
23594
+ var popover_header_component = normalizeComponent(
23595
+ popover_header_popover_headervue_type_script_lang_js_,
23596
+ popover_headervue_type_template_id_37595797_scoped_true_render,
23597
+ popover_headervue_type_template_id_37595797_scoped_true_staticRenderFns,
23660
23598
  false,
23661
23599
  null,
23662
- "389fbfca",
23600
+ "37595797",
23663
23601
  null
23664
23602
 
23665
23603
  )
23666
23604
 
23667
- /* harmony default export */ var sortbutton = (sortbutton_component.exports);
23668
- // 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&
23669
- //
23670
- //
23671
- //
23672
- //
23673
- //
23674
- //
23675
-
23676
-
23677
-
23605
+ /* harmony default export */ var popover_header = (popover_header_component.exports);
23606
+ // 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&
23607
+ 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)}
23608
+ var popover_list_headlinevue_type_template_id_b1ba265e_scoped_true_staticRenderFns = []
23678
23609
 
23679
23610
 
23611
+ // CONCATENATED MODULE: ./src/components/popover-list-headline/popover-list-headline.vue?vue&type=template&id=b1ba265e&scoped=true&
23680
23612
 
23681
- /* harmony default export */ var popover_listvue_type_script_lang_js_ = ({
23682
- components: {
23683
- EcsCheckbox: checkbox_checkbox,
23684
- EcsRadiobutton: radiobutton,
23685
- EcsSwitch: switch_switch,
23686
- EcsSortbutton: sortbutton,
23687
- EcsIcon: icon,
23688
- EcsFileIcon: file_icon
23689
- },
23613
+ // 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&
23614
+ //
23615
+ //
23616
+ //
23617
+ //
23618
+ //
23619
+ //
23620
+ /* harmony default export */ var popover_list_headlinevue_type_script_lang_js_ = ({
23690
23621
  props: {
23691
- inner: {
23622
+ /** 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. */
23623
+ sticky: {
23692
23624
  type: Boolean,
23693
23625
  default: false
23694
23626
  }
23695
23627
  }
23696
23628
  });
23697
- // CONCATENATED MODULE: ./src/components/popover-list/popover-list.vue?vue&type=script&lang=js&
23698
- /* harmony default export */ var popover_list_popover_listvue_type_script_lang_js_ = (popover_listvue_type_script_lang_js_);
23699
- // EXTERNAL MODULE: ./src/components/popover-list/popover-list.vue?vue&type=style&index=0&id=132050d4&lang=scss&scoped=true&
23700
- var popover_listvue_type_style_index_0_id_132050d4_lang_scss_scoped_true_ = __webpack_require__("052d");
23629
+ // CONCATENATED MODULE: ./src/components/popover-list-headline/popover-list-headline.vue?vue&type=script&lang=js&
23630
+ /* harmony default export */ var popover_list_headline_popover_list_headlinevue_type_script_lang_js_ = (popover_list_headlinevue_type_script_lang_js_);
23631
+ // EXTERNAL MODULE: ./src/components/popover-list-headline/popover-list-headline.vue?vue&type=style&index=0&id=b1ba265e&lang=scss&scoped=true&
23632
+ var popover_list_headlinevue_type_style_index_0_id_b1ba265e_lang_scss_scoped_true_ = __webpack_require__("d5aa");
23701
23633
 
23702
- // CONCATENATED MODULE: ./src/components/popover-list/popover-list.vue
23634
+ // CONCATENATED MODULE: ./src/components/popover-list-headline/popover-list-headline.vue
23703
23635
 
23704
23636
 
23705
23637
 
@@ -23708,38 +23640,36 @@ var popover_listvue_type_style_index_0_id_132050d4_lang_scss_scoped_true_ = __we
23708
23640
 
23709
23641
  /* normalize component */
23710
23642
 
23711
- var popover_list_component = normalizeComponent(
23712
- popover_list_popover_listvue_type_script_lang_js_,
23713
- popover_listvue_type_template_id_132050d4_scoped_true_render,
23714
- popover_listvue_type_template_id_132050d4_scoped_true_staticRenderFns,
23643
+ var popover_list_headline_component = normalizeComponent(
23644
+ popover_list_headline_popover_list_headlinevue_type_script_lang_js_,
23645
+ popover_list_headlinevue_type_template_id_b1ba265e_scoped_true_render,
23646
+ popover_list_headlinevue_type_template_id_b1ba265e_scoped_true_staticRenderFns,
23715
23647
  false,
23716
23648
  null,
23717
- "132050d4",
23649
+ "b1ba265e",
23718
23650
  null
23719
23651
 
23720
23652
  )
23721
23653
 
23722
- /* harmony default export */ var popover_list = (popover_list_component.exports);
23723
- // 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&
23724
- 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,
23725
- _vm.danger ? "danger" : '',
23726
- _vm.subtle ? "subtle" : '',
23727
- _vm.disabled ? "disabled" : '',
23728
- _vm.noHover ? "no-hover" : '',
23729
- _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,
23730
- _vm.danger ? "danger" : '',
23731
- _vm.subtle ? "subtle" : '',
23732
- _vm.disabled ? "disabled" : '',
23733
- _vm.noHover ? "no-hover" : '',
23734
- _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)])}
23735
- var popover_list_itemvue_type_template_id_001cc235_scoped_true_staticRenderFns = []
23654
+ /* harmony default export */ var popover_list_headline = (popover_list_headline_component.exports);
23655
+ // 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&
23656
+ 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)}
23657
+ var popover_listvue_type_template_id_132050d4_scoped_true_staticRenderFns = []
23736
23658
 
23737
23659
 
23738
- // CONCATENATED MODULE: ./src/components/popover-list-item/popover-list-item.vue?vue&type=template&id=001cc235&scoped=true&
23660
+ // CONCATENATED MODULE: ./src/components/popover-list/popover-list.vue?vue&type=template&id=132050d4&scoped=true&
23739
23661
 
23740
- // 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&
23662
+ // 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&
23663
+ 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:[
23664
+ _vm.inline ? "ecs-form-check-inline" : '',
23665
+ _vm.disabled ? "disabled" : '',
23666
+ _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)])}
23667
+ var radiobuttonvue_type_template_id_574e95b6_scoped_true_staticRenderFns = []
23741
23668
 
23742
23669
 
23670
+ // CONCATENATED MODULE: ./src/components/radiobutton/radiobutton.vue?vue&type=template&id=574e95b6&scoped=true&
23671
+
23672
+ // 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&
23743
23673
  //
23744
23674
  //
23745
23675
  //
@@ -23768,6 +23698,139 @@ var popover_list_itemvue_type_template_id_001cc235_scoped_true_staticRenderFns =
23768
23698
  //
23769
23699
  //
23770
23700
  //
23701
+
23702
+
23703
+ /* harmony default export */ var radiobuttonvue_type_script_lang_js_ = ({
23704
+ components: {
23705
+ EcsFormCheck: form_check,
23706
+ EcsText: text_text
23707
+ },
23708
+ model: {
23709
+ prop: 'checked',
23710
+ event: 'input'
23711
+ },
23712
+ props: {
23713
+ /** Name attribute of the radiobutton. */
23714
+ name: {
23715
+ type: String
23716
+ },
23717
+
23718
+ /** Value of the radiobutton. */
23719
+ value: {
23720
+ default: true
23721
+ },
23722
+
23723
+ /** Determines of the radiobutton is required. */
23724
+ required: {
23725
+ type: Boolean,
23726
+ default: false
23727
+ },
23728
+
23729
+ /** Sets the radiobutton to checked. */
23730
+ checked: {
23731
+ type: [Boolean, String, Array]
23732
+ },
23733
+
23734
+ /** Turns the radiobutton into disabled state. */
23735
+ disabled: {
23736
+ type: Boolean,
23737
+ default: false
23738
+ },
23739
+
23740
+ /** Renders the radiobutton inline. */
23741
+ inline: {
23742
+ type: Boolean,
23743
+ default: false
23744
+ },
23745
+
23746
+ /** Help text that appears underneath (or next to, for inline radiobuttons) the label. */
23747
+ help: {
23748
+ type: String
23749
+ }
23750
+ },
23751
+ data: function data() {
23752
+ return {
23753
+ id: null,
23754
+ localChecked: this.checked
23755
+ };
23756
+ },
23757
+ mounted: function mounted() {
23758
+ this.id = this._uid;
23759
+ },
23760
+ computed: {
23761
+ computedLocalChecked: {
23762
+ get: function get() {
23763
+ return this.localChecked;
23764
+ },
23765
+ set: function set(val) {
23766
+ this.localChecked = val;
23767
+ }
23768
+ }
23769
+ },
23770
+ watch: {
23771
+ computedLocalChecked: function computedLocalChecked(newVal, oldVal) {
23772
+ if (newVal == oldVal) {
23773
+ return;
23774
+ }
23775
+
23776
+ this.$emit('input', newVal);
23777
+ },
23778
+ checked: function checked(newVal, oldVal) {
23779
+ if (newVal == oldVal) {
23780
+ return;
23781
+ }
23782
+
23783
+ this.computedLocalChecked = newVal;
23784
+ }
23785
+ },
23786
+ methods: {
23787
+ handleChange: function handleChange(e) {
23788
+ this.$emit('change', e.target.checked ? this.value : null);
23789
+ }
23790
+ }
23791
+ });
23792
+ // CONCATENATED MODULE: ./src/components/radiobutton/radiobutton.vue?vue&type=script&lang=js&
23793
+ /* harmony default export */ var radiobutton_radiobuttonvue_type_script_lang_js_ = (radiobuttonvue_type_script_lang_js_);
23794
+ // EXTERNAL MODULE: ./src/components/radiobutton/radiobutton.vue?vue&type=style&index=0&id=574e95b6&lang=scss&scoped=true&
23795
+ var radiobuttonvue_type_style_index_0_id_574e95b6_lang_scss_scoped_true_ = __webpack_require__("cde0");
23796
+
23797
+ // CONCATENATED MODULE: ./src/components/radiobutton/radiobutton.vue
23798
+
23799
+
23800
+
23801
+
23802
+
23803
+
23804
+ /* normalize component */
23805
+
23806
+ var radiobutton_component = normalizeComponent(
23807
+ radiobutton_radiobuttonvue_type_script_lang_js_,
23808
+ radiobuttonvue_type_template_id_574e95b6_scoped_true_render,
23809
+ radiobuttonvue_type_template_id_574e95b6_scoped_true_staticRenderFns,
23810
+ false,
23811
+ null,
23812
+ "574e95b6",
23813
+ null
23814
+
23815
+ )
23816
+
23817
+ /* harmony default export */ var radiobutton = (radiobutton_component.exports);
23818
+ // 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&
23819
+ 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:[
23820
+ _vm.sizeClass,
23821
+ _vm.hasDefaultSlot ? 'ecs-switch-has-label' : '',
23822
+ _vm.disabled ? 'disabled' : '',
23823
+ _vm.colored ? 'ecs-switch-colored' : '',
23824
+ _vm.indeterminate ? 'ecs-switch-indeterminate' : ''
23825
+ ]},[_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()])}
23826
+ 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"})])}]
23827
+
23828
+
23829
+ // CONCATENATED MODULE: ./src/components/switch/switch.vue?vue&type=template&id=23d2b533&scoped=true&
23830
+
23831
+ // 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&
23832
+
23833
+
23771
23834
  //
23772
23835
  //
23773
23836
  //
@@ -23797,159 +23860,128 @@ var popover_list_itemvue_type_template_id_001cc235_scoped_true_staticRenderFns =
23797
23860
  //
23798
23861
  //
23799
23862
  //
23800
- //
23801
- //
23802
- //
23803
- //
23804
- //
23805
- //
23806
- //
23807
- //
23808
- //
23809
- //
23810
-
23811
-
23812
-
23813
-
23814
-
23815
-
23816
- /* harmony default export */ var popover_list_itemvue_type_script_lang_js_ = ({
23817
- components: {
23818
- EcsCheckbox: checkbox_checkbox,
23819
- EcsRadiobutton: radiobutton,
23820
- EcsSwitch: switch_switch,
23821
- EcsSortbutton: sortbutton,
23822
- EcsIcon: icon,
23823
- EcsFileIcon: file_icon
23824
- },
23863
+ /* harmony default export */ var switchvue_type_script_lang_js_ = ({
23825
23864
  props: {
23826
- /** Determines the type of popover list item.*/
23827
- type: {
23828
- type: String,
23829
- validator: function validator(v) {
23830
- return ['icon', 'checkbox', 'radiobutton', 'switch', 'sort', 'link', null].includes(v);
23831
- },
23832
- default: null
23865
+ /** Sets the name attribute. */
23866
+ name: {
23867
+ type: String
23833
23868
  },
23834
23869
 
23835
- /** Adds a subtle suffix text to the right side of the list item. Should be very short. */
23836
- suffix: {
23870
+ /** Determines the size of the switch. `sml-toggle` sets the toggle control size to small, but maintains a regular font size. */
23871
+ size: {
23837
23872
  type: String,
23838
- default: null
23873
+ validator: function validator(v) {
23874
+ return ['sml', 'sml-toggle', 'lg', 'md', 'null', null].includes(v);
23875
+ }
23839
23876
  },
23840
23877
 
23841
- /** Adds a subline to the list item, which acts as an additional explanation for the action. */
23842
- help: {
23843
- type: String,
23844
- default: null
23845
- },
23846
-
23847
- /** 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). */
23848
- icon: {
23849
- type: String,
23850
- default: null
23851
- },
23852
-
23853
- /** Adds a file icon. Should never be used together with `icon`. */
23854
- fileIcon: {
23855
- type: String,
23856
- default: null
23857
- },
23858
-
23859
- /** 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). */
23860
- hoverIcon: {
23861
- type: String,
23862
- default: null
23863
- },
23864
-
23865
- /** Sets any icon color to gray. */
23866
- subtle: {
23867
- type: Boolean,
23868
- default: false
23869
- },
23870
-
23871
- /** Indicates a dangerous action. Adds a red background on mouse over and turn any icon color to red. */
23872
- danger: {
23878
+ /** Sets the switch to required. */
23879
+ required: {
23873
23880
  type: Boolean,
23874
23881
  default: false
23875
23882
  },
23876
23883
 
23877
- /** Disables the list item. */
23884
+ /** Disables the switch. */
23878
23885
  disabled: {
23879
23886
  type: Boolean,
23880
23887
  default: false
23881
23888
  },
23882
23889
 
23883
- /** Disables mouse over effects of the background. */
23884
- noHover: {
23890
+ /** Reflects a true or false state with positive (green) and negative (red) colors. */
23891
+ colored: {
23885
23892
  type: Boolean,
23886
23893
  default: false
23887
23894
  },
23888
23895
 
23889
- /** Indicates a selected item by adding a small checkmark to the right of the list item. Should not be used together with `hoverIcon`. */
23890
- selected: {
23896
+ /** Reflects an indeterminate switch state (e.g. not all options checked, but some). This is a purely visual setting. */
23897
+ indeterminate: {
23891
23898
  type: Boolean,
23892
23899
  default: false
23893
23900
  },
23894
-
23895
- /** If the list item should be a link, this sets the href of the link. */
23896
- href: {
23897
- type: String,
23898
- default: null
23899
- },
23900
-
23901
- /** Sets the value of checkbox/radiobutton, if these are being used. */
23902
23901
  value: {
23903
- default: null,
23902
+ default: false,
23904
23903
  required: false,
23905
23904
  type: [Date, Number, String, Boolean]
23906
23905
  },
23907
-
23908
- /** Sets the valueFalse of checkbox/radiobutton, if these are being used. */
23909
23906
  valueFalse: {
23910
- default: null,
23907
+ default: false,
23911
23908
  required: false,
23912
23909
  type: [Date, Number, String, Boolean]
23913
23910
  },
23914
-
23915
- /** Sets the valueTrue of checkbox/radiobutton, if these are being used. */
23916
23911
  valueTrue: {
23917
- default: null,
23912
+ default: true,
23918
23913
  required: false,
23919
23914
  type: [Date, Number, String, Boolean]
23915
+ }
23916
+ },
23917
+ data: function data() {
23918
+ return {
23919
+ id: null,
23920
+ checked: !!this.value,
23921
+ oldValue: this.value
23922
+ };
23923
+ },
23924
+ mounted: function mounted() {
23925
+ this.id = this._uid;
23926
+ },
23927
+ computed: {
23928
+ hasDefaultSlot: function hasDefaultSlot() {
23929
+ return !!this.$slots.default;
23930
+ },
23931
+ sizeClass: function sizeClass() {
23932
+ if (this.size && this.size !== '') if (this.size == 'sml-toggle') {
23933
+ return "ecs-switch-sml regular-font";
23934
+ } else {
23935
+ return "ecs-switch-".concat(this.size);
23936
+ }
23937
+ return this.size;
23938
+ },
23939
+ isBoolean: function isBoolean() {
23940
+ return typeof this.value === 'boolean';
23920
23941
  },
23942
+ valueWhenFalse: function valueWhenFalse() {
23943
+ if (this.isBoolean) {
23944
+ return false;
23945
+ }
23921
23946
 
23922
- /** Turns the checkbox into indeterminate state, if the type checkbox is being used. */
23923
- indeterminate: {
23924
- default: false,
23925
- type: Boolean
23947
+ return this.valueFalse;
23926
23948
  },
23949
+ valueWhenTrue: function valueWhenTrue() {
23950
+ if (this.isBoolean) {
23951
+ return true;
23952
+ }
23927
23953
 
23928
- /** Sets the sort status, if the type sort is being used. */
23929
- sort: {
23930
- type: String,
23931
- validator: function validator(v) {
23932
- return ['ascending', 'descending', null].includes(v);
23933
- },
23934
- default: null
23954
+ return this.valueTrue || this.oldValue;
23935
23955
  }
23936
23956
  },
23937
- computed: {
23938
- iconClass: function iconClass() {
23939
- if (this.icon && this.icon !== '' || this.fileIcon && this.fileIcon !== '') return "has-icon";else return;
23957
+ watch: {
23958
+ value: function value() {
23959
+ this.checked = !!this.value;
23960
+ },
23961
+ valueFalse: function valueFalse() {
23962
+ if (!this.checked) {
23963
+ this.$emit('input', this.valueWhenFalse);
23964
+ }
23965
+ },
23966
+ valueTrue: function valueTrue() {
23967
+ if (this.checked) {
23968
+ this.$emit('input', this.valueWhenTrue);
23969
+ }
23970
+ }
23971
+ },
23972
+ methods: {
23973
+ handleClick: function handleClick() {
23974
+ this.checked = !this.checked;
23975
+ this.$emit('input', this.checked ? this.valueWhenTrue : this.valueWhenFalse);
23940
23976
  }
23941
23977
  }
23942
23978
  });
23943
- // CONCATENATED MODULE: ./src/components/popover-list-item/popover-list-item.vue?vue&type=script&lang=js&
23944
- /* harmony default export */ var popover_list_item_popover_list_itemvue_type_script_lang_js_ = (popover_list_itemvue_type_script_lang_js_);
23945
- // EXTERNAL MODULE: ./src/components/popover-list-item/popover-list-item.vue?vue&type=style&index=0&lang=scss&
23946
- var popover_list_itemvue_type_style_index_0_lang_scss_ = __webpack_require__("0be3");
23947
-
23948
- // EXTERNAL MODULE: ./src/components/popover-list-item/popover-list-item.vue?vue&type=style&index=1&id=001cc235&lang=scss&scoped=true&
23949
- var popover_list_itemvue_type_style_index_1_id_001cc235_lang_scss_scoped_true_ = __webpack_require__("afba");
23950
-
23951
- // CONCATENATED MODULE: ./src/components/popover-list-item/popover-list-item.vue
23979
+ // CONCATENATED MODULE: ./src/components/switch/switch.vue?vue&type=script&lang=js&
23980
+ /* harmony default export */ var switch_switchvue_type_script_lang_js_ = (switchvue_type_script_lang_js_);
23981
+ // EXTERNAL MODULE: ./src/components/switch/switch.vue?vue&type=style&index=0&id=23d2b533&lang=scss&scoped=true&
23982
+ var switchvue_type_style_index_0_id_23d2b533_lang_scss_scoped_true_ = __webpack_require__("c551");
23952
23983
 
23984
+ // CONCATENATED MODULE: ./src/components/switch/switch.vue
23953
23985
 
23954
23986
 
23955
23987
 
@@ -23958,19 +23990,33 @@ var popover_list_itemvue_type_style_index_1_id_001cc235_lang_scss_scoped_true_ =
23958
23990
 
23959
23991
  /* normalize component */
23960
23992
 
23961
- var popover_list_item_component = normalizeComponent(
23962
- popover_list_item_popover_list_itemvue_type_script_lang_js_,
23963
- popover_list_itemvue_type_template_id_001cc235_scoped_true_render,
23964
- popover_list_itemvue_type_template_id_001cc235_scoped_true_staticRenderFns,
23993
+ var switch_component = normalizeComponent(
23994
+ switch_switchvue_type_script_lang_js_,
23995
+ switchvue_type_template_id_23d2b533_scoped_true_render,
23996
+ switchvue_type_template_id_23d2b533_scoped_true_staticRenderFns,
23965
23997
  false,
23966
23998
  null,
23967
- "001cc235",
23999
+ "23d2b533",
23968
24000
  null
23969
24001
 
23970
24002
  )
23971
24003
 
23972
- /* harmony default export */ var popover_list_item = (popover_list_item_component.exports);
23973
- // 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&
24004
+ /* harmony default export */ var switch_switch = (switch_component.exports);
24005
+ // 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&
24006
+ 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:[
24007
+ _vm.sortClass,
24008
+ _vm.inline ? "ecs-form-check-inline" : '',
24009
+ _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)])}
24010
+ var sortbuttonvue_type_template_id_389fbfca_scoped_true_staticRenderFns = []
24011
+
24012
+
24013
+ // CONCATENATED MODULE: ./src/components/sortbutton/sortbutton.vue?vue&type=template&id=389fbfca&scoped=true&
24014
+
24015
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.sort.js
24016
+ var es_array_sort = __webpack_require__("4e82");
24017
+
24018
+ // 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&
24019
+
23974
24020
 
23975
24021
  //
23976
24022
  //
@@ -23985,98 +24031,46 @@ var popover_list_item_component = normalizeComponent(
23985
24031
  //
23986
24032
  //
23987
24033
  //
23988
- //
23989
- //
23990
- //
23991
- //
23992
- //
23993
- //
23994
- //
23995
- //
23996
- //
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
24034
 
24028
-
24029
-
24030
- /* harmony default export */ var paginationvue_type_script_lang_js_ = ({
24035
+ /* harmony default export */ var sortbuttonvue_type_script_lang_js_ = ({
24031
24036
  components: {
24032
- EcsButtonToolbarGroup: button_toolbar_group,
24033
- EcsButtonToolbar: button_toolbar,
24034
- EcsPopoverList: popover_list,
24035
- EcsPopoverListItem: popover_list_item
24037
+ EcsFormCheck: form_check
24036
24038
  },
24037
24039
  props: {
24038
- /** 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. */
24039
- floating: {
24040
- type: Boolean,
24041
- default: false
24042
- },
24043
-
24044
- /** Briefly disables all controls while ongoing navigation. */
24045
- loading: {
24040
+ /** Disables the sort button. */
24041
+ disabled: {
24046
24042
  type: Boolean,
24047
24043
  default: false
24048
24044
  },
24049
24045
 
24050
- /** The current page. */
24051
- currentPage: {
24052
- type: Number
24046
+ /** Determines the current state of the button. */
24047
+ sort: {
24048
+ type: String,
24049
+ validator: function validator(v) {
24050
+ return ['ascending', 'descending', null].includes(v);
24051
+ },
24052
+ default: null
24053
24053
  },
24054
24054
 
24055
- /** The total pages of the index. */
24056
- totalPages: {
24057
- type: Number
24055
+ /** Renders the sort button as an inline element. */
24056
+ inline: {
24057
+ type: Boolean,
24058
+ default: false
24058
24059
  }
24059
24060
  },
24060
- data: function data() {
24061
- return {
24062
- dropdownShown: false
24063
- };
24064
- },
24065
- methods: {
24066
- toggleDropdown: function toggleDropdown() {
24067
- if (this.totalPages) this.dropdownShown = !this.dropdownShown;
24068
- },
24069
- hideDropdown: function hideDropdown() {
24070
- this.dropdownShown = false;
24061
+ computed: {
24062
+ sortClass: function sortClass() {
24063
+ if (this.sort && this.sort !== '') return "active ".concat(this.sort);
24064
+ return this.sort;
24071
24065
  }
24072
24066
  }
24073
24067
  });
24074
- // CONCATENATED MODULE: ./src/components/pagination/pagination.vue?vue&type=script&lang=js&
24075
- /* harmony default export */ var pagination_paginationvue_type_script_lang_js_ = (paginationvue_type_script_lang_js_);
24076
- // EXTERNAL MODULE: ./src/components/pagination/pagination.vue?vue&type=style&index=0&id=731cbd53&lang=scss&scoped=true&
24077
- var paginationvue_type_style_index_0_id_731cbd53_lang_scss_scoped_true_ = __webpack_require__("9105");
24068
+ // CONCATENATED MODULE: ./src/components/sortbutton/sortbutton.vue?vue&type=script&lang=js&
24069
+ /* harmony default export */ var sortbutton_sortbuttonvue_type_script_lang_js_ = (sortbuttonvue_type_script_lang_js_);
24070
+ // EXTERNAL MODULE: ./src/components/sortbutton/sortbutton.vue?vue&type=style&index=0&id=389fbfca&lang=scss&scoped=true&
24071
+ var sortbuttonvue_type_style_index_0_id_389fbfca_lang_scss_scoped_true_ = __webpack_require__("8979");
24078
24072
 
24079
- // CONCATENATED MODULE: ./src/components/pagination/pagination.vue
24073
+ // CONCATENATED MODULE: ./src/components/sortbutton/sortbutton.vue
24080
24074
 
24081
24075
 
24082
24076
 
@@ -24085,32 +24079,19 @@ var paginationvue_type_style_index_0_id_731cbd53_lang_scss_scoped_true_ = __webp
24085
24079
 
24086
24080
  /* normalize component */
24087
24081
 
24088
- var pagination_component = normalizeComponent(
24089
- pagination_paginationvue_type_script_lang_js_,
24090
- paginationvue_type_template_id_731cbd53_scoped_true_render,
24091
- paginationvue_type_template_id_731cbd53_scoped_true_staticRenderFns,
24082
+ var sortbutton_component = normalizeComponent(
24083
+ sortbutton_sortbuttonvue_type_script_lang_js_,
24084
+ sortbuttonvue_type_template_id_389fbfca_scoped_true_render,
24085
+ sortbuttonvue_type_template_id_389fbfca_scoped_true_staticRenderFns,
24092
24086
  false,
24093
24087
  null,
24094
- "731cbd53",
24088
+ "389fbfca",
24095
24089
  null
24096
24090
 
24097
24091
  )
24098
24092
 
24099
- /* harmony default export */ var pagination = (pagination_component.exports);
24100
- // 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&
24101
- 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)}
24102
- var party_entryvue_type_template_id_de92edca_scoped_true_staticRenderFns = []
24103
-
24104
-
24105
- // CONCATENATED MODULE: ./src/components/party-entry/party-entry.vue?vue&type=template&id=de92edca&scoped=true&
24106
-
24107
- // 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&
24108
-
24109
- //
24110
- //
24111
- //
24112
- //
24113
- //
24093
+ /* harmony default export */ var sortbutton = (sortbutton_component.exports);
24094
+ // 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&
24114
24095
  //
24115
24096
  //
24116
24097
  //
@@ -24118,116 +24099,33 @@ var party_entryvue_type_template_id_de92edca_scoped_true_staticRenderFns = []
24118
24099
  //
24119
24100
  //
24120
24101
 
24121
- /* harmony default export */ var party_entryvue_type_script_lang_js_ = ({
24122
- components: {
24123
- EcsIcon: icon
24124
- },
24125
- props: {
24126
- /** 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). */
24127
- icon: {
24128
- type: String
24129
- },
24130
24102
 
24131
- /** 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. */
24132
- party: {
24133
- type: String,
24134
- validator: function validator(v) {
24135
- return ['client', 'opposing', 'joint', 'other', 'court', 'unaffiliated'].includes(v);
24136
- }
24137
- },
24138
24103
 
24139
- /** Renders a subtle colored background. */
24140
- background: {
24141
- type: Boolean,
24142
- default: false
24143
- },
24144
24104
 
24145
- /** Adds a shared badge indicator. */
24146
- shared: {
24147
- type: Boolean,
24148
- default: false
24149
- },
24150
-
24151
- /** Determines the spacing between icon and text. */
24152
- iconSpacing: {
24153
- type: String,
24154
- default: '5px'
24155
- },
24156
-
24157
- /** Determines the position of the icon. */
24158
- iconPosition: {
24159
- type: String,
24160
- default: 'left'
24161
- },
24162
24105
 
24163
- /** Determines the size of the icon. */
24164
- iconSize: {
24165
- type: String,
24166
- default: '30px'
24167
- },
24168
24106
 
24169
- /** Sets a custom color. Should be a HEX, RGB or HSL value. No alpha channels. */
24170
- color: {
24171
- type: String
24172
- }
24107
+ /* harmony default export */ var popover_listvue_type_script_lang_js_ = ({
24108
+ components: {
24109
+ EcsCheckbox: checkbox_checkbox,
24110
+ EcsRadiobutton: radiobutton,
24111
+ EcsSwitch: switch_switch,
24112
+ EcsSortbutton: sortbutton,
24113
+ EcsIcon: icon,
24114
+ EcsFileIcon: file_icon
24173
24115
  },
24174
- computed: {
24175
- iconType: function iconType() {
24176
- switch (this.icon) {
24177
- case 'sequence':
24178
- return 'colored-sequence';
24179
-
24180
- case 'folder':
24181
- return 'colored-folder';
24182
-
24183
- case 'document':
24184
- return 'colored-document';
24185
-
24186
- case 'pacer':
24187
- return 'colored-pacer';
24188
-
24189
- default:
24190
- return this.icon;
24191
- }
24192
- },
24193
- iconColor: function iconColor() {
24194
- if (this.color) {
24195
- return this.color;
24196
- } else if (this.party) {
24197
- switch (this.party) {
24198
- case 'client':
24199
- return '#227FD3';
24200
-
24201
- case 'opposing':
24202
- return '#5DAF00';
24203
-
24204
- case 'joint':
24205
- return '#A4927A';
24206
-
24207
- case 'other':
24208
- return '#95989C';
24209
-
24210
- case 'court':
24211
- return '#D78B21';
24212
-
24213
- case 'unaffiliated':
24214
- return '#C1C2C4';
24215
-
24216
- default:
24217
- return '#C1C2C4';
24218
- }
24219
- } else {
24220
- return '#000';
24221
- }
24116
+ props: {
24117
+ inner: {
24118
+ type: Boolean,
24119
+ default: false
24222
24120
  }
24223
24121
  }
24224
24122
  });
24225
- // CONCATENATED MODULE: ./src/components/party-entry/party-entry.vue?vue&type=script&lang=js&
24226
- /* harmony default export */ var party_entry_party_entryvue_type_script_lang_js_ = (party_entryvue_type_script_lang_js_);
24227
- // EXTERNAL MODULE: ./src/components/party-entry/party-entry.vue?vue&type=style&index=0&id=de92edca&lang=scss&scoped=true&
24228
- var party_entryvue_type_style_index_0_id_de92edca_lang_scss_scoped_true_ = __webpack_require__("5ddd");
24123
+ // CONCATENATED MODULE: ./src/components/popover-list/popover-list.vue?vue&type=script&lang=js&
24124
+ /* harmony default export */ var popover_list_popover_listvue_type_script_lang_js_ = (popover_listvue_type_script_lang_js_);
24125
+ // EXTERNAL MODULE: ./src/components/popover-list/popover-list.vue?vue&type=style&index=0&id=132050d4&lang=scss&scoped=true&
24126
+ var popover_listvue_type_style_index_0_id_132050d4_lang_scss_scoped_true_ = __webpack_require__("052d");
24229
24127
 
24230
- // CONCATENATED MODULE: ./src/components/party-entry/party-entry.vue
24128
+ // CONCATENATED MODULE: ./src/components/popover-list/popover-list.vue
24231
24129
 
24232
24130
 
24233
24131
 
@@ -24236,26 +24134,93 @@ var party_entryvue_type_style_index_0_id_de92edca_lang_scss_scoped_true_ = __web
24236
24134
 
24237
24135
  /* normalize component */
24238
24136
 
24239
- var party_entry_component = normalizeComponent(
24240
- party_entry_party_entryvue_type_script_lang_js_,
24241
- party_entryvue_type_template_id_de92edca_scoped_true_render,
24242
- party_entryvue_type_template_id_de92edca_scoped_true_staticRenderFns,
24137
+ var popover_list_component = normalizeComponent(
24138
+ popover_list_popover_listvue_type_script_lang_js_,
24139
+ popover_listvue_type_template_id_132050d4_scoped_true_render,
24140
+ popover_listvue_type_template_id_132050d4_scoped_true_staticRenderFns,
24243
24141
  false,
24244
24142
  null,
24245
- "de92edca",
24143
+ "132050d4",
24246
24144
  null
24247
24145
 
24248
24146
  )
24249
24147
 
24250
- /* harmony default export */ var party_entry = (party_entry_component.exports);
24251
- // 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&
24252
- 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()])}
24253
- var popover_headervue_type_template_id_37595797_scoped_true_staticRenderFns = []
24148
+ /* harmony default export */ var popover_list = (popover_list_component.exports);
24149
+ // 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&
24150
+ 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,
24151
+ _vm.danger ? "danger" : '',
24152
+ _vm.subtle ? "subtle" : '',
24153
+ _vm.disabled ? "disabled" : '',
24154
+ _vm.noHover ? "no-hover" : '',
24155
+ _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,
24156
+ _vm.danger ? "danger" : '',
24157
+ _vm.subtle ? "subtle" : '',
24158
+ _vm.disabled ? "disabled" : '',
24159
+ _vm.noHover ? "no-hover" : '',
24160
+ _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)])}
24161
+ var popover_list_itemvue_type_template_id_001cc235_scoped_true_staticRenderFns = []
24254
24162
 
24255
24163
 
24256
- // CONCATENATED MODULE: ./src/components/popover-header/popover-header.vue?vue&type=template&id=37595797&scoped=true&
24164
+ // CONCATENATED MODULE: ./src/components/popover-list-item/popover-list-item.vue?vue&type=template&id=001cc235&scoped=true&
24257
24165
 
24258
- // 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&
24166
+ // 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&
24167
+
24168
+
24169
+ //
24170
+ //
24171
+ //
24172
+ //
24173
+ //
24174
+ //
24175
+ //
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
+ //
24259
24224
  //
24260
24225
  //
24261
24226
  //
@@ -24269,84 +24234,148 @@ var popover_headervue_type_template_id_37595797_scoped_true_staticRenderFns = []
24269
24234
  //
24270
24235
  //
24271
24236
 
24272
- /* harmony default export */ var popover_headervue_type_script_lang_js_ = ({
24237
+
24238
+
24239
+
24240
+
24241
+
24242
+ /* harmony default export */ var popover_list_itemvue_type_script_lang_js_ = ({
24273
24243
  components: {
24274
- EcsIcon: icon
24244
+ EcsCheckbox: checkbox_checkbox,
24245
+ EcsRadiobutton: radiobutton,
24246
+ EcsSwitch: switch_switch,
24247
+ EcsSortbutton: sortbutton,
24248
+ EcsIcon: icon,
24249
+ EcsFileIcon: file_icon
24275
24250
  },
24276
24251
  props: {
24277
- /** 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). */
24252
+ /** Determines the type of popover list item.*/
24253
+ type: {
24254
+ type: String,
24255
+ validator: function validator(v) {
24256
+ return ['icon', 'checkbox', 'radiobutton', 'switch', 'sort', 'link', null].includes(v);
24257
+ },
24258
+ default: null
24259
+ },
24260
+
24261
+ /** Adds a subtle suffix text to the right side of the list item. Should be very short. */
24262
+ suffix: {
24263
+ type: String,
24264
+ default: null
24265
+ },
24266
+
24267
+ /** Adds a subline to the list item, which acts as an additional explanation for the action. */
24268
+ help: {
24269
+ type: String,
24270
+ default: null
24271
+ },
24272
+
24273
+ /** 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). */
24278
24274
  icon: {
24279
24275
  type: String,
24280
24276
  default: null
24281
24277
  },
24282
24278
 
24283
- /** Sets the title of the popover header. */
24284
- title: {
24279
+ /** Adds a file icon. Should never be used together with `icon`. */
24280
+ fileIcon: {
24285
24281
  type: String,
24286
- required: true
24287
- }
24288
- },
24289
- computed: {
24290
- hasControls: function hasControls() {
24291
- return !!this.$slots.default;
24292
- }
24293
- }
24294
- });
24295
- // CONCATENATED MODULE: ./src/components/popover-header/popover-header.vue?vue&type=script&lang=js&
24296
- /* harmony default export */ var popover_header_popover_headervue_type_script_lang_js_ = (popover_headervue_type_script_lang_js_);
24297
- // EXTERNAL MODULE: ./src/components/popover-header/popover-header.vue?vue&type=style&index=0&id=37595797&lang=scss&scoped=true&
24298
- var popover_headervue_type_style_index_0_id_37595797_lang_scss_scoped_true_ = __webpack_require__("1cf3");
24282
+ default: null
24283
+ },
24299
24284
 
24300
- // CONCATENATED MODULE: ./src/components/popover-header/popover-header.vue
24285
+ /** 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). */
24286
+ hoverIcon: {
24287
+ type: String,
24288
+ default: null
24289
+ },
24301
24290
 
24291
+ /** Sets any icon color to gray. */
24292
+ subtle: {
24293
+ type: Boolean,
24294
+ default: false
24295
+ },
24302
24296
 
24297
+ /** Indicates a dangerous action. Adds a red background on mouse over and turn any icon color to red. */
24298
+ danger: {
24299
+ type: Boolean,
24300
+ default: false
24301
+ },
24303
24302
 
24303
+ /** Disables the list item. */
24304
+ disabled: {
24305
+ type: Boolean,
24306
+ default: false
24307
+ },
24304
24308
 
24309
+ /** Disables mouse over effects of the background. */
24310
+ noHover: {
24311
+ type: Boolean,
24312
+ default: false
24313
+ },
24305
24314
 
24315
+ /** Indicates a selected item by adding a small checkmark to the right of the list item. Should not be used together with `hoverIcon`. */
24316
+ selected: {
24317
+ type: Boolean,
24318
+ default: false
24319
+ },
24306
24320
 
24307
- /* normalize component */
24321
+ /** If the list item should be a link, this sets the href of the link. */
24322
+ href: {
24323
+ type: String,
24324
+ default: null
24325
+ },
24308
24326
 
24309
- var popover_header_component = normalizeComponent(
24310
- popover_header_popover_headervue_type_script_lang_js_,
24311
- popover_headervue_type_template_id_37595797_scoped_true_render,
24312
- popover_headervue_type_template_id_37595797_scoped_true_staticRenderFns,
24313
- false,
24314
- null,
24315
- "37595797",
24316
- null
24317
-
24318
- )
24327
+ /** Sets the value of checkbox/radiobutton, if these are being used. */
24328
+ value: {
24329
+ default: null,
24330
+ required: false,
24331
+ type: [Date, Number, String, Boolean]
24332
+ },
24319
24333
 
24320
- /* harmony default export */ var popover_header = (popover_header_component.exports);
24321
- // 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&
24322
- 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)}
24323
- var popover_list_headlinevue_type_template_id_b1ba265e_scoped_true_staticRenderFns = []
24334
+ /** Sets the valueFalse of checkbox/radiobutton, if these are being used. */
24335
+ valueFalse: {
24336
+ default: null,
24337
+ required: false,
24338
+ type: [Date, Number, String, Boolean]
24339
+ },
24324
24340
 
24341
+ /** Sets the valueTrue of checkbox/radiobutton, if these are being used. */
24342
+ valueTrue: {
24343
+ default: null,
24344
+ required: false,
24345
+ type: [Date, Number, String, Boolean]
24346
+ },
24325
24347
 
24326
- // CONCATENATED MODULE: ./src/components/popover-list-headline/popover-list-headline.vue?vue&type=template&id=b1ba265e&scoped=true&
24348
+ /** Turns the checkbox into indeterminate state, if the type checkbox is being used. */
24349
+ indeterminate: {
24350
+ default: false,
24351
+ type: Boolean
24352
+ },
24327
24353
 
24328
- // 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&
24329
- //
24330
- //
24331
- //
24332
- //
24333
- //
24334
- //
24335
- /* harmony default export */ var popover_list_headlinevue_type_script_lang_js_ = ({
24336
- props: {
24337
- /** 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. */
24338
- sticky: {
24339
- type: Boolean,
24340
- default: false
24354
+ /** Sets the sort status, if the type sort is being used. */
24355
+ sort: {
24356
+ type: String,
24357
+ validator: function validator(v) {
24358
+ return ['ascending', 'descending', null].includes(v);
24359
+ },
24360
+ default: null
24361
+ }
24362
+ },
24363
+ computed: {
24364
+ iconClass: function iconClass() {
24365
+ if (this.icon && this.icon !== '' || this.fileIcon && this.fileIcon !== '') return "has-icon";else return;
24341
24366
  }
24342
24367
  }
24343
24368
  });
24344
- // CONCATENATED MODULE: ./src/components/popover-list-headline/popover-list-headline.vue?vue&type=script&lang=js&
24345
- /* harmony default export */ var popover_list_headline_popover_list_headlinevue_type_script_lang_js_ = (popover_list_headlinevue_type_script_lang_js_);
24346
- // EXTERNAL MODULE: ./src/components/popover-list-headline/popover-list-headline.vue?vue&type=style&index=0&id=b1ba265e&lang=scss&scoped=true&
24347
- var popover_list_headlinevue_type_style_index_0_id_b1ba265e_lang_scss_scoped_true_ = __webpack_require__("d5aa");
24369
+ // CONCATENATED MODULE: ./src/components/popover-list-item/popover-list-item.vue?vue&type=script&lang=js&
24370
+ /* harmony default export */ var popover_list_item_popover_list_itemvue_type_script_lang_js_ = (popover_list_itemvue_type_script_lang_js_);
24371
+ // EXTERNAL MODULE: ./src/components/popover-list-item/popover-list-item.vue?vue&type=style&index=0&lang=scss&
24372
+ var popover_list_itemvue_type_style_index_0_lang_scss_ = __webpack_require__("0be3");
24373
+
24374
+ // EXTERNAL MODULE: ./src/components/popover-list-item/popover-list-item.vue?vue&type=style&index=1&id=001cc235&lang=scss&scoped=true&
24375
+ var popover_list_itemvue_type_style_index_1_id_001cc235_lang_scss_scoped_true_ = __webpack_require__("afba");
24376
+
24377
+ // CONCATENATED MODULE: ./src/components/popover-list-item/popover-list-item.vue
24348
24378
 
24349
- // CONCATENATED MODULE: ./src/components/popover-list-headline/popover-list-headline.vue
24350
24379
 
24351
24380
 
24352
24381
 
@@ -24355,18 +24384,18 @@ var popover_list_headlinevue_type_style_index_0_id_b1ba265e_lang_scss_scoped_tru
24355
24384
 
24356
24385
  /* normalize component */
24357
24386
 
24358
- var popover_list_headline_component = normalizeComponent(
24359
- popover_list_headline_popover_list_headlinevue_type_script_lang_js_,
24360
- popover_list_headlinevue_type_template_id_b1ba265e_scoped_true_render,
24361
- popover_list_headlinevue_type_template_id_b1ba265e_scoped_true_staticRenderFns,
24387
+ var popover_list_item_component = normalizeComponent(
24388
+ popover_list_item_popover_list_itemvue_type_script_lang_js_,
24389
+ popover_list_itemvue_type_template_id_001cc235_scoped_true_render,
24390
+ popover_list_itemvue_type_template_id_001cc235_scoped_true_staticRenderFns,
24362
24391
  false,
24363
24392
  null,
24364
- "b1ba265e",
24393
+ "001cc235",
24365
24394
  null
24366
24395
 
24367
24396
  )
24368
24397
 
24369
- /* harmony default export */ var popover_list_headline = (popover_list_headline_component.exports);
24398
+ /* harmony default export */ var popover_list_item = (popover_list_item_component.exports);
24370
24399
  // 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&
24371
24400
  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:[
24372
24401
  _vm.typeClass,