jplan-pack 0.6.579 → 0.6.632

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.
Files changed (30) hide show
  1. package/dist/{AuthFailRoute-U_lsoDcr.js → AuthFailRoute-BwJZ4NoO.js} +1 -1
  2. package/dist/{AuthFailRoute-_488ZYtZ.mjs → AuthFailRoute-MNlDzkTb.mjs} +1 -1
  3. package/dist/{AuthRoute-DNDRVInY.mjs → AuthRoute-Eq-RSAEF.mjs} +1 -1
  4. package/dist/{AuthRoute-DECs0XNB.js → AuthRoute-oWS_RAsC.js} +1 -1
  5. package/dist/index-C30WKG0I.js +92 -0
  6. package/dist/{index-Cc7ixNZC.mjs → index-CSo3vK_R.mjs} +4790 -4787
  7. package/dist/index.css +1 -1
  8. package/dist/jplan-pack.cjs.js +1 -1
  9. package/dist/jplan-pack.es.js +28 -28
  10. package/dist/types/_auth/composables/useSession.d.ts +2 -1
  11. package/dist/types/_auth/msal/msal.d.ts +1 -1
  12. package/dist/types/_auth/navigation-guard/type.d.ts +2 -1
  13. package/dist/types/components/AvatarPicture.d.ts +3 -5
  14. package/dist/types/components/CopyButton.d.ts +4 -7
  15. package/dist/types/components/DeleteAllBtn.d.ts +6 -3
  16. package/dist/types/components/DotsMenu.d.ts +7 -11
  17. package/dist/types/components/EditButton.d.ts +6 -3
  18. package/dist/types/components/JAvatar.d.ts +3 -4
  19. package/dist/types/components/ParentCard.d.ts +6 -9
  20. package/dist/types/components/ReadOnlyField.d.ts +3 -4
  21. package/dist/types/components/SearchFilter.d.ts +4 -0
  22. package/dist/types/components/index.d.ts +6 -5
  23. package/dist/types/components/menu/SubMenu.d.ts +24 -0
  24. package/dist/types/components/table/advanced/TableAdvanced.d.ts +4 -1
  25. package/dist/types/components/table/advanced/TableHeader.d.ts +15 -8
  26. package/dist/types/types/components.d.ts +65 -0
  27. package/dist/types/utils/helpers/layout.d.ts +4 -0
  28. package/package.json +1 -1
  29. package/dist/index-PmrFb_Ls.js +0 -87
  30. package/dist/types/components/DotsMenuV1.d.ts +0 -27
package/dist/index.css CHANGED
@@ -1,4 +1,4 @@
1
- @charset "UTF-8";.relative[data-v-a53b15af]{position:relative}.min-h-_JTable-header[data-v-e32028c0]{min-height:60px}.top-J-_Field[data-v-e32028c0]{max-width:370px;min-width:370px}.v-row[data-v-e1a4ccbc]{--v-spacing: 0}.tb-cards-h[data-v-e1a4ccbc]{height:calc(100vh - 300px);overflow:auto}.max-w-_form-metadataJ{max-width:400px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.height[data-v-489d31c3]{height:calc(100vh - 280px)}@keyframes spinner-loading-00d7a69f{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.spinner-loading div[data-v-00d7a69f]{box-sizing:border-box!important}.spinner-loading>div[data-v-00d7a69f]{position:absolute;width:148px;height:148px;top:26px;left:26px;border-radius:50%;border:8px solid #000;border-color:#00ff82 transparent #00ff82 transparent;animation:spinner-loading-00d7a69f 1.3333333333333333s linear infinite}.spinner-loading>div[data-v-00d7a69f]:nth-child(2),.spinner-loading>div[data-v-00d7a69f]:nth-child(4){width:128px;height:128px;top:36px;left:36px;animation:spinner-loading-00d7a69f 1.3333333333333333s linear infinite reverse}.spinner-loading>div[data-v-00d7a69f]:nth-child(2){border-color:transparent #00cd78 transparent #00cd78}.spinner-loading>div[data-v-00d7a69f]:nth-child(3){border-color:transparent}.spinner-loading>div:nth-child(3) div[data-v-00d7a69f]{position:absolute;width:100%;height:100%;transform:rotate(45deg)}.spinner-loading>div:nth-child(3) div[data-v-00d7a69f]:before,.spinner-loading>div:nth-child(3) div[data-v-00d7a69f]:after{content:"";display:block;position:absolute;width:8px;height:8px;top:-8px;left:62px;background:#00ff82;border-radius:50%;box-shadow:0 140px #00ff82}.spinner-loading>div:nth-child(3) div[data-v-00d7a69f]:after{left:-8px;top:62px;box-shadow:140px 0 #00ff82}.spinner-loading>div[data-v-00d7a69f]:nth-child(4){border-color:transparent}.spinner-loading>div:nth-child(4) div[data-v-00d7a69f]{position:absolute;width:100%;height:100%;transform:rotate(45deg)}.spinner-loading>div:nth-child(4) div[data-v-00d7a69f]:before,.spinner-loading>div:nth-child(4) div[data-v-00d7a69f]:after{content:"";display:block;position:absolute;width:8px;height:8px;top:-8px;left:52px;background:#00cd78;border-radius:50%;box-shadow:0 120px #00cd78}.spinner-loading>div:nth-child(4) div[data-v-00d7a69f]:after{left:-8px;top:52px;box-shadow:120px 0 #00cd78}.double-ring-spinner-container[data-v-00d7a69f]{width:200px;height:200px;display:inline-block;overflow:hidden;background:none}.spinner-loading[data-v-00d7a69f]{width:100%;height:100%;position:relative;transform:translateZ(0) scale(1);backface-visibility:hidden;transform-origin:0 0}._jspinner-overlay_jj{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;z-index:10000;display:flex;align-items:center;justify-content:center}@keyframes j-global-spinner-loading{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.j-global-spinner-loading div{box-sizing:border-box!important}.j-global-spinner-loading>div{position:absolute;width:148px;height:148px;top:26px;left:26px;border-radius:50%;border:8px solid #000;border-color:#00ff82 transparent #00ff82 transparent;animation:j-global-spinner-loading 1.3333333333333333s linear infinite}.j-global-spinner-loading>div:nth-child(2),.j-global-spinner-loading>div:nth-child(4){width:128px;height:128px;top:36px;left:36px;animation:j-global-spinner-loading 1.3333333333333333s linear infinite reverse}.j-global-spinner-loading>div:nth-child(2){border-color:transparent #00cd78 transparent #00cd78}.j-global-spinner-loading>div:nth-child(3){border-color:transparent}.j-global-spinner-loading>div:nth-child(3) div{position:absolute;width:100%;height:100%;transform:rotate(45deg)}.j-global-spinner-loading>div:nth-child(3) div:before,.j-global-spinner-loading>div:nth-child(3) div:after{content:"";display:block;position:absolute;width:8px;height:8px;top:-8px;left:62px;background:#00ff82;border-radius:50%;box-shadow:0 140px #00ff82}.j-global-spinner-loading>div:nth-child(3) div:after{left:-8px;top:62px;box-shadow:140px 0 #00ff82}.j-global-spinner-loading>div:nth-child(4){border-color:transparent}.j-global-spinner-loading>div:nth-child(4) div{position:absolute;width:100%;height:100%;transform:rotate(45deg)}.j-global-spinner-loading>div:nth-child(4) div:before,.j-global-spinner-loading>div:nth-child(4) div:after{content:"";display:block;position:absolute;width:8px;height:8px;top:-8px;left:52px;background:#00cd78;border-radius:50%;box-shadow:0 120px #00cd78}.j-global-spinner-loading>div:nth-child(4) div:after{left:-8px;top:52px;box-shadow:120px 0 #00cd78}.j-double-ring-spinner-container{width:200px;height:200px;display:inline-block;overflow:hidden;background:none}.j-global-spinner-loading{width:100%;height:100%;position:relative;transform:translateZ(0) scale(1);backface-visibility:hidden;transform-origin:0 0}@keyframes v-shake{59%{margin-left:0}60%,80%{margin-left:2px}70%,90%{margin-left:-2px}}/*!
1
+ @charset "UTF-8";.relative[data-v-a53b15af]{position:relative}.min-h-_JTable-header[data-v-d6f24b9d]{min-height:60px}.top-J-_Field[data-v-d6f24b9d]{max-width:370px;min-width:370px}.v-row[data-v-e1a4ccbc]{--v-spacing: 0}.tb-cards-h[data-v-e1a4ccbc]{height:calc(100vh - 300px);overflow:auto}.max-w-_form-metadataJ{max-width:400px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.height[data-v-489d31c3]{height:calc(100vh - 280px)}@keyframes spinner-loading-00d7a69f{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.spinner-loading div[data-v-00d7a69f]{box-sizing:border-box!important}.spinner-loading>div[data-v-00d7a69f]{position:absolute;width:148px;height:148px;top:26px;left:26px;border-radius:50%;border:8px solid #000;border-color:#00ff82 transparent #00ff82 transparent;animation:spinner-loading-00d7a69f 1.3333333333333333s linear infinite}.spinner-loading>div[data-v-00d7a69f]:nth-child(2),.spinner-loading>div[data-v-00d7a69f]:nth-child(4){width:128px;height:128px;top:36px;left:36px;animation:spinner-loading-00d7a69f 1.3333333333333333s linear infinite reverse}.spinner-loading>div[data-v-00d7a69f]:nth-child(2){border-color:transparent #00cd78 transparent #00cd78}.spinner-loading>div[data-v-00d7a69f]:nth-child(3){border-color:transparent}.spinner-loading>div:nth-child(3) div[data-v-00d7a69f]{position:absolute;width:100%;height:100%;transform:rotate(45deg)}.spinner-loading>div:nth-child(3) div[data-v-00d7a69f]:before,.spinner-loading>div:nth-child(3) div[data-v-00d7a69f]:after{content:"";display:block;position:absolute;width:8px;height:8px;top:-8px;left:62px;background:#00ff82;border-radius:50%;box-shadow:0 140px #00ff82}.spinner-loading>div:nth-child(3) div[data-v-00d7a69f]:after{left:-8px;top:62px;box-shadow:140px 0 #00ff82}.spinner-loading>div[data-v-00d7a69f]:nth-child(4){border-color:transparent}.spinner-loading>div:nth-child(4) div[data-v-00d7a69f]{position:absolute;width:100%;height:100%;transform:rotate(45deg)}.spinner-loading>div:nth-child(4) div[data-v-00d7a69f]:before,.spinner-loading>div:nth-child(4) div[data-v-00d7a69f]:after{content:"";display:block;position:absolute;width:8px;height:8px;top:-8px;left:52px;background:#00cd78;border-radius:50%;box-shadow:0 120px #00cd78}.spinner-loading>div:nth-child(4) div[data-v-00d7a69f]:after{left:-8px;top:52px;box-shadow:120px 0 #00cd78}.double-ring-spinner-container[data-v-00d7a69f]{width:200px;height:200px;display:inline-block;overflow:hidden;background:none}.spinner-loading[data-v-00d7a69f]{width:100%;height:100%;position:relative;transform:translateZ(0) scale(1);backface-visibility:hidden;transform-origin:0 0}._jspinner-overlay_jj{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;z-index:10000;display:flex;align-items:center;justify-content:center}@keyframes j-global-spinner-loading{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.j-global-spinner-loading div{box-sizing:border-box!important}.j-global-spinner-loading>div{position:absolute;width:148px;height:148px;top:26px;left:26px;border-radius:50%;border:8px solid #000;border-color:#00ff82 transparent #00ff82 transparent;animation:j-global-spinner-loading 1.3333333333333333s linear infinite}.j-global-spinner-loading>div:nth-child(2),.j-global-spinner-loading>div:nth-child(4){width:128px;height:128px;top:36px;left:36px;animation:j-global-spinner-loading 1.3333333333333333s linear infinite reverse}.j-global-spinner-loading>div:nth-child(2){border-color:transparent #00cd78 transparent #00cd78}.j-global-spinner-loading>div:nth-child(3){border-color:transparent}.j-global-spinner-loading>div:nth-child(3) div{position:absolute;width:100%;height:100%;transform:rotate(45deg)}.j-global-spinner-loading>div:nth-child(3) div:before,.j-global-spinner-loading>div:nth-child(3) div:after{content:"";display:block;position:absolute;width:8px;height:8px;top:-8px;left:62px;background:#00ff82;border-radius:50%;box-shadow:0 140px #00ff82}.j-global-spinner-loading>div:nth-child(3) div:after{left:-8px;top:62px;box-shadow:140px 0 #00ff82}.j-global-spinner-loading>div:nth-child(4){border-color:transparent}.j-global-spinner-loading>div:nth-child(4) div{position:absolute;width:100%;height:100%;transform:rotate(45deg)}.j-global-spinner-loading>div:nth-child(4) div:before,.j-global-spinner-loading>div:nth-child(4) div:after{content:"";display:block;position:absolute;width:8px;height:8px;top:-8px;left:52px;background:#00cd78;border-radius:50%;box-shadow:0 120px #00cd78}.j-global-spinner-loading>div:nth-child(4) div:after{left:-8px;top:52px;box-shadow:120px 0 #00cd78}.j-double-ring-spinner-container{width:200px;height:200px;display:inline-block;overflow:hidden;background:none}.j-global-spinner-loading{width:100%;height:100%;position:relative;transform:translateZ(0) scale(1);backface-visibility:hidden;transform-origin:0 0}@keyframes v-shake{59%{margin-left:0}60%,80%{margin-left:2px}70%,90%{margin-left:-2px}}/*!
2
2
  * ress.css • v2.0.4
3
3
  * MIT License
4
4
  * github.com/filipelinhares/ress
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index-PmrFb_Ls.js");require("@vueuse/core");exports.AvatarPicture=e._sfc_main$22;exports.ColumnSettingsDialog=e._sfc_main$2;exports.ConfirmDialog=e._sfc_main$5;exports.ContextMenu=e.ContextMenu;exports.CopyButton=e._sfc_main$6;exports.DeleteAllBtn=e._sfc_main$11;exports.DotsMenu=e._sfc_main$7;exports.DotsMenuV1=e._sfc_main$8;exports.EditButton=e._sfc_main$12;exports.EmptyListImg=e.EmptyListImg;exports.EventBus=e.EventBus;exports.FormHeadless=e.FormHeadless;exports.FormMetadata=e._sfc_main$9;exports.GlobalScopeFilter=e._sfc_main$23;exports.GlobalSpinner=e._sfc_main$24;exports.HttpCore=e.HttpCore;exports.JAvatar=e._sfc_main$21;exports.JBtn=e._sfc_main$10;exports.JDialog=e._sfc_main$13;exports.JForm=e._sfc_main$18;exports.JIconBtn=e._sfc_main$14;exports.JSelect=e._sfc_main$15;exports.JTextArea=e._sfc_main$16;exports.JTextField=e._sfc_main$17;Object.defineProperty(exports,"POSITION",{enumerable:!0,get:()=>e.POSITION});exports.ParentCard=e._sfc_main$20;exports.SearchFilter=e._sfc_main$4;exports.SpinnerLoader=e.SpinnerLoader;Object.defineProperty(exports,"TYPE",{enumerable:!0,get:()=>e.TYPE});exports.TabFormHeader=e._sfc_main$19;exports.TableAdvanced=e._sfc_main$1;exports.TableCard=e._sfc_main$3;exports.TableCardsView=e.TableCardsView;exports.TableHeader=e.TableHeader;exports.UiTable=e._sfc_main;exports.__spinner=e.__spinner;exports.branchInstance=e.branchInstance;exports.coreClient=e.coreClient;exports.createToastInterface=e.createToastInterface;exports.dateFormat=e.dateFormat;exports.default=e.index;exports.divisionInstance=e.divisionInstance;exports.filterQuery=e.filterQuery;exports.globalEventBus=e.globalEventBus;exports.manageUserInstance=e.manageUserInstance;exports.orgInstance=e.orgInstance;exports.provideToast=e.provideToast;exports.scopedClient=e.scopedClient;exports.setupAuthGuard=e.setupAuthGuard;exports.teamInstance=e.teamInstance;exports.toastInjectionKey=e.toastInjectionKey;exports.useAuth=e.useAuth;exports.useBranchStore=e.useBranchStore;exports.useCustomizer=e.useCustomizer;exports.useDialog=e.useDialog;exports.useDivisionStore=e.useDivisionStore;exports.useManageUserStore=e.useManageUserStore;exports.useOrganizationStore=e.useOrganizationStore;exports.useSession=e.useSession;exports.useTeamStore=e.useTeamStore;exports.useToast=e.useToast;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index-C30WKG0I.js");require("@vueuse/core");exports.AvatarPicture=e._sfc_main$20;exports.ColumnSettingsDialog=e._sfc_main$2;exports.ConfirmDialog=e._sfc_main$5;exports.ContextMenu=e.ContextMenu;exports.CopyButton=e._sfc_main$6;exports.DeleteAllBtn=e._sfc_main$10;exports.DotsMenu=e._sfc_main$7;exports.EditButton=e._sfc_main$11;exports.EmptyListImg=e.EmptyListImg;exports.EventBus=e.EventBus;exports.FormHeadless=e.FormHeadless;exports.FormMetadata=e._sfc_main$8;exports.GlobalScopeFilter=e._sfc_main$23;exports.GlobalSpinner=e._sfc_main$24;exports.HttpCore=e.HttpCore;exports.JAvatar=e._sfc_main$19;exports.JBtn=e._sfc_main$9;exports.JDialog=e._sfc_main$21;exports.JForm=e._sfc_main$16;exports.JIconBtn=e._sfc_main$12;exports.JSelect=e._sfc_main$13;exports.JTextArea=e._sfc_main$14;exports.JTextField=e._sfc_main$15;Object.defineProperty(exports,"POSITION",{enumerable:!0,get:()=>e.POSITION});exports.ParentCard=e._sfc_main$18;exports.SearchFilter=e._sfc_main$4;exports.SpinnerLoader=e.SpinnerLoader;exports.SubMenu=e._sfc_main$22;Object.defineProperty(exports,"TYPE",{enumerable:!0,get:()=>e.TYPE});exports.TabFormHeader=e._sfc_main$17;exports.TableAdvanced=e._sfc_main$1;exports.TableCard=e._sfc_main$3;exports.TableCardsView=e.TableCardsView;exports.TableHeader=e.TableHeader;exports.UiTable=e._sfc_main;exports.__spinner=e.__spinner;exports.branchInstance=e.branchInstance;exports.coreClient=e.coreClient;exports.createToastInterface=e.createToastInterface;exports.dateFormat=e.dateFormat;exports.default=e.index;exports.divisionInstance=e.divisionInstance;exports.filterQuery=e.filterQuery;exports.globalEventBus=e.globalEventBus;exports.manageUserInstance=e.manageUserInstance;exports.orgInstance=e.orgInstance;exports.provideToast=e.provideToast;exports.scopedClient=e.scopedClient;exports.setupAuthGuard=e.setupAuthGuard;exports.teamInstance=e.teamInstance;exports.toastInjectionKey=e.toastInjectionKey;exports.useAuth=e.useAuth;exports.useBranchStore=e.useBranchStore;exports.useCustomizer=e.useCustomizer;exports.useDialog=e.useDialog;exports.useDivisionStore=e.useDivisionStore;exports.useManageUserStore=e.useManageUserStore;exports.useOrganizationStore=e.useOrganizationStore;exports.useSession=e.useSession;exports.useTeamStore=e.useTeamStore;exports.useToast=e.useToast;
@@ -1,34 +1,34 @@
1
- import { G as t, f as n, k as o, D as r, l as i, r as l, n as u, o as c, t as d, P as m, Q as T, F as S, p, H as g, I as C, M as I, E as b, q as v, v as B, A as D, w as F, x as J, y as A, z as f, R as h, C as E, j as M, S as x, U as y, B as H, e as P, g as G, h as O, T as U, d as z, a as L, a0 as V, c as j, V as w, O as K, i as N, Z as Q, N as Y, W as _, a2 as k, $ as q, X as R, a8 as W, s as X, a1 as Z, Y as $, b as aa, a5 as sa, J as ea, K as ta, a3 as na, a7 as oa, a4 as ra, u as ia, a6 as la, L as ua } from "./index-Cc7ixNZC.mjs";
1
+ import { D as t, f as n, k as r, C as o, l as i, q as l, n as u, r as c, P as d, Q as m, F as S, o as T, H as p, I as b, M as g, B as C, p as I, E as v, y as B, t as F, v as J, w as A, x as D, R as f, A as h, j as E, S as M, G as x, U as y, z as H, e as P, g as G, h as O, T as U, d as z, a as L, a0 as j, c as w, V as K, O as N, i as Q, Z as V, N as Y, W as _, a2 as k, $ as q, X as R, a8 as W, s as X, a1 as Z, Y as $, b as aa, a5 as sa, J as ea, K as ta, a3 as na, a7 as ra, a4 as oa, u as ia, a6 as la, L as ua } from "./index-CSo3vK_R.mjs";
2
2
  import "@vueuse/core";
3
3
  export {
4
4
  t as AvatarPicture,
5
5
  n as ColumnSettingsDialog,
6
- o as ConfirmDialog,
7
- r as ContextMenu,
6
+ r as ConfirmDialog,
7
+ o as ContextMenu,
8
8
  i as CopyButton,
9
9
  l as DeleteAllBtn,
10
10
  u as DotsMenu,
11
- c as DotsMenuV1,
12
- d as EditButton,
13
- m as EmptyListImg,
14
- T as EventBus,
11
+ c as EditButton,
12
+ d as EmptyListImg,
13
+ m as EventBus,
15
14
  S as FormHeadless,
16
- p as FormMetadata,
17
- g as GlobalScopeFilter,
18
- C as GlobalSpinner,
19
- I as HttpCore,
20
- b as JAvatar,
21
- v as JBtn,
22
- B as JDialog,
23
- D as JForm,
15
+ T as FormMetadata,
16
+ p as GlobalScopeFilter,
17
+ b as GlobalSpinner,
18
+ g as HttpCore,
19
+ C as JAvatar,
20
+ I as JBtn,
21
+ v as JDialog,
22
+ B as JForm,
24
23
  F as JIconBtn,
25
24
  J as JSelect,
26
25
  A as JTextArea,
27
- f as JTextField,
28
- h as POSITION,
29
- E as ParentCard,
30
- M as SearchFilter,
31
- x as SpinnerLoader,
26
+ D as JTextField,
27
+ f as POSITION,
28
+ h as ParentCard,
29
+ E as SearchFilter,
30
+ M as SpinnerLoader,
31
+ x as SubMenu,
32
32
  y as TYPE,
33
33
  H as TabFormHeader,
34
34
  P as TableAdvanced,
@@ -37,12 +37,12 @@ export {
37
37
  U as TableHeader,
38
38
  z as UiTable,
39
39
  L as __spinner,
40
- V as branchInstance,
41
- j as coreClient,
42
- w as createToastInterface,
43
- K as dateFormat,
44
- N as default,
45
- Q as divisionInstance,
40
+ j as branchInstance,
41
+ w as coreClient,
42
+ K as createToastInterface,
43
+ N as dateFormat,
44
+ Q as default,
45
+ V as divisionInstance,
46
46
  Y as filterQuery,
47
47
  _ as globalEventBus,
48
48
  k as manageUserInstance,
@@ -57,8 +57,8 @@ export {
57
57
  ea as useCustomizer,
58
58
  ta as useDialog,
59
59
  na as useDivisionStore,
60
- oa as useManageUserStore,
61
- ra as useOrganizationStore,
60
+ ra as useManageUserStore,
61
+ oa as useOrganizationStore,
62
62
  ia as useSession,
63
63
  la as useTeamStore,
64
64
  ua as useToast
@@ -1,13 +1,14 @@
1
1
  import { ComputedRef, Ref } from 'vue';
2
2
  import { Domain, User } from './type';
3
3
  import { Scope } from '../../types/client/scope';
4
+ import { RouteLocationNormalized } from 'vue-router';
4
5
  export default function useSession(): {
5
6
  __init__: () => Promise<void>;
6
7
  user: Ref<User | null, User | null>;
7
8
  userDomains: Ref<Domain[] | null, Domain[] | null>;
8
9
  setEnv: (newEnv: string) => void;
9
10
  setScope: (newScope: Scope | null) => void;
10
- changeDomain: (newDomain: string) => Promise<void>;
11
+ changeDomain: (returnPath: RouteLocationNormalized["fullPath"], newDomain: string) => Promise<void>;
11
12
  session: ComputedRef<{
12
13
  domain: Readonly<string>;
13
14
  environment: Readonly<string>;
@@ -1,4 +1,4 @@
1
1
  import { PublicClientApplication, RedirectRequest } from '@azure/msal-browser';
2
- export declare const loginRequest: (query?: Record<string, string>) => RedirectRequest;
2
+ export declare const loginRequest: (redirectRoute: string, query?: Record<string, string>) => RedirectRequest;
3
3
  declare const msal: PublicClientApplication;
4
4
  export default msal;
@@ -1,12 +1,13 @@
1
1
  import { ComputedRef, Ref } from 'vue';
2
2
  import { AccountInfo } from '@azure/msal-browser';
3
+ import { RouteLocationNormalized } from 'vue-router';
3
4
  export type AuthMode = 'tab' | 'redirect';
4
5
  export type useAuthType = {
5
6
  isAuthenticated: ComputedRef<boolean>;
6
7
  authState: Ref<'updating' | 'updated' | 'error' | null>;
7
8
  account: Ref<AccountInfo | null>;
8
9
  logout: () => Promise<void>;
9
- handleRedirect: (authMode?: AuthMode) => Promise<void>;
10
+ handleRedirect: (authMode?: AuthMode, to?: RouteLocationNormalized['fullPath']) => Promise<void>;
10
11
  refreshToken(): Promise<void>;
11
12
  token: ComputedRef<string>;
12
13
  };
@@ -1,8 +1,6 @@
1
- declare const _default: import('vue').DefineComponent<{
1
+ export type AvatarProps = {
2
2
  img: string;
3
3
  size: string | number;
4
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
5
- img: string;
6
- size: string | number;
7
- }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
4
+ };
5
+ declare const _default: import('vue').DefineComponent<AvatarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AvatarProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
8
6
  export default _default;
@@ -1,10 +1,7 @@
1
- declare const _default: import('vue').DefineComponent<{
1
+ export type CopyBtnProps = {
2
2
  contentToCopy: string;
3
- size?: "small" | "medium" | "large" | number;
3
+ size?: 'small' | 'medium' | 'large' | number;
4
4
  color?: string;
5
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
6
- contentToCopy: string;
7
- size?: "small" | "medium" | "large" | number;
8
- color?: string;
9
- }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
5
+ };
6
+ declare const _default: import('vue').DefineComponent<CopyBtnProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CopyBtnProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
10
7
  export default _default;
@@ -1,6 +1,9 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2
- removeAll: (...args: any[]) => void;
1
+ export type DeleteAllBtnEmit = {
2
+ (event: 'removeAll'): void;
3
+ };
4
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
5
+ removeAll: () => any;
3
6
  }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
4
- onRemoveAll?: ((...args: any[]) => any) | undefined;
7
+ onRemoveAll?: (() => any) | undefined;
5
8
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
9
  export default _default;
@@ -1,4 +1,10 @@
1
1
  import { VBtn } from 'vuetify/components';
2
+ export type DotsMenuProps = {
3
+ variant?: VBtn['variant'];
4
+ color: string;
5
+ orientation: 'x' | 'y';
6
+ size: number;
7
+ };
2
8
  declare function __VLS_template(): {
3
9
  slots: {
4
10
  default?(_: {}): any;
@@ -7,17 +13,7 @@ declare function __VLS_template(): {
7
13
  attrs: Partial<{}>;
8
14
  };
9
15
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
- declare const __VLS_component: import('vue').DefineComponent<{
11
- variant: VBtn["variant"];
12
- color: string;
13
- orientation: "x" | "y";
14
- size: number;
15
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
16
- variant: VBtn["variant"];
17
- color: string;
18
- orientation: "x" | "y";
19
- size: number;
20
- }> & Readonly<{}>, {
16
+ declare const __VLS_component: import('vue').DefineComponent<DotsMenuProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DotsMenuProps> & Readonly<{}>, {
21
17
  variant: VBtn["variant"];
22
18
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
23
19
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -1,6 +1,9 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2
- editAll: (...args: any[]) => void;
1
+ export type EditEmit = {
2
+ (event: 'editAll'): void;
3
+ };
4
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
5
+ editAll: () => any;
3
6
  }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
4
- onEditAll?: ((...args: any[]) => any) | undefined;
7
+ onEditAll?: (() => any) | undefined;
5
8
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
9
  export default _default;
@@ -1,6 +1,5 @@
1
- declare const _default: import('vue').DefineComponent<{
1
+ export type JAvatarProps = {
2
2
  src?: string;
3
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
4
- src?: string;
5
- }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
3
+ };
4
+ declare const _default: import('vue').DefineComponent<JAvatarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<JAvatarProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
6
5
  export default _default;
@@ -1,3 +1,8 @@
1
+ export type ParentCardProps = {
2
+ title?: string;
3
+ height?: string;
4
+ loading?: boolean;
5
+ };
1
6
  declare function __VLS_template(): {
2
7
  slots: {
3
8
  default?(_: {}): any;
@@ -6,15 +11,7 @@ declare function __VLS_template(): {
6
11
  attrs: Partial<{}>;
7
12
  };
8
13
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
- declare const __VLS_component: import('vue').DefineComponent<{
10
- title?: string;
11
- height?: string;
12
- loading?: boolean;
13
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
14
- title?: string;
15
- height?: string;
16
- loading?: boolean;
17
- }> & Readonly<{}>, {
14
+ declare const __VLS_component: import('vue').DefineComponent<ParentCardProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ParentCardProps> & Readonly<{}>, {
18
15
  height: string;
19
16
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
20
17
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -1,6 +1,5 @@
1
- declare const _default: import('vue').DefineComponent<{
1
+ export type ReadOnlyFieldProps = {
2
2
  value: any;
3
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
4
- value: any;
5
- }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
3
+ };
4
+ declare const _default: import('vue').DefineComponent<ReadOnlyFieldProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ReadOnlyFieldProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
6
5
  export default _default;
@@ -1,3 +1,7 @@
1
+ export type SearchFilterProps = {
2
+ search: string;
3
+ placeholder: string;
4
+ };
1
5
  declare let __VLS_typeProps: {
2
6
  placeholder?: string;
3
7
  };
@@ -4,9 +4,7 @@ import { default as JBtn } from './JBtn';
4
4
  import { default as DeleteAllBtn } from './DeleteAllBtn';
5
5
  import { default as EditButton } from './EditButton';
6
6
  import { default as DotsMenu } from './DotsMenu';
7
- import { default as DotsMenuV1 } from './DotsMenuV1';
8
7
  import { default as ParentCard } from './ParentCard';
9
- import { default as JDialog } from './JDialog';
10
8
  import { default as ConfirmDialog } from './ConfirmDialog';
11
9
  import { default as JAvatar } from './JAvatar';
12
10
  import { default as AvatarPicture } from './AvatarPicture';
@@ -28,9 +26,12 @@ import { default as FormHeadless } from './form/headless/FormHeadless';
28
26
  import { default as GlobalScopeFilter } from '../modules/scope/GlobalScopeFilter';
29
27
  import { default as SpinnerLoader } from './spinner/SpinnerLoader';
30
28
  import { default as GlobalSpinner } from './spinner/GlobalSpinner';
29
+ import { default as JDialog } from './JDialog';
30
+ import { default as SubMenu } from './menu/SubMenu';
31
31
  export { UiTable, TableAdvanced, TableHeader, ColumnSettingsDialog, TableCard, TableCardsView, SearchFilter, ConfirmDialog, //TODO REVIEW IF IT IS BEEN USED
32
- CopyButton, DotsMenu, DotsMenuV1, FormMetadata, JBtn, DeleteAllBtn, EditButton, JDialog, //OK
33
- JIconBtn, JSelect, //OK
32
+ CopyButton, DotsMenu, FormMetadata, JBtn, DeleteAllBtn, EditButton, JIconBtn, JSelect, //OK
34
33
  JTextArea, //OK
35
34
  JTextField, JForm, TabFormHeader, FormHeadless, ParentCard, SpinnerLoader, //OK
36
- ContextMenu, JAvatar, AvatarPicture, GlobalScopeFilter, GlobalSpinner };
35
+ ContextMenu, JAvatar, AvatarPicture, JDialog, //OK
36
+ SubMenu, //OK
37
+ GlobalScopeFilter, GlobalSpinner };
@@ -0,0 +1,24 @@
1
+ declare function __VLS_template(): {
2
+ slots: {
3
+ default?(_: {}): any;
4
+ };
5
+ refs: {};
6
+ attrs: Partial<{}>;
7
+ };
8
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
+ declare const __VLS_component: import('vue').DefineComponent<{
10
+ title: string;
11
+ }, {
12
+ props: import('vue').DefineProps<import('@vue/shared').LooseRequired<{
13
+ title: string;
14
+ }>, never>;
15
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
16
+ title: string;
17
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
18
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
19
+ export default _default;
20
+ type __VLS_WithTemplateSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
@@ -1,5 +1,8 @@
1
1
  import { TableProps } from '../../../types';
2
2
  declare let __VLS_typeProps: TableProps;
3
+ export type TableEmits = {
4
+ (event: 'rowClick', item: any): void;
5
+ };
3
6
  type __VLS_PublicProps = {
4
7
  'selection'?: [];
5
8
  } & typeof __VLS_typeProps;
@@ -8,7 +11,7 @@ declare function __VLS_template(): {
8
11
  item: any;
9
12
  }) => any>> & {
10
13
  contextmenu?(_: {
11
- item: never;
14
+ item: null;
12
15
  }): any;
13
16
  avatar?(_: {
14
17
  item: any;
@@ -1,16 +1,20 @@
1
1
  import { UiTableHeader } from '../../../types/table/UiTableHeader';
2
- declare let __VLS_typeProps: {
2
+ export type TableHeaderProps = {
3
3
  columns: UiTableHeader[];
4
4
  };
5
+ export type TableHeaderEmits = {
6
+ (event: 'refresh'): void;
7
+ (event: 'remove'): void;
8
+ };
9
+ declare let __VLS_typeProps: TableHeaderProps;
5
10
  type __VLS_PublicProps = {
6
- 'search'?: any;
7
- 'columns'?: UiTableHeader[];
11
+ 'search'?: string;
8
12
  } & typeof __VLS_typeProps;
9
13
  declare function __VLS_template(): {
10
14
  slots: {
11
15
  filter?(_: {}): any;
12
- "top-right"?(_: {}): any;
13
16
  "top-left"?(_: {}): any;
17
+ "top-right"?(_: {}): any;
14
18
  "left-prepend"?(_: {}): any;
15
19
  "left-append"?(_: {}): any;
16
20
  "right-prepend"?(_: {}): any;
@@ -20,11 +24,14 @@ declare function __VLS_template(): {
20
24
  };
21
25
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
22
26
  declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
23
- refresh: (...args: any[]) => void;
24
- remove: (...args: any[]) => void;
27
+ "update:search": (search: string) => any;
28
+ } & {
29
+ refresh: () => any;
30
+ remove: () => any;
25
31
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
26
- onRefresh?: ((...args: any[]) => any) | undefined;
27
- onRemove?: ((...args: any[]) => any) | undefined;
32
+ "onUpdate:search"?: ((search: string) => any) | undefined;
33
+ onRefresh?: (() => any) | undefined;
34
+ onRemove?: (() => any) | undefined;
28
35
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
29
36
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
30
37
  export default _default;
@@ -0,0 +1,65 @@
1
+ import { DefineComponent } from 'vue';
2
+ import { default as UiTable } from '../components/table/UiTable';
3
+ import { default as TableAdvanced } from '../components/table/advanced/TableAdvanced';
4
+ import { default as TableHeader } from '../components/table/advanced/TableHeader';
5
+ import { default as ColumnSettingsDialog } from '../components/table/advanced/ColumnSettingsDialog';
6
+ import { default as TableCard } from '../components/table/card/TableCard';
7
+ import { default as TableCardsView } from '../components/table/card/TableCardsView';
8
+ import { default as SearchFilter } from '../components/SearchFilter';
9
+ import { default as ConfirmDialog } from '../components/ConfirmDialog';
10
+ import { default as CopyButton } from '../components/CopyButton';
11
+ import { default as DotsMenu } from '../components/DotsMenu';
12
+ import { default as FormMetadata } from '../components/form/footer/FormMetadata';
13
+ import { default as JBtn } from '../components/JBtn';
14
+ import { default as DeleteAllBtn } from '../components/DeleteAllBtn';
15
+ import { default as EditButton } from '../components/EditButton';
16
+ import { default as JIconBtn } from '../components/JIconBtn';
17
+ import { default as JSelect } from '../components/form/JSelect';
18
+ import { default as JTextArea } from '../components/form/JTextArea';
19
+ import { default as JTextField } from '../components/form/JTextField';
20
+ import { default as JForm } from '../components/form/JForm';
21
+ import { default as TabFormHeader } from '../components/form/headless/TabFormHeader';
22
+ import { default as FormHeadless } from '../components/form/headless/FormHeadless';
23
+ import { default as ParentCard } from '../components/ParentCard';
24
+ import { default as SpinnerLoader } from '../components/spinner/SpinnerLoader';
25
+ import { default as ContextMenu } from '../components/ContextMenu';
26
+ import { default as JAvatar } from '../components/JAvatar';
27
+ import { default as AvatarPicture } from '../components/AvatarPicture';
28
+ import { default as JDialog } from '../components/JDialog';
29
+ import { default as SubMenu } from '../components/menu/SubMenu';
30
+ import { default as GlobalScopeFilter } from '../modules/scope/GlobalScopeFilter';
31
+ import { default as GlobalSpinner } from '../components/spinner/GlobalSpinner';
32
+ declare module 'vue' {
33
+ interface Components {
34
+ UiTable: DefineComponent<(typeof UiTable)['$props']>;
35
+ TableAdvanced: DefineComponent<(typeof TableAdvanced)['$props']>;
36
+ TableHeader: DefineComponent<(typeof TableHeader)['$props']>;
37
+ ColumnSettingsDialog: DefineComponent<(typeof ColumnSettingsDialog)['$props']>;
38
+ TableCard: DefineComponent<typeof TableCard>;
39
+ TableCardsView: DefineComponent<(typeof TableCardsView)['$props']>;
40
+ SearchFilter: DefineComponent<(typeof SearchFilter)['$props']>;
41
+ ConfirmDialog: DefineComponent<(typeof ConfirmDialog)['$props']>;
42
+ CopyButton: DefineComponent<(typeof CopyButton)['$props']>;
43
+ DotsMenu: DefineComponent<(typeof DotsMenu)['$props']>;
44
+ FormMetadata: DefineComponent<(typeof FormMetadata)['$props']>;
45
+ JBtn: DefineComponent<(typeof JBtn)['$props']>;
46
+ DeleteAllBtn: DefineComponent<(typeof DeleteAllBtn)['$props']>;
47
+ EditButton: DefineComponent<(typeof EditButton)['$props']>;
48
+ JIconBtn: DefineComponent<typeof JIconBtn>;
49
+ JSelect: DefineComponent<(typeof JSelect)['$props']>;
50
+ JTextArea: DefineComponent<(typeof JTextArea)['$props']>;
51
+ JTextField: DefineComponent<(typeof JTextField)['$props']>;
52
+ JForm: DefineComponent<(typeof JForm)['$props']>;
53
+ TabFormHeader: DefineComponent<(typeof TabFormHeader)['$props']>;
54
+ FormHeadless: DefineComponent<(typeof FormHeadless)['$props']>;
55
+ ParentCard: DefineComponent<(typeof ParentCard)['$props']>;
56
+ SpinnerLoader: DefineComponent<(typeof SpinnerLoader)['$props']>;
57
+ ContextMenu: DefineComponent<(typeof ContextMenu)['$props']>;
58
+ JAvatar: DefineComponent<(typeof JAvatar)['$props']>;
59
+ AvatarPicture: DefineComponent<(typeof AvatarPicture)['$props']>;
60
+ JDialog: DefineComponent<(typeof JDialog)['$props']>;
61
+ SubMenu: DefineComponent<(typeof SubMenu)['$props']>;
62
+ GlobalScopeFilter: DefineComponent<(typeof GlobalScopeFilter)['$props']>;
63
+ GlobalSpinner: DefineComponent<typeof GlobalSpinner>;
64
+ }
65
+ }
@@ -0,0 +1,4 @@
1
+ export declare function preventOverflow(e: MouseEvent): {
2
+ x: number;
3
+ y: number;
4
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jplan-pack",
3
- "version": "0.6.579",
3
+ "version": "0.6.632",
4
4
  "main": "./dist/jplan-pack.cjs.js",
5
5
  "module": "./dist/jplan-pack.es.js",
6
6
  "types": "dist/types/index.d.ts",