@conduction/nextcloud-vue 0.1.0-beta.5 → 0.1.0-beta.6

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.
@@ -348,7 +348,7 @@
348
348
  }
349
349
 
350
350
 
351
- .cn-object-card[data-v-703aea9f] {
351
+ .cn-object-card[data-v-0d7a5d20] {
352
352
  display: flex;
353
353
  gap: 12px;
354
354
  padding: 16px;
@@ -358,39 +358,39 @@
358
358
  cursor: pointer;
359
359
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
360
360
  }
361
- .cn-object-card[data-v-703aea9f]:hover {
361
+ .cn-object-card[data-v-0d7a5d20]:hover {
362
362
  border-color: var(--color-primary-element);
363
363
  box-shadow: 0 2px 8px var(--color-box-shadow);
364
364
  }
365
- .cn-object-card--selected[data-v-703aea9f] {
365
+ .cn-object-card--selected[data-v-0d7a5d20] {
366
366
  border-color: var(--color-primary-element);
367
367
  background: var(--color-primary-element-light);
368
368
  }
369
- .cn-object-card__checkbox[data-v-703aea9f] {
369
+ .cn-object-card__checkbox[data-v-0d7a5d20] {
370
370
  flex-shrink: 0;
371
371
  padding-top: 2px;
372
372
  }
373
- .cn-object-card__content[data-v-703aea9f] {
373
+ .cn-object-card__content[data-v-0d7a5d20] {
374
374
  flex: 1;
375
375
  min-width: 0;
376
376
  }
377
- .cn-object-card__header[data-v-703aea9f] {
377
+ .cn-object-card__header[data-v-0d7a5d20] {
378
378
  display: flex;
379
379
  gap: 12px;
380
380
  align-items: flex-start;
381
381
  }
382
- .cn-object-card__image[data-v-703aea9f] {
382
+ .cn-object-card__image[data-v-0d7a5d20] {
383
383
  width: 48px;
384
384
  height: 48px;
385
385
  border-radius: var(--border-radius);
386
386
  object-fit: cover;
387
387
  flex-shrink: 0;
388
388
  }
389
- .cn-object-card__title-area[data-v-703aea9f] {
389
+ .cn-object-card__title-area[data-v-0d7a5d20] {
390
390
  flex: 1;
391
391
  min-width: 0;
392
392
  }
393
- .cn-object-card__title[data-v-703aea9f] {
393
+ .cn-object-card__title[data-v-0d7a5d20] {
394
394
  margin: 0;
395
395
  font-size: 16px;
396
396
  font-weight: 600;
@@ -399,16 +399,16 @@
399
399
  text-overflow: ellipsis;
400
400
  white-space: nowrap;
401
401
  }
402
- .cn-object-card__description[data-v-703aea9f] {
402
+ .cn-object-card__description[data-v-0d7a5d20] {
403
403
  margin: 4px 0 0;
404
404
  font-size: 13px;
405
405
  color: var(--color-text-maxcontrast);
406
406
  line-height: 1.4;
407
407
  }
408
- .cn-object-card__badges[data-v-703aea9f] {
408
+ .cn-object-card__badges[data-v-0d7a5d20] {
409
409
  margin-top: 8px;
410
410
  }
411
- .cn-object-card__metadata[data-v-703aea9f] {
411
+ .cn-object-card__metadata[data-v-0d7a5d20] {
412
412
  display: grid;
413
413
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
414
414
  gap: 8px;
@@ -416,19 +416,19 @@
416
416
  padding-top: 12px;
417
417
  border-top: 1px solid var(--color-border);
418
418
  }
419
- .cn-object-card__meta-item[data-v-703aea9f] {
419
+ .cn-object-card__meta-item[data-v-0d7a5d20] {
420
420
  display: flex;
421
421
  flex-direction: column;
422
422
  gap: 2px;
423
423
  }
424
- .cn-object-card__meta-label[data-v-703aea9f] {
424
+ .cn-object-card__meta-label[data-v-0d7a5d20] {
425
425
  font-size: 11px;
426
426
  font-weight: 500;
427
427
  color: var(--color-text-maxcontrast);
428
428
  text-transform: uppercase;
429
429
  letter-spacing: 0.3px;
430
430
  }
431
- .cn-object-card__actions[data-v-703aea9f] {
431
+ .cn-object-card__actions[data-v-0d7a5d20] {
432
432
  flex-shrink: 0;
433
433
  }
434
434
 
@@ -4068,7 +4068,7 @@ __vue_render__$G._withStripped = true;
4068
4068
  /* style */
4069
4069
  const __vue_inject_styles__$G = undefined;
4070
4070
  /* scoped */
4071
- const __vue_scope_id__$G = "data-v-703aea9f";
4071
+ const __vue_scope_id__$G = "data-v-0d7a5d20";
4072
4072
  /* module identifier */
4073
4073
  const __vue_module_identifier__$G = undefined;
4074
4074
  /* functional template */
@@ -45652,8 +45652,8 @@ function buildHeaders(contentType = 'application/json') {
45652
45652
  /**
45653
45653
  * Build a query string from a params object.
45654
45654
  *
45655
- * Handles _order serialization (JSON.stringify for objects) and skips
45656
- * null/undefined/empty values.
45655
+ * Handles array values by appending each item separately, plain object values
45656
+ * by JSON-serializing them, and skips null/undefined/empty values.
45657
45657
  *
45658
45658
  * @param {object} params Key-value pairs for query parameters
45659
45659
  * @return {string} Query string including leading '?' or empty string
@@ -45663,13 +45663,15 @@ function buildQueryString(params = {}) {
45663
45663
 
45664
45664
  for (const [key, value] of Object.entries(params)) {
45665
45665
  if (value === undefined || value === null || value === '') continue
45666
+ if (Array.isArray(value) && value.length === 0) continue
45667
+ if (typeof value === 'object' && !Array.isArray(value) && Object.keys(value).length === 0) continue
45666
45668
  if (Array.isArray(value)) {
45667
45669
  for (const item of value) {
45668
45670
  if (item !== undefined && item !== null && item !== '') {
45669
45671
  queryParams.append(key, String(item));
45670
45672
  }
45671
45673
  }
45672
- } else if (key === '_order' && typeof value === 'object') {
45674
+ } else if (typeof value === 'object') {
45673
45675
  queryParams.set(key, JSON.stringify(value));
45674
45676
  } else {
45675
45677
  queryParams.set(key, String(value));