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