Skip to content

Commit

Permalink
Add Sprunjer object to each slot, refactor Group Create Modal & add G…
Browse files Browse the repository at this point in the history
…roup Edit Modal
  • Loading branch information
lcharette committed Nov 11, 2024
1 parent b664228 commit 4eb2c61
Show file tree
Hide file tree
Showing 19 changed files with 7,551 additions and 7,259 deletions.
306 changes: 155 additions & 151 deletions dist/components-BCeLU8xU.js → dist/components-DPnoQqjS.js

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions dist/components-CvajJz2Z.cjs → dist/components-Da53Ullj.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/components.cjs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./components-CvajJz2Z.cjs");exports.AppLink=a._sfc_main$6;exports.CardBox=a._sfc_main$8;exports.CardBoxBig=a._sfc_main$9;exports.FooterContent=a.FooterContent;exports.FormForgotPassword=a._sfc_main$13;exports.FormLogin=a._sfc_main$11;exports.FormRegister=a._sfc_main$12;exports.HeaderPage=a._sfc_main$10;exports.InfoBox=a._sfc_main$7;exports.MainContent=a.MainContent;exports.NavBar=a._sfc_main$14;exports.NavBarDropdown=a._sfc_main$15;exports.NavBarDropdownSeparator=a.NavBarDropdownSeparator;exports.NavBarItem=a._sfc_main$16;exports.NavBarLogin=a._sfc_main$17;exports.NavBarUserCard=a._sfc_main$18;exports.NavBarUserCardButton=a._sfc_main$19;exports.PageForgotPassword=a._sfc_main$22;exports.PageLogin=a._sfc_main$20;exports.PageRegister=a._sfc_main$21;exports.PageResendVerification=a._sfc_main$23;exports.SideBar=a.SideBar;exports.SideBarDropdown=a._sfc_main$24;exports.SideBarItem=a._sfc_main$25;exports.SideBarLabel=a._sfc_main$26;exports.SprunjeColumn=a._sfc_main$27;exports.SprunjeHeader=a._sfc_main$28;exports.SprunjePaginator=a._sfc_main$29;exports.SprunjeTable=a._sfc_main$30;exports.UFAlert=a._sfc_main;exports.UFLabel=a._sfc_main$1;exports.UFModal=a._sfc_main$2;exports.UFModalAlert=a._sfc_main$3;exports.UFModalConfirmation=a._sfc_main$4;exports.UFModalPrompt=a._sfc_main$5;exports.default=a.PinkCupcakeComponents;
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./components-Da53Ullj.cjs");exports.AppLink=a._sfc_main$6;exports.CardBox=a._sfc_main$8;exports.CardBoxBig=a._sfc_main$9;exports.FooterContent=a.FooterContent;exports.FormForgotPassword=a._sfc_main$13;exports.FormLogin=a._sfc_main$11;exports.FormRegister=a._sfc_main$12;exports.HeaderPage=a._sfc_main$10;exports.InfoBox=a._sfc_main$7;exports.MainContent=a.MainContent;exports.NavBar=a._sfc_main$14;exports.NavBarDropdown=a._sfc_main$15;exports.NavBarDropdownSeparator=a.NavBarDropdownSeparator;exports.NavBarItem=a._sfc_main$16;exports.NavBarLogin=a._sfc_main$17;exports.NavBarUserCard=a._sfc_main$18;exports.NavBarUserCardButton=a._sfc_main$19;exports.PageForgotPassword=a._sfc_main$22;exports.PageLogin=a._sfc_main$20;exports.PageRegister=a._sfc_main$21;exports.PageResendVerification=a._sfc_main$23;exports.SideBar=a.SideBar;exports.SideBarDropdown=a._sfc_main$24;exports.SideBarItem=a._sfc_main$25;exports.SideBarLabel=a._sfc_main$26;exports.SprunjeColumn=a.SprunjeColumn;exports.SprunjeHeader=a._sfc_main$27;exports.SprunjePaginator=a._sfc_main$28;exports.SprunjeTable=a._sfc_main$29;exports.UFAlert=a._sfc_main;exports.UFLabel=a._sfc_main$1;exports.UFModal=a._sfc_main$2;exports.UFModalAlert=a._sfc_main$3;exports.UFModalConfirmation=a._sfc_main$4;exports.UFModalPrompt=a._sfc_main$5;exports.default=a.PinkCupcakeComponents;
2 changes: 1 addition & 1 deletion dist/components.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { i as s, k as o, l as e, F as n, q as t, o as d, p as i, m as B, j as g, M as p, r as F, s as l, N as m, t as P, u as S, v as C, w as u, z as v, x as N, y as U, A as f, S as w, B as L, C as M, D as j, E as x, G as b, H as A, I as D, a as I, b as H, d as R, e as k, f as c, h, P as q } from "./components-BCeLU8xU.js";
import { i as s, k as o, l as e, F as n, q as t, o as d, p as i, m as B, j as g, M as p, r as F, s as l, N as m, t as P, u as S, v as C, w as u, z as v, x as N, y as U, A as f, S as w, B as L, C as M, D as j, E as x, G as b, H as A, I as D, a as I, b as H, d as R, e as k, f as c, h, P as q } from "./components-DPnoQqjS.js";
export {
s as AppLink,
o as CardBox,
Expand Down
20 changes: 20 additions & 0 deletions dist/components/Pages/Admin/Group/GroupCreateModal.vue.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
declare function __VLS_template(): {
slots: {
default?(_: {}): any;
};
refs: {};
attrs: Partial<{}>;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
saved: (...args: any[]) => void;
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
onSaved?: ((...args: any[]) => any) | undefined;
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};
18 changes: 18 additions & 0 deletions dist/components/Pages/Admin/Group/GroupForm.vue.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/**
* Interface
*/
interface GroupEditForm {
slug: string;
name: string;
description: string;
icon: string;
}
type __VLS_PublicProps = {
modelValue?: GroupEditForm;
};
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
submit: (...args: any[]) => void;
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
onSubmit?: ((...args: any[]) => any) | undefined;
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
export default _default;
2 changes: 0 additions & 2 deletions dist/components/Pages/Admin/Group/GroupsCreateModal.vue.d.ts

This file was deleted.

5 changes: 1 addition & 4 deletions dist/components/Sprunjer/SprunjeColumn.vue.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import { Sprunjer } from '@userfrosting/sprinkle-core/sprunjer';
declare function __VLS_template(): {
slots: {
default?(_: {
sprunjer: Sprunjer;
}): any;
default?(_: {}): any;
};
refs: {};
attrs: Partial<{}>;
Expand Down
123 changes: 118 additions & 5 deletions dist/components/Sprunjer/SprunjeTable.vue.d.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,126 @@
declare function __VLS_template(): {
slots: {
actions?(_: {}): any;
filters?(_: {}): any;
header?(_: {}): any;
actions?(_: {
sprunjer: {
dataUrl: any;
size: import('vue').Ref<number, number>;
page: import('vue').Ref<number, number>;
sorts: import('vue').Ref<import('@userfrosting/sprinkle-core/sprunjer').AssociativeArray, import('@userfrosting/sprinkle-core/sprunjer').AssociativeArray>;
filters: import('vue').Ref<import('@userfrosting/sprinkle-core/sprunjer').AssociativeArray, import('@userfrosting/sprinkle-core/sprunjer').AssociativeArray>;
data: import('vue').Ref<any, any>;
fetch: () => Promise<void>;
loading: import('vue').Ref<boolean, boolean>;
downloadCsv: () => void;
totalPages: import('vue').ComputedRef<number>;
countFiltered: import('vue').ComputedRef<any>;
count: import('vue').ComputedRef<any>;
rows: import('vue').ComputedRef<any>;
first: import('vue').ComputedRef<number>;
last: import('vue').ComputedRef<number>;
toggleSort: (column: string) => void;
};
}): any;
filters?(_: {
sprunjer: {
dataUrl: any;
size: import('vue').Ref<number, number>;
page: import('vue').Ref<number, number>;
sorts: import('vue').Ref<import('@userfrosting/sprinkle-core/sprunjer').AssociativeArray, import('@userfrosting/sprinkle-core/sprunjer').AssociativeArray>;
filters: import('vue').Ref<import('@userfrosting/sprinkle-core/sprunjer').AssociativeArray, import('@userfrosting/sprinkle-core/sprunjer').AssociativeArray>;
data: import('vue').Ref<any, any>;
fetch: () => Promise<void>;
loading: import('vue').Ref<boolean, boolean>;
downloadCsv: () => void;
totalPages: import('vue').ComputedRef<number>;
countFiltered: import('vue').ComputedRef<any>;
count: import('vue').ComputedRef<any>;
rows: import('vue').ComputedRef<any>;
first: import('vue').ComputedRef<number>;
last: import('vue').ComputedRef<number>;
toggleSort: (column: string) => void;
};
}): any;
header?(_: {
sprunjer: {
dataUrl: any;
size: import('vue').Ref<number, number>;
page: import('vue').Ref<number, number>;
sorts: import('vue').Ref<import('@userfrosting/sprinkle-core/sprunjer').AssociativeArray, import('@userfrosting/sprinkle-core/sprunjer').AssociativeArray>;
filters: import('vue').Ref<import('@userfrosting/sprinkle-core/sprunjer').AssociativeArray, import('@userfrosting/sprinkle-core/sprunjer').AssociativeArray>;
data: import('vue').Ref<any, any>;
fetch: () => Promise<void>;
loading: import('vue').Ref<boolean, boolean>;
downloadCsv: () => void;
totalPages: import('vue').ComputedRef<number>;
countFiltered: import('vue').ComputedRef<any>;
count: import('vue').ComputedRef<any>;
rows: import('vue').ComputedRef<any>;
first: import('vue').ComputedRef<number>;
last: import('vue').ComputedRef<number>;
toggleSort: (column: string) => void;
};
}): any;
body?(_: {
item: any;
sprunjer: {
dataUrl: any;
size: import('vue').Ref<number, number>;
page: import('vue').Ref<number, number>;
sorts: import('vue').Ref<import('@userfrosting/sprinkle-core/sprunjer').AssociativeArray, import('@userfrosting/sprinkle-core/sprunjer').AssociativeArray>;
filters: import('vue').Ref<import('@userfrosting/sprinkle-core/sprunjer').AssociativeArray, import('@userfrosting/sprinkle-core/sprunjer').AssociativeArray>;
data: import('vue').Ref<any, any>;
fetch: () => Promise<void>;
loading: import('vue').Ref<boolean, boolean>;
downloadCsv: () => void;
totalPages: import('vue').ComputedRef<number>;
countFiltered: import('vue').ComputedRef<any>;
count: import('vue').ComputedRef<any>;
rows: import('vue').ComputedRef<any>;
first: import('vue').ComputedRef<number>;
last: import('vue').ComputedRef<number>;
toggleSort: (column: string) => void;
};
}): any;
filterPanel?(_: {
sprunjer: {
dataUrl: any;
size: import('vue').Ref<number, number>;
page: import('vue').Ref<number, number>;
sorts: import('vue').Ref<import('@userfrosting/sprinkle-core/sprunjer').AssociativeArray, import('@userfrosting/sprinkle-core/sprunjer').AssociativeArray>;
filters: import('vue').Ref<import('@userfrosting/sprinkle-core/sprunjer').AssociativeArray, import('@userfrosting/sprinkle-core/sprunjer').AssociativeArray>;
data: import('vue').Ref<any, any>;
fetch: () => Promise<void>;
loading: import('vue').Ref<boolean, boolean>;
downloadCsv: () => void;
totalPages: import('vue').ComputedRef<number>;
countFiltered: import('vue').ComputedRef<any>;
count: import('vue').ComputedRef<any>;
rows: import('vue').ComputedRef<any>;
first: import('vue').ComputedRef<number>;
last: import('vue').ComputedRef<number>;
toggleSort: (column: string) => void;
};
}): any;
paginator?(_: {
sprunjer: {
dataUrl: any;
size: import('vue').Ref<number, number>;
page: import('vue').Ref<number, number>;
sorts: import('vue').Ref<import('@userfrosting/sprinkle-core/sprunjer').AssociativeArray, import('@userfrosting/sprinkle-core/sprunjer').AssociativeArray>;
filters: import('vue').Ref<import('@userfrosting/sprinkle-core/sprunjer').AssociativeArray, import('@userfrosting/sprinkle-core/sprunjer').AssociativeArray>;
data: import('vue').Ref<any, any>;
fetch: () => Promise<void>;
loading: import('vue').Ref<boolean, boolean>;
downloadCsv: () => void;
totalPages: import('vue').ComputedRef<number>;
countFiltered: import('vue').ComputedRef<any>;
count: import('vue').ComputedRef<any>;
rows: import('vue').ComputedRef<any>;
first: import('vue').ComputedRef<number>;
last: import('vue').ComputedRef<number>;
toggleSort: (column: string) => void;
};
}): any;
filterPanel?(_: {}): any;
paginator?(_: {}): any;
};
refs: {};
attrs: Partial<{}>;
Expand Down
Loading

0 comments on commit 4eb2c61

Please sign in to comment.