ol-base-components 3.6.1 → 3.6.2

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.
package/dist/index.mjs CHANGED
@@ -8221,17 +8221,17 @@ function requireFunctionUncurryThis() {
8221
8221
  };
8222
8222
  return functionUncurryThis;
8223
8223
  }
8224
- var uncurryThis$6 = requireFunctionUncurryThis();
8225
- var toString$2 = uncurryThis$6({}.toString);
8226
- var stringSlice$1 = uncurryThis$6("".slice);
8224
+ var uncurryThis$7 = requireFunctionUncurryThis();
8225
+ var toString$2 = uncurryThis$7({}.toString);
8226
+ var stringSlice$1 = uncurryThis$7("".slice);
8227
8227
  var classofRaw = function(it2) {
8228
8228
  return stringSlice$1(toString$2(it2), 8, -1);
8229
8229
  };
8230
- var uncurryThis$5 = requireFunctionUncurryThis();
8230
+ var uncurryThis$6 = requireFunctionUncurryThis();
8231
8231
  var fails$6 = fails$9;
8232
8232
  var classof$1 = classofRaw;
8233
8233
  var $Object$1 = Object;
8234
- var split = uncurryThis$5("".split);
8234
+ var split = uncurryThis$6("".split);
8235
8235
  var indexedObject = fails$6(function() {
8236
8236
  return !$Object$1("z").propertyIsEnumerable(0);
8237
8237
  }) ? function(it2) {
@@ -8270,16 +8270,8 @@ var aFunction = function(argument) {
8270
8270
  var getBuiltIn$3 = function(namespace, method) {
8271
8271
  return arguments.length < 2 ? aFunction(globalThis$7[namespace]) : globalThis$7[namespace] && globalThis$7[namespace][method];
8272
8272
  };
8273
- var objectIsPrototypeOf;
8274
- var hasRequiredObjectIsPrototypeOf;
8275
- function requireObjectIsPrototypeOf() {
8276
- if (hasRequiredObjectIsPrototypeOf)
8277
- return objectIsPrototypeOf;
8278
- hasRequiredObjectIsPrototypeOf = 1;
8279
- var uncurryThis2 = requireFunctionUncurryThis();
8280
- objectIsPrototypeOf = uncurryThis2({}.isPrototypeOf);
8281
- return objectIsPrototypeOf;
8282
- }
8273
+ var uncurryThis$5 = requireFunctionUncurryThis();
8274
+ var objectIsPrototypeOf = uncurryThis$5({}.isPrototypeOf);
8283
8275
  var environmentUserAgent;
8284
8276
  var hasRequiredEnvironmentUserAgent;
8285
8277
  function requireEnvironmentUserAgent() {
@@ -8333,7 +8325,7 @@ var NATIVE_SYMBOL$1 = symbolConstructorDetection;
8333
8325
  var useSymbolAsUid = NATIVE_SYMBOL$1 && !Symbol.sham && typeof Symbol.iterator == "symbol";
8334
8326
  var getBuiltIn$2 = getBuiltIn$3;
8335
8327
  var isCallable$5 = isCallable$8;
8336
- var isPrototypeOf = requireObjectIsPrototypeOf();
8328
+ var isPrototypeOf = objectIsPrototypeOf;
8337
8329
  var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
8338
8330
  var $Object = Object;
8339
8331
  var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function(it2) {
@@ -14486,7 +14478,7 @@ const __vue2_script$2 = {
14486
14478
  manualField.prop = userProp;
14487
14479
  } else {
14488
14480
  this.searchFields.push(swaggerField);
14489
- this.$set(this.internalSearchModel, swaggerField.prop, swaggerField.defaultValue ?? null);
14481
+ this.$set(this.internalSearchModel, swaggerField.prop, swaggerField.defaultValue != null ? swaggerField.defaultValue : null);
14490
14482
  }
14491
14483
  });
14492
14484
  this.autoDetectRangeTimeFields(parameters);
@@ -14697,7 +14689,7 @@ const __vue2_script$2 = {
14697
14689
  });
14698
14690
  toAdd.forEach((f2) => {
14699
14691
  searchFields.push(f2);
14700
- this.$set(this.internalSearchModel, f2.prop, f2.defaultValue ?? null);
14692
+ this.$set(this.internalSearchModel, f2.prop, f2.defaultValue != null ? f2.defaultValue : null);
14701
14693
  });
14702
14694
  if (toAdd.length) {
14703
14695
  this.initSearchDefaults();
@@ -14882,7 +14874,7 @@ const __vue2_script$2 = {
14882
14874
  }
14883
14875
  const result = response && response.result || response || {};
14884
14876
  const rows = result.items || result.records || result.list || result.data || [];
14885
- const total = result.total ?? result.totalCount ?? result.count ?? rows.length ?? 0;
14877
+ const total = result.total != null ? result.total : result.totalCount != null ? result.totalCount : result.count != null ? result.count : rows.length != null ? rows.length : 0;
14886
14878
  if (Array.isArray(result)) {
14887
14879
  return { rows: result, total: result.length };
14888
14880
  }
@@ -15029,7 +15021,7 @@ const __vue2_script$2 = {
15029
15021
  });
15030
15022
  };
15031
15023
  walkUser(this.columns);
15032
- const sorted = [...fields].sort((a2, b2) => (a2.order ?? 0) - (b2.order ?? 0));
15024
+ const sorted = [...fields].sort((a2, b2) => (a2.order != null ? a2.order : 0) - (b2.order != null ? b2.order : 0));
15033
15025
  const apiColumns = sorted.map((f2) => {
15034
15026
  const user = userColMap[f2.fieldName];
15035
15027
  const base = { prop: f2.fieldName, label: f2.displayName || f2.fieldName, show: f2.isVisible !== false, fixed: f2.isFixed || false, sortable: false };
@@ -15258,7 +15250,7 @@ var __component__$2 = /* @__PURE__ */ normalizeComponent(
15258
15250
  staticRenderFns$2,
15259
15251
  false,
15260
15252
  __vue2_injectStyles$2,
15261
- "0acfdd91",
15253
+ "7a4daab6",
15262
15254
  null,
15263
15255
  null
15264
15256
  );
@@ -86079,7 +86071,7 @@ function requireAnInstance() {
86079
86071
  if (hasRequiredAnInstance)
86080
86072
  return anInstance;
86081
86073
  hasRequiredAnInstance = 1;
86082
- var isPrototypeOf2 = requireObjectIsPrototypeOf();
86074
+ var isPrototypeOf2 = objectIsPrototypeOf;
86083
86075
  var $TypeError2 = TypeError;
86084
86076
  anInstance = function(it2, Prototype) {
86085
86077
  if (isPrototypeOf2(Prototype, it2))
@@ -86999,7 +86991,7 @@ function requireIterate() {
86999
86991
  var tryToString2 = requireTryToString();
87000
86992
  var isArrayIteratorMethod2 = requireIsArrayIteratorMethod();
87001
86993
  var lengthOfArrayLike2 = lengthOfArrayLike$1;
87002
- var isPrototypeOf2 = requireObjectIsPrototypeOf();
86994
+ var isPrototypeOf2 = objectIsPrototypeOf;
87003
86995
  var getIterator2 = requireGetIterator();
87004
86996
  var getIteratorMethod2 = requireGetIteratorMethod();
87005
86997
  var iteratorClose2 = requireIteratorClose();
@@ -88419,7 +88411,7 @@ function requireRegexpGetFlags() {
88419
88411
  hasRequiredRegexpGetFlags = 1;
88420
88412
  var call2 = functionCall;
88421
88413
  var hasOwn3 = hasOwnProperty_1;
88422
- var isPrototypeOf2 = requireObjectIsPrototypeOf();
88414
+ var isPrototypeOf2 = objectIsPrototypeOf;
88423
88415
  var regExpFlagsDetection = requireRegexpFlagsDetection();
88424
88416
  var regExpFlagsGetterImplementation = requireRegexpFlags();
88425
88417
  var RegExpPrototype = RegExp.prototype;
@@ -90558,7 +90550,7 @@ function requireEs_number_constructor() {
90558
90550
  var isForced2 = isForced_1;
90559
90551
  var hasOwn3 = hasOwnProperty_1;
90560
90552
  var inheritIfRequired2 = requireInheritIfRequired();
90561
- var isPrototypeOf2 = requireObjectIsPrototypeOf();
90553
+ var isPrototypeOf2 = objectIsPrototypeOf;
90562
90554
  var isSymbol2 = isSymbol$2;
90563
90555
  var toPrimitive2 = toPrimitive$2;
90564
90556
  var fails2 = fails$9;