@iankibetsh/shframework 5.6.1 → 5.6.3

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/library.js CHANGED
@@ -258,11 +258,14 @@ function formatDate(date, format){
258
258
  if (!format) {
259
259
  format = 'lll';
260
260
  }
261
+
261
262
  const formatMap = {
262
263
  'lll': "MMM d, yyyy, h:mm a",
263
264
  'LLL': "MMMM d, yyyy, h:mm a",
265
+ 'll': "MMMM d, yyyy",
264
266
  'LL': "MMMM d, yyyy",
265
267
  'L': "MM/dd/yyyy",
268
+ 'l': "MM/dd/yyyy",
266
269
  'YYYY-MM-DD': 'yyyy-MM-dd',
267
270
  'YYYY/MM/DD': 'yyyy/MM/dd',
268
271
  'YYYY': 'yyyy',
@@ -6367,7 +6370,9 @@ return (_ctx, _cache) => {
6367
6370
  ], 2 /* CLASS */),
6368
6371
  vue.createElementVNode("div", _hoisted_5$3, [
6369
6372
  (vue.unref(currentTab))
6370
- ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.unref(currentTab).component ?? __props.defaultComponent), vue.normalizeProps(vue.mergeProps({ key: 0 }, vue.unref(currentTab))), null, 16 /* FULL_PROPS */))
6373
+ ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.unref(currentTab).component ?? __props.defaultComponent), vue.mergeProps({
6374
+ key: getTabKey(vue.unref(currentTab))
6375
+ }, vue.unref(currentTab)), null, 16 /* FULL_PROPS */))
6371
6376
  : vue.createCommentVNode("v-if", true)
6372
6377
  ])
6373
6378
  ], 64 /* STABLE_FRAGMENT */))
package/dist/library.mjs CHANGED
@@ -3,7 +3,7 @@ import { DateTime } from 'luxon';
3
3
  import Swal from 'sweetalert2';
4
4
  import { Modal, Offcanvas } from 'bootstrap';
5
5
  import NProgress from 'nprogress';
6
- import { openBlock, createElementBlock, createElementVNode, createTextVNode, toDisplayString, createCommentVNode, withDirectives, Fragment, renderList, vModelSelect, vModelText, ref, onMounted, watch, unref, normalizeClass, createBlock, resolveDynamicComponent, resolveComponent, inject, useTemplateRef, mergeProps, renderSlot, normalizeStyle, computed, Teleport, createVNode, withCtx, useSlots, onBeforeUnmount, reactive, vModelCheckbox, resolveDirective, shallowRef, normalizeProps, markRaw, isRef } from 'vue';
6
+ import { openBlock, createElementBlock, createElementVNode, createTextVNode, toDisplayString, createCommentVNode, withDirectives, Fragment, renderList, vModelSelect, vModelText, ref, onMounted, watch, unref, normalizeClass, createBlock, resolveDynamicComponent, resolveComponent, inject, useTemplateRef, mergeProps, renderSlot, normalizeStyle, computed, Teleport, createVNode, withCtx, useSlots, onBeforeUnmount, reactive, vModelCheckbox, resolveDirective, shallowRef, markRaw, isRef } from 'vue';
7
7
  import _ from 'lodash';
8
8
  import { defineStore, storeToRefs } from 'pinia';
9
9
  import { useRoute, useRouter } from 'vue-router';
@@ -247,11 +247,14 @@ function formatDate(date, format){
247
247
  if (!format) {
248
248
  format = 'lll';
249
249
  }
250
+
250
251
  const formatMap = {
251
252
  'lll': "MMM d, yyyy, h:mm a",
252
253
  'LLL': "MMMM d, yyyy, h:mm a",
254
+ 'll': "MMMM d, yyyy",
253
255
  'LL': "MMMM d, yyyy",
254
256
  'L': "MM/dd/yyyy",
257
+ 'l': "MM/dd/yyyy",
255
258
  'YYYY-MM-DD': 'yyyy-MM-dd',
256
259
  'YYYY/MM/DD': 'yyyy/MM/dd',
257
260
  'YYYY': 'yyyy',
@@ -6356,7 +6359,9 @@ return (_ctx, _cache) => {
6356
6359
  ], 2 /* CLASS */),
6357
6360
  createElementVNode("div", _hoisted_5$3, [
6358
6361
  (unref(currentTab))
6359
- ? (openBlock(), createBlock(resolveDynamicComponent(unref(currentTab).component ?? __props.defaultComponent), normalizeProps(mergeProps({ key: 0 }, unref(currentTab))), null, 16 /* FULL_PROPS */))
6362
+ ? (openBlock(), createBlock(resolveDynamicComponent(unref(currentTab).component ?? __props.defaultComponent), mergeProps({
6363
+ key: getTabKey(unref(currentTab))
6364
+ }, unref(currentTab)), null, 16 /* FULL_PROPS */))
6360
6365
  : createCommentVNode("v-if", true)
6361
6366
  ])
6362
6367
  ], 64 /* STABLE_FRAGMENT */))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iankibetsh/shframework",
3
- "version": "5.6.1",
3
+ "version": "5.6.3",
4
4
  "description": "Vue library for handling laravel backend",
5
5
  "main": "dist/library.js",
6
6
  "module": "dist/library.mjs",