@everchron/ec-shards 4.4.3 → 5.0.0

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