jplan-pack 0.6.65 → 0.6.66
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/AuthFailRoute-BZC8I5q1.mjs +30 -0
- package/dist/AuthFailRoute-BaWSjALb.js +1 -0
- package/dist/AuthFailRoute.css +1 -1
- package/dist/AuthRoute-4dzIjdK-.js +1 -0
- package/dist/{AuthRoute-CK4JFGMi.mjs → AuthRoute-Cx0aD3Gb.mjs} +21 -21
- package/dist/index-B5Pr82jr.js +92 -0
- package/dist/{index-D99YHXC9.mjs → index-DX-iXrz3.mjs} +5689 -5759
- package/dist/index.css +2 -2
- package/dist/jplan-pack.cjs.js +1 -1
- package/dist/jplan-pack.es.js +1 -1
- package/dist/types/_auth/_dev/AuthFailRoute.d.ts +1 -1
- package/dist/types/_auth/_dev/AuthRoute.d.ts +1 -1
- package/dist/types/_auth/navigation-guard/authGuard.d.ts +1 -1
- package/dist/types/components/ConfirmDialog.d.ts +4 -3
- package/dist/types/components/ContextMenu.d.ts +3 -2
- package/dist/types/components/DotsMenu.d.ts +2 -1
- package/dist/types/components/JBtn.d.ts +2 -1
- package/dist/types/components/JDialog.d.ts +3 -2
- package/dist/types/components/JIconBtn.d.ts +1 -1
- package/dist/types/components/ParentCard.d.ts +2 -1
- package/dist/types/components/ReadOnlyField.d.ts +1 -1
- package/dist/types/components/SearchFilter.d.ts +4 -4
- package/dist/types/components/form/JForm.d.ts +13 -19
- package/dist/types/components/form/JSelect.d.ts +5 -16
- package/dist/types/components/form/JTextArea.d.ts +4 -10
- package/dist/types/components/form/JTextField.d.ts +8 -15
- package/dist/types/components/form/footer/CancelButton.d.ts +4 -5
- package/dist/types/components/form/footer/FormMetadata.d.ts +10 -14
- package/dist/types/components/form/footer/SaveButton.d.ts +4 -5
- package/dist/types/components/form/headless/FormHeadless.d.ts +12 -17
- package/dist/types/components/form/headless/TabFormHeader.d.ts +5 -7
- package/dist/types/components/icon/IconSet.d.ts +3 -9
- package/dist/types/components/spinner/SpinnerLoader.d.ts +1 -1
- package/dist/types/components/table/UiTable.d.ts +6 -5
- package/dist/types/components/table/advanced/ColumnSettingsDialog.d.ts +2 -2
- package/dist/types/components/table/advanced/TableAdvanced.d.ts +6 -5
- package/dist/types/components/table/advanced/TableHeader.d.ts +13 -13
- package/dist/types/components/table/card/TableCard.d.ts +1 -1
- package/dist/types/components/table/card/TableCardsView.d.ts +9 -12
- package/dist/types/shims-vue.d.ts +1 -1
- package/dist/types/theme/DarkTheme.d.ts +3 -0
- package/dist/types/theme/LightTheme.d.ts +3 -0
- package/dist/types/theme/_type.d.ts +41 -0
- package/dist/types/theme/vuetify.d.ts +83 -0
- package/package.json +1 -1
- package/dist/AuthFailRoute-B4KTS7aH.mjs +0 -30
- package/dist/AuthFailRoute-j1qMBtuq.js +0 -1
- package/dist/AuthRoute-DrMtcqU_.js +0 -1
- package/dist/index-BdF_8MIR.js +0 -92
- package/dist/types/components/menu/SubMenu.d.ts +0 -24
@@ -1,6 +1,6 @@
|
|
1
1
|
import { TableCardType } from './type';
|
2
2
|
declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
3
|
-
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, never> & TableCardType
|
3
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, never> & TableCardType & Partial<{}>> & import('vue').PublicProps;
|
4
4
|
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
5
5
|
attrs: any;
|
6
6
|
slots: {
|
@@ -1,25 +1,22 @@
|
|
1
1
|
import { CardKeys } from './type';
|
2
|
+
type __VLS_Props = {
|
3
|
+
data: Record<any, any>[];
|
4
|
+
columns: CardKeys[];
|
5
|
+
size?: number;
|
6
|
+
itemKey: string;
|
7
|
+
};
|
2
8
|
declare function __VLS_template(): {
|
9
|
+
attrs: Partial<{}>;
|
3
10
|
slots: {
|
4
11
|
actions?(_: {
|
5
12
|
item: Record<any, any>;
|
6
13
|
}): any;
|
7
14
|
};
|
8
15
|
refs: {};
|
9
|
-
|
16
|
+
rootEl: any;
|
10
17
|
};
|
11
18
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
12
|
-
declare const __VLS_component: import('vue').DefineComponent<{
|
13
|
-
data: Record<any, any>[];
|
14
|
-
columns: CardKeys[];
|
15
|
-
size?: number;
|
16
|
-
itemKey: string;
|
17
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
18
|
-
data: Record<any, any>[];
|
19
|
-
columns: CardKeys[];
|
20
|
-
size?: number;
|
21
|
-
itemKey: string;
|
22
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
19
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
23
20
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
24
21
|
export default _default;
|
25
22
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
@@ -0,0 +1,41 @@
|
|
1
|
+
export type ThemeTypes = {
|
2
|
+
name: string;
|
3
|
+
dark: boolean;
|
4
|
+
variables?: object;
|
5
|
+
colors: {
|
6
|
+
primary?: string;
|
7
|
+
secondary?: string;
|
8
|
+
info?: string;
|
9
|
+
success?: string;
|
10
|
+
accent?: string;
|
11
|
+
warning?: string;
|
12
|
+
error?: string;
|
13
|
+
lightprimary?: string;
|
14
|
+
lightsecondary?: string;
|
15
|
+
lightsuccess?: string;
|
16
|
+
lighterror?: string;
|
17
|
+
lightwarning?: string;
|
18
|
+
darkprimary?: string;
|
19
|
+
darksecondary?: string;
|
20
|
+
darkText?: string;
|
21
|
+
lightText?: string;
|
22
|
+
borderLight?: string;
|
23
|
+
inputBorder?: string;
|
24
|
+
containerBg?: string;
|
25
|
+
surface?: string;
|
26
|
+
background?: string;
|
27
|
+
'on-surface-variant'?: string;
|
28
|
+
blue?: string;
|
29
|
+
facebook?: string;
|
30
|
+
twitter?: string;
|
31
|
+
linkedin?: string;
|
32
|
+
whatsapp?: string;
|
33
|
+
telegram?: string;
|
34
|
+
instagram?: string;
|
35
|
+
gray100?: string;
|
36
|
+
primary200?: string;
|
37
|
+
secondary200?: string;
|
38
|
+
scroll?: string;
|
39
|
+
faded?: string;
|
40
|
+
};
|
41
|
+
};
|
@@ -0,0 +1,83 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
install: (app: import('vue').App) => void;
|
3
|
+
unmount: () => void;
|
4
|
+
defaults: import('vue').Ref<import('vuetify').DefaultsInstance, import('vuetify').DefaultsInstance>;
|
5
|
+
display: import('vuetify').DisplayInstance;
|
6
|
+
theme: import('vuetify').ThemeInstance & {
|
7
|
+
install: (app: import('vue').App) => void;
|
8
|
+
};
|
9
|
+
icons: {
|
10
|
+
defaultSet: string;
|
11
|
+
aliases: Partial<import('vuetify').IconAliases>;
|
12
|
+
sets: Record<string, import('vuetify').IconSet>;
|
13
|
+
};
|
14
|
+
locale: {
|
15
|
+
isRtl: import('vue').Ref<boolean>;
|
16
|
+
rtl: import('vue').Ref<Record<string, boolean>>;
|
17
|
+
rtlClasses: import('vue').Ref<string>;
|
18
|
+
name: string;
|
19
|
+
messages: import('vue').Ref<import('vuetify').LocaleMessages>;
|
20
|
+
current: import('vue').Ref<string>;
|
21
|
+
fallback: import('vue').Ref<string>;
|
22
|
+
t: (key: string, ...params: unknown[]) => string;
|
23
|
+
n: (value: number) => string;
|
24
|
+
provide: (props: import('vuetify').LocaleOptions) => import('vuetify').LocaleInstance;
|
25
|
+
};
|
26
|
+
date: {
|
27
|
+
options: {
|
28
|
+
adapter: (new (options: {
|
29
|
+
locale: any;
|
30
|
+
formats?: any;
|
31
|
+
}) => import('vuetify').DateInstance) | import('vuetify').DateInstance;
|
32
|
+
formats?: Record<string, any>;
|
33
|
+
locale: Record<string, any>;
|
34
|
+
};
|
35
|
+
instance: {
|
36
|
+
locale?: any;
|
37
|
+
date: (value?: any) => unknown;
|
38
|
+
format: (date: unknown, formatString: string) => string;
|
39
|
+
toJsDate: (value: unknown) => Date;
|
40
|
+
parseISO: (date: string) => unknown;
|
41
|
+
toISO: (date: unknown) => string;
|
42
|
+
startOfDay: (date: unknown) => unknown;
|
43
|
+
endOfDay: (date: unknown) => unknown;
|
44
|
+
startOfWeek: (date: unknown, firstDayOfWeek?: number | string) => unknown;
|
45
|
+
endOfWeek: (date: unknown) => unknown;
|
46
|
+
startOfMonth: (date: unknown) => unknown;
|
47
|
+
endOfMonth: (date: unknown) => unknown;
|
48
|
+
startOfYear: (date: unknown) => unknown;
|
49
|
+
endOfYear: (date: unknown) => unknown;
|
50
|
+
isAfter: (date: unknown, comparing: unknown) => boolean;
|
51
|
+
isAfterDay: (value: unknown, comparing: unknown) => boolean;
|
52
|
+
isSameDay: (date: unknown, comparing: unknown) => boolean;
|
53
|
+
isSameMonth: (date: unknown, comparing: unknown) => boolean;
|
54
|
+
isSameYear: (value: unknown, comparing: unknown) => boolean;
|
55
|
+
isBefore: (date: unknown, comparing: unknown) => boolean;
|
56
|
+
isEqual: (date: unknown, comparing: unknown) => boolean;
|
57
|
+
isValid: (date: any) => boolean;
|
58
|
+
isWithinRange: (date: unknown, range: [unknown, unknown]) => boolean;
|
59
|
+
addMinutes: (date: unknown, amount: number) => unknown;
|
60
|
+
addHours: (date: unknown, amount: number) => unknown;
|
61
|
+
addDays: (date: unknown, amount: number) => unknown;
|
62
|
+
addWeeks: (date: unknown, amount: number) => unknown;
|
63
|
+
addMonths: (date: unknown, amount: number) => unknown;
|
64
|
+
getYear: (date: unknown) => number;
|
65
|
+
setYear: (date: unknown, year: number) => unknown;
|
66
|
+
getDiff: (date: unknown, comparing: unknown, unit?: string) => number;
|
67
|
+
getWeekArray: (date: unknown, firstDayOfWeek?: number | string) => unknown[][];
|
68
|
+
getWeekdays: (firstDayOfWeek?: number | string) => string[];
|
69
|
+
getMonth: (date: unknown) => number;
|
70
|
+
setMonth: (date: unknown, month: number) => unknown;
|
71
|
+
getDate: (date: unknown) => number;
|
72
|
+
setDate: (date: unknown, day: number) => unknown;
|
73
|
+
getNextMonth: (date: unknown) => unknown;
|
74
|
+
getPreviousMonth: (date: unknown) => unknown;
|
75
|
+
getHours: (date: unknown) => number;
|
76
|
+
setHours: (date: unknown, hours: number) => unknown;
|
77
|
+
getMinutes: (date: unknown) => number;
|
78
|
+
setMinutes: (date: unknown, minutes: number) => unknown;
|
79
|
+
};
|
80
|
+
};
|
81
|
+
goTo: import('vuetify').GoToInstance;
|
82
|
+
};
|
83
|
+
export default _default;
|
package/package.json
CHANGED
@@ -1,30 +0,0 @@
|
|
1
|
-
import { defineComponent as a, openBlock as l, createElementBlock as r, createElementVNode as o, createVNode as c, withCtx as s, createTextVNode as i } from "vue";
|
2
|
-
import { VBtn as d } from "vuetify/lib/components/VBtn/index.mjs";
|
3
|
-
import { _ as p } from "./index-D99YHXC9.mjs";
|
4
|
-
const m = { class: "overlay d-flex flex-column align-center justify-center" }, u = /* @__PURE__ */ a({
|
5
|
-
__name: "AuthFailRoute",
|
6
|
-
setup(f) {
|
7
|
-
const n = () => {
|
8
|
-
const t = window.location.pathname.replace("/jplan-auth", "");
|
9
|
-
window.location.replace(t);
|
10
|
-
};
|
11
|
-
return (t, e) => (l(), r("div", m, [
|
12
|
-
e[1] || (e[1] = o("div", { class: "w-100 text-h5 text-center mb-4" }, "Unable to Access. Please allow pop-ups and try again.", -1)),
|
13
|
-
o("div", null, [
|
14
|
-
c(d, {
|
15
|
-
variant: "flat",
|
16
|
-
color: "secondary",
|
17
|
-
onClick: n
|
18
|
-
}, {
|
19
|
-
default: s(() => e[0] || (e[0] = [
|
20
|
-
i("Login")
|
21
|
-
])),
|
22
|
-
_: 1
|
23
|
-
})
|
24
|
-
])
|
25
|
-
]));
|
26
|
-
}
|
27
|
-
}), v = /* @__PURE__ */ p(u, [["__scopeId", "data-v-2004772e"]]);
|
28
|
-
export {
|
29
|
-
v as default
|
30
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),a=require("vuetify/lib/components/VBtn/index.mjs"),l=require("./index-BdF_8MIR.js"),r={class:"overlay d-flex flex-column align-center justify-center"},c=e.defineComponent({__name:"AuthFailRoute",setup(s){const o=()=>{const n=window.location.pathname.replace("/jplan-auth","");window.location.replace(n)};return(n,t)=>(e.openBlock(),e.createElementBlock("div",r,[t[1]||(t[1]=e.createElementVNode("div",{class:"w-100 text-h5 text-center mb-4"},"Unable to Access. Please allow pop-ups and try again.",-1)),e.createElementVNode("div",null,[e.createVNode(a.VBtn,{variant:"flat",color:"secondary",onClick:o},{default:e.withCtx(()=>t[0]||(t[0]=[e.createTextVNode("Login")])),_:1})])]))}}),i=l._export_sfc(c,[["__scopeId","data-v-2004772e"]]);exports.default=i;
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("@vueuse/core");require("vuetify/lib/components/VBtn/index.mjs");require("vuetify/components");require("vuetify/lib/components/VIcon/index.mjs");const t=require("./index-BdF_8MIR.js");require("vuetify/lib/components/VCard/index.mjs");require("vuetify/lib/components/VDialog/index.mjs");require("vuetify/lib/components/VDivider/index.mjs");require("vuetify/lib/components/VGrid/index.mjs");require("vuetify/lib/components/VAvatar/index.mjs");require("vuetify/lib/components/VImg/index.mjs");require("vuetify/lib/components/VList/index.mjs");require("vuetify/lib/components/VMenu/index.mjs");require("vuetify/lib/components/VDataTable/index.mjs");require("vuetify/lib/components/VTextField/index.mjs");require("vuetify/lib/components/VSelect/index.mjs");require("vuetify/lib/components/VCheckbox/index.mjs");require("vuetify/lib/components/VChip/index.mjs");require("vuetify/lib/components/VLabel/index.mjs");require("vuetify/lib/components/VTextarea/index.mjs");require("vuetify/lib/components/VBtnToggle/index.mjs");const c={class:"overlay"},l={class:"text-white"},d={class:"text-white"},q=e.defineComponent({__name:"AuthRoute",setup(p){const s=r=>({scopes:["https://graph.microsoft.com/.default","openid","profile"],redirectStartPage:window.location.href,extraQueryParameters:r}),i=e.ref(!1);async function u(){t.msal.getAllAccounts().length===0&&(i.value=!0);const r=await t.msal.handleRedirectPromise();if(!r){await t.msal.initialize();const n=s();await t.msal.loginRedirect(n);return}t.msal.setActiveAccount(r.account)}e.onMounted(async()=>{await t.msal.initialize(),await u()});const o=[{title:"Authenticating...",subtitle:"Please wait."},{title:"Authorized",subtitle:"If this window don't closed automatically, you can close it now."}],a=e.computed(()=>i.value?o[0]:o[1]);return(r,n)=>(e.openBlock(),e.createElementBlock("div",c,[e.createElementVNode("h3",l,e.toDisplayString(a.value.title),1),e.createVNode(e.unref(t.SpinnerLoader)),e.createElementVNode("p",d,e.toDisplayString(a.value.subtitle),1)]))}}),m=t._export_sfc(q,[["__scopeId","data-v-b7679fd7"]]);exports.default=m;
|