@iankibetsh/shframework 5.8.4 → 5.8.5

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.
@@ -1,36 +1,4 @@
1
1
 
2
- .sh-phone{
3
- display: flex;
4
- width: 100%;
5
- align-items: center;
6
- padding: 0 0.25rem;
7
- }
8
- .phone-country{
9
- width: 2rem;
10
- border: none;
11
- align-self: center;
12
- outline: none !important;
13
- padding: 0.4rem;
14
- border-right: 1px solid #0003;
15
- }
16
- .phone-number{
17
- width: calc(100% - 2.2rem);
18
- border: none;
19
- align-self: center;
20
- outline: none;
21
- margin-bottom: 0;
22
- padding: 0.4rem;
23
- }
24
- .sh-phone img{
25
- padding: 0.125rem;
26
- width: 2rem;
27
- height: 2rem;
28
- }
29
- .phone-number::placeholder{
30
- font-weight: 300;
31
- opacity: 0.5;
32
- }
33
-
34
2
  /* Step Container */
35
3
  .sh-form-steps-container {
36
4
  margin-bottom: 2.5rem;
@@ -336,6 +304,54 @@
336
304
  cursor: pointer;
337
305
  }
338
306
 
307
+ .sh-phone{
308
+ display: flex;
309
+ width: 100%;
310
+ align-items: center;
311
+ padding: 0 0.25rem;
312
+ }
313
+ .phone-country{
314
+ width: 2rem;
315
+ border: none;
316
+ align-self: center;
317
+ outline: none !important;
318
+ padding: 0.4rem;
319
+ border-right: 1px solid #0003;
320
+ }
321
+ .phone-number{
322
+ width: calc(100% - 2.2rem);
323
+ border: none;
324
+ align-self: center;
325
+ outline: none;
326
+ margin-bottom: 0;
327
+ padding: 0.4rem;
328
+ }
329
+ .sh-phone img{
330
+ padding: 0.125rem;
331
+ width: 2rem;
332
+ height: 2rem;
333
+ }
334
+ .phone-number::placeholder{
335
+ font-weight: 300;
336
+ opacity: 0.5;
337
+ }
338
+
339
+ .sh-selected-item{
340
+ line-height: unset!important;
341
+ }
342
+ .sh-suggestion-input{
343
+ padding: 0.375rem 0.75rem;
344
+ }
345
+ .sh-suggest{
346
+ margin-bottom: 1rem;
347
+ padding: 0rem 0rem;
348
+ }
349
+ .sh-suggest-control::after{
350
+ margin-top: auto;
351
+ margin-bottom: auto;
352
+ margin-right: 0.255em;
353
+ }
354
+
339
355
  .permissions-main {
340
356
  background: #edeff2;
341
357
  }
@@ -368,22 +384,6 @@
368
384
  flex-grow: 1;
369
385
  }
370
386
 
371
- .sh-selected-item{
372
- line-height: unset!important;
373
- }
374
- .sh-suggestion-input{
375
- padding: 0.375rem 0.75rem;
376
- }
377
- .sh-suggest{
378
- margin-bottom: 1rem;
379
- padding: 0rem 0rem;
380
- }
381
- .sh-suggest-control::after{
382
- margin-top: auto;
383
- margin-bottom: auto;
384
- margin-right: 0.255em;
385
- }
386
-
387
387
  .callout{
388
388
  --bs-link-color-rgb: 110,168,254;
389
389
  --bs-code-color: #e685b5;
package/dist/library.js CHANGED
@@ -6086,7 +6086,13 @@ const shouldCache = vue.computed(() => {
6086
6086
  // Generates a unique, slug-safe key for IndexedDB storage
6087
6087
  const computedCacheKey = vue.computed(() => {
6088
6088
  if (props.cacheKey) return "sh_table_cache_" + props.cacheKey;
6089
- const keyBase = props.endPoint || props.query || "default";
6089
+ let keyBase = props.endPoint || props.query || "default";
6090
+
6091
+ // Include date range in the key if active
6092
+ if (from.value || to.value || period.value) {
6093
+ keyBase += `_${from.value}_${to.value}_${period.value}`;
6094
+ }
6095
+
6090
6096
  const safeBase = keyBase.replace(/[^a-z0-9]/gi, "_").toLowerCase();
6091
6097
  return "sh_table_cache_" + safeBase;
6092
6098
  });
package/dist/library.mjs CHANGED
@@ -6075,7 +6075,13 @@ const shouldCache = computed(() => {
6075
6075
  // Generates a unique, slug-safe key for IndexedDB storage
6076
6076
  const computedCacheKey = computed(() => {
6077
6077
  if (props.cacheKey) return "sh_table_cache_" + props.cacheKey;
6078
- const keyBase = props.endPoint || props.query || "default";
6078
+ let keyBase = props.endPoint || props.query || "default";
6079
+
6080
+ // Include date range in the key if active
6081
+ if (from.value || to.value || period.value) {
6082
+ keyBase += `_${from.value}_${to.value}_${period.value}`;
6083
+ }
6084
+
6079
6085
  const safeBase = keyBase.replace(/[^a-z0-9]/gi, "_").toLowerCase();
6080
6086
  return "sh_table_cache_" + safeBase;
6081
6087
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iankibetsh/shframework",
3
- "version": "5.8.4",
3
+ "version": "5.8.5",
4
4
  "description": "Vue library for handling laravel backend",
5
5
  "repository": {
6
6
  "type": "git",