@zeedhi/vuetify 1.51.0 → 1.52.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.
@@ -958,7 +958,7 @@ function searchItems(items, search) {
958
958
  if (!search) return items;
959
959
  search = search.toString().toLowerCase();
960
960
  if (search.trim() === '') return items;
961
- return items.filter(item => Object.keys(item).some(key => defaultFilter(getObjectValueByPath(item, key), search)));
961
+ return items.filter(item => Object.keys(item).some(key => defaultFilter(getObjectValueByPath(item, key), search, item)));
962
962
  }
963
963
  /**
964
964
  * Returns:
@@ -1010,10 +1010,10 @@ function getSlot(vm, name = 'default', data, optional = false) {
1010
1010
  function clamp(value, min = 0, max = 1) {
1011
1011
  return Math.max(min, Math.min(max, value));
1012
1012
  }
1013
- function padEnd(str, length, char = '0') {
1013
+ function padEnd(str, length, char) {
1014
1014
  return str + char.repeat(Math.max(0, length - str.length));
1015
1015
  }
1016
- function chunk(str, size = 1) {
1016
+ function chunk(str, size) {
1017
1017
  const chunked = [];
1018
1018
  let index = 0;
1019
1019
 
@@ -1315,7 +1315,7 @@ Icons.property = 'icons';
1315
1315
  const LANG_PREFIX = '$vuetify.';
1316
1316
  const fallback = Symbol('Lang fallback');
1317
1317
 
1318
- function getTranslation(locale, key, usingDefault = false, defaultLocale) {
1318
+ function getTranslation(locale, key, usingDefault, defaultLocale) {
1319
1319
  const shortKey = key.replace(LANG_PREFIX, '');
1320
1320
  let translation = getObjectValueByPath(locale, shortKey, fallback);
1321
1321
 
@@ -3255,7 +3255,7 @@ let all = factory().extend({
3255
3255
  })
3256
3256
  /**/
3257
3257
 
3258
- function applicationable(value, events = []) {
3258
+ function applicationable(value, events) {
3259
3259
  /* @vue/component */
3260
3260
  return mixins(factory$3(['absolute', 'fixed'])).extend({
3261
3261
  name: 'applicationable',
@@ -12407,7 +12407,7 @@ var Mouse = Vue.extend({
12407
12407
  }
12408
12408
  });
12409
12409
 
12410
- function createUTCDate(year, month = 0, day = 1) {
12410
+ function createUTCDate(year, month, day = 1) {
12411
12411
  let date;
12412
12412
 
12413
12413
  if (year < 100 && year >= 0) {
@@ -31262,7 +31262,7 @@ function searchItems(items, search) {
31262
31262
  if (search.trim() === '') return items;
31263
31263
  return items.filter(function (item) {
31264
31264
  return Object.keys(item).some(function (key) {
31265
- return defaultFilter(getObjectValueByPath(item, key), search);
31265
+ return defaultFilter(getObjectValueByPath(item, key), search, item);
31266
31266
  });
31267
31267
  });
31268
31268
  }
@@ -41098,6 +41098,10 @@ __decorate([
41098
41098
  PropWatch({ type: [Boolean, String], default: true }),
41099
41099
  __metadata("design:type", Boolean)
41100
41100
  ], ZdContainer.prototype, "fluid", void 0);
41101
+ __decorate([
41102
+ PropWatch({ type: [Boolean, String], default: false }),
41103
+ __metadata("design:type", Boolean)
41104
+ ], ZdContainer.prototype, "scrollView", void 0);
41101
41105
  __decorate([
41102
41106
  PropWatch({ type: [Boolean, String], default: false }),
41103
41107
  __metadata("design:type", Boolean)
@@ -41149,6 +41153,7 @@ var __vue_render__$19 = function () {
41149
41153
  height: _vm.$formatSize(_vm.instance.height),
41150
41154
  minHeight: _vm.$formatSize(_vm.instance.minHeight),
41151
41155
  maxHeight: _vm.$formatSize(_vm.instance.maxHeight),
41156
+ overflow: _vm.instance.scrollView ? "hidden auto" : "none",
41152
41157
  },
41153
41158
  _vm.$styleObject(_vm.instance.cssStyle)
41154
41159
  ),
@@ -41190,11 +41195,11 @@ __vue_render__$19._withStripped = true;
41190
41195
  /* style */
41191
41196
  const __vue_inject_styles__$19 = function (inject) {
41192
41197
  if (!inject) return
41193
- inject("data-v-2fe09010_0", { source: ".zd-container[data-v-2fe09010] {\n padding: var(--zd-default-padding);\n}", map: undefined, media: undefined });
41198
+ inject("data-v-a056e4b6_0", { source: ".zd-container[data-v-a056e4b6] {\n padding: var(--zd-default-padding);\n}", map: undefined, media: undefined });
41194
41199
 
41195
41200
  };
41196
41201
  /* scoped */
41197
- const __vue_scope_id__$19 = "data-v-2fe09010";
41202
+ const __vue_scope_id__$19 = "data-v-a056e4b6";
41198
41203
  /* module identifier */
41199
41204
  const __vue_module_identifier__$19 = undefined;
41200
41205
  /* functional template */
@@ -957,7 +957,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
957
957
  if (!search) return items;
958
958
  search = search.toString().toLowerCase();
959
959
  if (search.trim() === '') return items;
960
- return items.filter(item => Object.keys(item).some(key => defaultFilter(getObjectValueByPath(item, key), search)));
960
+ return items.filter(item => Object.keys(item).some(key => defaultFilter(getObjectValueByPath(item, key), search, item)));
961
961
  }
962
962
  /**
963
963
  * Returns:
@@ -1009,10 +1009,10 @@ If you're seeing "$attrs is readonly", it's caused by this`);
1009
1009
  function clamp(value, min = 0, max = 1) {
1010
1010
  return Math.max(min, Math.min(max, value));
1011
1011
  }
1012
- function padEnd(str, length, char = '0') {
1012
+ function padEnd(str, length, char) {
1013
1013
  return str + char.repeat(Math.max(0, length - str.length));
1014
1014
  }
1015
- function chunk(str, size = 1) {
1015
+ function chunk(str, size) {
1016
1016
  const chunked = [];
1017
1017
  let index = 0;
1018
1018
 
@@ -1314,7 +1314,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
1314
1314
  const LANG_PREFIX = '$vuetify.';
1315
1315
  const fallback = Symbol('Lang fallback');
1316
1316
 
1317
- function getTranslation(locale, key, usingDefault = false, defaultLocale) {
1317
+ function getTranslation(locale, key, usingDefault, defaultLocale) {
1318
1318
  const shortKey = key.replace(LANG_PREFIX, '');
1319
1319
  let translation = getObjectValueByPath(locale, shortKey, fallback);
1320
1320
 
@@ -3254,7 +3254,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
3254
3254
  })
3255
3255
  /**/
3256
3256
 
3257
- function applicationable(value, events = []) {
3257
+ function applicationable(value, events) {
3258
3258
  /* @vue/component */
3259
3259
  return mixins(factory$3(['absolute', 'fixed'])).extend({
3260
3260
  name: 'applicationable',
@@ -12406,7 +12406,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
12406
12406
  }
12407
12407
  });
12408
12408
 
12409
- function createUTCDate(year, month = 0, day = 1) {
12409
+ function createUTCDate(year, month, day = 1) {
12410
12410
  let date;
12411
12411
 
12412
12412
  if (year < 100 && year >= 0) {
@@ -31261,7 +31261,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
31261
31261
  if (search.trim() === '') return items;
31262
31262
  return items.filter(function (item) {
31263
31263
  return Object.keys(item).some(function (key) {
31264
- return defaultFilter(getObjectValueByPath(item, key), search);
31264
+ return defaultFilter(getObjectValueByPath(item, key), search, item);
31265
31265
  });
31266
31266
  });
31267
31267
  }
@@ -41097,6 +41097,10 @@ If you're seeing "$attrs is readonly", it's caused by this`);
41097
41097
  PropWatch({ type: [Boolean, String], default: true }),
41098
41098
  __metadata("design:type", Boolean)
41099
41099
  ], ZdContainer.prototype, "fluid", void 0);
41100
+ __decorate([
41101
+ PropWatch({ type: [Boolean, String], default: false }),
41102
+ __metadata("design:type", Boolean)
41103
+ ], ZdContainer.prototype, "scrollView", void 0);
41100
41104
  __decorate([
41101
41105
  PropWatch({ type: [Boolean, String], default: false }),
41102
41106
  __metadata("design:type", Boolean)
@@ -41148,6 +41152,7 @@ If you're seeing "$attrs is readonly", it's caused by this`);
41148
41152
  height: _vm.$formatSize(_vm.instance.height),
41149
41153
  minHeight: _vm.$formatSize(_vm.instance.minHeight),
41150
41154
  maxHeight: _vm.$formatSize(_vm.instance.maxHeight),
41155
+ overflow: _vm.instance.scrollView ? "hidden auto" : "none",
41151
41156
  },
41152
41157
  _vm.$styleObject(_vm.instance.cssStyle)
41153
41158
  ),
@@ -41189,11 +41194,11 @@ If you're seeing "$attrs is readonly", it's caused by this`);
41189
41194
  /* style */
41190
41195
  const __vue_inject_styles__$19 = function (inject) {
41191
41196
  if (!inject) return
41192
- inject("data-v-2fe09010_0", { source: ".zd-container[data-v-2fe09010] {\n padding: var(--zd-default-padding);\n}", map: undefined, media: undefined });
41197
+ inject("data-v-a056e4b6_0", { source: ".zd-container[data-v-a056e4b6] {\n padding: var(--zd-default-padding);\n}", map: undefined, media: undefined });
41193
41198
 
41194
41199
  };
41195
41200
  /* scoped */
41196
- const __vue_scope_id__$19 = "data-v-2fe09010";
41201
+ const __vue_scope_id__$19 = "data-v-a056e4b6";
41197
41202
  /* module identifier */
41198
41203
  const __vue_module_identifier__$19 = undefined;
41199
41204
  /* functional template */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeedhi/vuetify",
3
- "version": "1.51.0",
3
+ "version": "1.52.0",
4
4
  "description": "Zeedhi Components based on Vuetify",
5
5
  "author": "Zeedhi <zeedhi@teknisa.com>",
6
6
  "license": "ISC",
@@ -51,5 +51,5 @@
51
51
  "@types/prismjs": "^1.16.2",
52
52
  "@types/sortablejs": "^1.10.6"
53
53
  },
54
- "gitHead": "39626d2a00dc4e4e4b0880de35415a6df61260fa"
54
+ "gitHead": "ea8b48bdb31135970fa5fa2144a6a29f77818a4a"
55
55
  }
@@ -5,6 +5,7 @@ import ZdComponentRender from '../zd-component/ZdComponentRender';
5
5
  */
6
6
  export default class ZdContainer extends ZdComponentRender {
7
7
  fluid: boolean;
8
+ scrollView: boolean;
8
9
  fillHeight: boolean;
9
10
  height: number | string;
10
11
  maxHeight: number | string;