firstly 0.0.12 → 0.0.14

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 (120) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/esm/ROUTES.d.ts +2 -0
  3. package/esm/ROUTES.js +1 -0
  4. package/esm/api/index.d.ts +9 -0
  5. package/esm/api/index.js +3 -1
  6. package/esm/auth/AuthController.d.ts +12 -23
  7. package/esm/auth/AuthController.js +12 -31
  8. package/esm/auth/server/AuthController.server.d.ts +11 -11
  9. package/esm/auth/server/AuthController.server.js +99 -34
  10. package/esm/auth/server/handleGuard.d.ts +16 -0
  11. package/esm/auth/server/handleGuard.js +67 -0
  12. package/esm/auth/server/helperFirstly.d.ts +1 -1
  13. package/esm/auth/server/helperFirstly.js +1 -0
  14. package/esm/auth/server/index.d.ts +3 -1
  15. package/esm/auth/server/index.js +3 -1
  16. package/esm/auth/server/module.d.ts +105 -89
  17. package/esm/auth/server/module.js +55 -42
  18. package/esm/auth/server/providers/github.d.ts +4 -2
  19. package/esm/auth/server/providers/github.js +2 -2
  20. package/esm/auth/static/assets/Page-B0XXxe0N.d.ts +6 -0
  21. package/esm/auth/static/assets/Page-B0XXxe0N.js +1 -0
  22. package/esm/auth/static/assets/Page-DdKMiUZn.d.ts +6 -0
  23. package/esm/auth/static/assets/Page-DdKMiUZn.js +20 -0
  24. package/esm/auth/static/assets/Page-UV_hqY7I.d.ts +6 -0
  25. package/esm/auth/static/assets/Page-UV_hqY7I.js +1 -0
  26. package/esm/auth/static/assets/Page-mK42zGEw.css +1 -0
  27. package/esm/auth/static/assets/index-C9jzxOBu.d.ts +151 -0
  28. package/esm/auth/static/assets/index-C9jzxOBu.js +42 -0
  29. package/esm/auth/static/assets/index-DKWpA6v7.css +4 -0
  30. package/esm/auth/static/index.html +11 -11
  31. package/esm/auth/types.d.ts +26 -3
  32. package/esm/bin/cmd.js +423 -152
  33. package/esm/cellsBuildor.js +1 -1
  34. package/esm/common.d.ts +5 -0
  35. package/esm/common.js +8 -0
  36. package/esm/cron/server/index.js +1 -1
  37. package/esm/feedback/FeedbackController.js +58 -53
  38. package/esm/feedback/server/index.d.ts +6 -15
  39. package/esm/feedback/server/index.js +4 -5
  40. package/esm/feedback/types.d.ts +14 -0
  41. package/esm/feedback/types.js +4 -0
  42. package/esm/feedback/ui/DialogIssue.svelte +131 -119
  43. package/esm/feedback/ui/DialogIssue.svelte.d.ts +20 -18
  44. package/esm/feedback/ui/DialogIssues.svelte +108 -99
  45. package/esm/feedback/ui/DialogIssues.svelte.d.ts +20 -18
  46. package/esm/feedback/ui/DialogMilestones.svelte +40 -34
  47. package/esm/feedback/ui/DialogMilestones.svelte.d.ts +18 -16
  48. package/esm/feedback/ui/Feedback.svelte +11 -9
  49. package/esm/feedback/ui/Feedback.svelte.d.ts +16 -14
  50. package/esm/index.d.ts +2 -5
  51. package/esm/index.js +2 -8
  52. package/esm/mail/server/index.d.ts +9 -2
  53. package/esm/mail/server/index.js +3 -1
  54. package/esm/mail/templates/DefaultMail.svelte +81 -61
  55. package/esm/mail/templates/DefaultMail.svelte.d.ts +28 -26
  56. package/esm/server/index.d.ts +0 -0
  57. package/esm/server/index.js +1 -0
  58. package/esm/storeItem.d.ts +1 -4
  59. package/esm/storeItem.js +1 -1
  60. package/esm/storeList.d.ts +1 -4
  61. package/esm/sveltekit/server/index.d.ts +3 -9
  62. package/esm/sveltekit/server/index.js +3 -0
  63. package/esm/ui/Button.svelte +112 -89
  64. package/esm/ui/Button.svelte.d.ts +34 -24
  65. package/esm/ui/Clipboardable.svelte +24 -17
  66. package/esm/ui/Clipboardable.svelte.d.ts +34 -23
  67. package/esm/ui/Field.svelte +328 -285
  68. package/esm/ui/Field.svelte.d.ts +15 -8
  69. package/esm/ui/FieldGroup.svelte +112 -91
  70. package/esm/ui/FieldGroup.svelte.d.ts +17 -6
  71. package/esm/ui/Grid.svelte +322 -308
  72. package/esm/ui/Grid.svelte.d.ts +17 -6
  73. package/esm/ui/GridLoading.svelte +28 -27
  74. package/esm/ui/GridLoading.svelte.d.ts +19 -17
  75. package/esm/ui/GridPaginate.svelte +68 -61
  76. package/esm/ui/GridPaginate.svelte.d.ts +21 -19
  77. package/esm/ui/Icon.svelte +116 -80
  78. package/esm/ui/Icon.svelte.d.ts +52 -43
  79. package/esm/ui/Loading.svelte +10 -8
  80. package/esm/ui/Loading.svelte.d.ts +29 -18
  81. package/esm/ui/Tooltip.svelte +38 -35
  82. package/esm/ui/Tooltip.svelte.d.ts +30 -20
  83. package/esm/ui/dialog/DialogForm.svelte +70 -63
  84. package/esm/ui/dialog/DialogForm.svelte.d.ts +18 -16
  85. package/esm/ui/dialog/DialogManagement.svelte +74 -74
  86. package/esm/ui/dialog/DialogManagement.svelte.d.ts +22 -21
  87. package/esm/ui/dialog/DialogPrimitive.svelte +82 -76
  88. package/esm/ui/dialog/DialogPrimitive.svelte.d.ts +35 -25
  89. package/esm/ui/dialog/FormEditAction.svelte +58 -50
  90. package/esm/ui/dialog/FormEditAction.svelte.d.ts +13 -6
  91. package/esm/ui/dialog/dialog.d.ts +1 -4
  92. package/esm/ui/internals/FieldContainer.svelte +24 -17
  93. package/esm/ui/internals/FieldContainer.svelte.d.ts +37 -28
  94. package/esm/ui/internals/Input.svelte +136 -102
  95. package/esm/ui/internals/Input.svelte.d.ts +34 -32
  96. package/esm/ui/internals/Textarea.svelte +60 -52
  97. package/esm/ui/internals/Textarea.svelte.d.ts +31 -28
  98. package/esm/ui/internals/select/MultiSelectMelt.svelte +243 -199
  99. package/esm/ui/internals/select/MultiSelectMelt.svelte.d.ts +29 -27
  100. package/esm/ui/internals/select/SelectMelt.svelte +254 -219
  101. package/esm/ui/internals/select/SelectMelt.svelte.d.ts +34 -32
  102. package/esm/ui/internals/select/SelectRadio.svelte +39 -33
  103. package/esm/ui/internals/select/SelectRadio.svelte.d.ts +24 -22
  104. package/esm/ui/link/Link.svelte +25 -20
  105. package/esm/ui/link/Link.svelte.d.ts +31 -23
  106. package/esm/ui/link/LinkPlus.svelte +52 -51
  107. package/esm/ui/link/LinkPlus.svelte.d.ts +20 -18
  108. package/esm/vite/index.d.ts +2 -3
  109. package/esm/vite/index.js +33 -26
  110. package/package.json +16 -20
  111. package/esm/auth/static/assets/Page-Bb8bFlrP.d.ts +0 -4
  112. package/esm/auth/static/assets/Page-Bb8bFlrP.js +0 -1
  113. package/esm/auth/static/assets/Page-BxomFlZ8.d.ts +0 -4
  114. package/esm/auth/static/assets/Page-BxomFlZ8.js +0 -1
  115. package/esm/auth/static/assets/Page-CaIYu0-y.d.ts +0 -6
  116. package/esm/auth/static/assets/Page-CaIYu0-y.js +0 -19
  117. package/esm/auth/static/assets/Page-MkYglNtu.css +0 -1
  118. package/esm/auth/static/assets/index-Bl0Bk5u0.d.ts +0 -64
  119. package/esm/auth/static/assets/index-Bl0Bk5u0.js +0 -2
  120. package/esm/auth/static/assets/index-R27C_TlP.css +0 -4
@@ -1,25 +1,27 @@
1
- import { SvelteComponent } from "svelte";
2
1
  import type { BaseItem } from '../../../';
3
- declare const __propDef: {
4
- props: {
5
- id: string;
6
- disabled?: boolean;
7
- placeholder?: string;
8
- items?: BaseItem[];
9
- value?: string | number | undefined;
2
+ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
3
+ new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
4
+ $$bindings?: Bindings;
5
+ } & Exports;
6
+ (internal: unknown, props: Props & {
7
+ $$events?: Events;
8
+ $$slots?: Slots;
9
+ }): Exports & {
10
+ $set?: any;
11
+ $on?: any;
10
12
  };
11
- events: {
12
- selected: CustomEvent<any>;
13
- } & {
14
- [evt: string]: CustomEvent<any>;
15
- };
16
- slots: {};
17
- exports?: {} | undefined;
18
- bindings?: string | undefined;
19
- };
20
- export type SelectRadioProps = typeof __propDef.props;
21
- export type SelectRadioEvents = typeof __propDef.events;
22
- export type SelectRadioSlots = typeof __propDef.slots;
23
- export default class SelectRadio extends SvelteComponent<SelectRadioProps, SelectRadioEvents, SelectRadioSlots> {
13
+ z_$$bindings?: Bindings;
24
14
  }
25
- export {};
15
+ declare const SelectRadio: $$__sveltets_2_IsomorphicComponent<{
16
+ id: string;
17
+ disabled?: boolean;
18
+ placeholder?: string;
19
+ items?: BaseItem[];
20
+ value?: string | number | undefined;
21
+ }, {
22
+ selected: CustomEvent<any>;
23
+ } & {
24
+ [evt: string]: CustomEvent<any>;
25
+ }, {}, {}, string>;
26
+ type SelectRadio = InstanceType<typeof SelectRadio>;
27
+ export default SelectRadio;
@@ -1,28 +1,33 @@
1
- <script>export let href;
2
- export let target = void 0;
3
- export let kind = "info";
4
- const daisy = { info: "link-info", ghost: "" };
5
- let className = void 0;
6
- export { className as class };
1
+ <script lang="ts">
2
+ import type { HTMLAnchorAttributes } from 'svelte/elements'
3
+
4
+ export let href: string
5
+ export let target: HTMLAnchorAttributes['target'] = undefined
6
+
7
+ export let kind: 'info' | 'ghost' = 'info'
8
+ const daisy = { info: 'link-info', ghost: '' }
9
+
10
+ let className: string | undefined | null = undefined
11
+ export { className as class }
7
12
  </script>
8
13
 
9
14
  <a
10
- class={`${daisy[kind]} link inline-block text-left no-underline hover:underline ${className ?? ''}`}
11
- {href}
12
- rel="noopener"
13
- {target}
14
- {...$$restProps}
15
+ class={`${daisy[kind]} link inline-block text-left no-underline hover:underline ${className ?? ''}`}
16
+ {href}
17
+ rel="noopener"
18
+ {target}
19
+ {...$$restProps}
15
20
  >
16
- <slot />
21
+ <slot />
17
22
  </a>
18
23
 
19
24
  <style>
20
- a[target='_blank']::after {
21
- display: inline-block;
22
- content: '⇱';
23
- position: relative;
24
- top: -3px;
25
- margin-left: 3px;
26
- transform: rotate(90deg);
27
- }
25
+ a[target='_blank']::after {
26
+ display: inline-block;
27
+ content: '⇱';
28
+ position: relative;
29
+ top: -3px;
30
+ margin-left: 3px;
31
+ transform: rotate(90deg);
32
+ }
28
33
  </style>
@@ -1,25 +1,33 @@
1
- import { SvelteComponent } from "svelte";
2
- import type { HTMLAnchorAttributes } from 'svelte/elements';
3
- declare const __propDef: {
4
- props: {
5
- [x: string]: any;
6
- href: string;
7
- target?: HTMLAnchorAttributes["target"];
8
- kind?: ("info" | "ghost") | undefined;
9
- class?: string | undefined | null;
1
+ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
2
+ new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
3
+ $$bindings?: Bindings;
4
+ } & Exports;
5
+ (internal: unknown, props: Props & {
6
+ $$events?: Events;
7
+ $$slots?: Slots;
8
+ }): Exports & {
9
+ $set?: any;
10
+ $on?: any;
10
11
  };
11
- events: {
12
- [evt: string]: CustomEvent<any>;
13
- };
14
- slots: {
15
- default: {};
16
- };
17
- exports?: undefined;
18
- bindings?: undefined;
19
- };
20
- export type LinkProps = typeof __propDef.props;
21
- export type LinkEvents = typeof __propDef.events;
22
- export type LinkSlots = typeof __propDef.slots;
23
- export default class Link extends SvelteComponent<LinkProps, LinkEvents, LinkSlots> {
12
+ z_$$bindings?: Bindings;
24
13
  }
25
- export {};
14
+ type $$__sveltets_2_PropsWithChildren<Props, Slots> = Props & (Slots extends {
15
+ default: any;
16
+ } ? Props extends Record<string, never> ? any : {
17
+ children?: any;
18
+ } : {});
19
+ declare const Link: $$__sveltets_2_IsomorphicComponent<$$__sveltets_2_PropsWithChildren<{
20
+ [x: string]: any;
21
+ href: string;
22
+ target?: import("svelte/elements").HTMLAttributeAnchorTarget | null | undefined;
23
+ kind?: "info" | "ghost" | undefined;
24
+ class?: string | undefined | null | undefined;
25
+ }, {
26
+ default: {};
27
+ }>, {
28
+ [evt: string]: CustomEvent<any>;
29
+ }, {
30
+ default: {};
31
+ }, {}, string>;
32
+ type Link = InstanceType<typeof Link>;
33
+ export default Link;
@@ -1,56 +1,57 @@
1
- <script>import {} from "../..";
2
- import Icon from "../Icon.svelte";
3
- import Tooltip from "../Tooltip.svelte";
4
- import Link from "./Link.svelte";
5
- export let item;
6
- export let noIcon = false;
7
- export let captionSubStyle = "under";
8
- const hasSomethingToDisplay = (item2) => {
9
- if (item2.href) {
10
- return true;
11
- }
12
- if (item2.caption) {
13
- return true;
14
- }
15
- return false;
16
- };
1
+ <script lang="ts">
2
+ import { type BaseItemLight } from '../..'
3
+ import Icon from '../Icon.svelte'
4
+ import Tooltip from '../Tooltip.svelte'
5
+ import Link from './Link.svelte'
6
+
7
+ export let item: BaseItemLight | undefined
8
+ export let noIcon = false
9
+ export let captionSubStyle: 'under' | 'inline' | 'none' = 'under'
10
+
11
+ const hasSomethingToDisplay = (item: BaseItemLight) => {
12
+ if (item.href) {
13
+ return true
14
+ }
15
+ if (item.caption) {
16
+ return true
17
+ }
18
+ return false
19
+ }
17
20
  </script>
18
21
 
19
22
  <div class="flex items-center gap-4">
20
- {#if item}
21
- {#if item.icon?.data && !noIcon}
22
- {#if item.icon.caption}
23
- <Tooltip text={item.icon.caption}>
24
- <Icon {...item.icon} />
25
- </Tooltip>
26
- {:else}
27
- <Icon {...item.icon} />
28
- {/if}
29
- {/if}
23
+ {#if item}
24
+ {#if item.icon?.data && !noIcon}
25
+ {#if item.icon.caption}
26
+ <Tooltip text={item.icon.caption}>
27
+ <Icon {...item.icon} />
28
+ </Tooltip>
29
+ {:else}
30
+ <Icon {...item.icon} />
31
+ {/if}
32
+ {/if}
30
33
 
31
- {#if hasSomethingToDisplay(item)}
32
- <div class="flex flex-col items-start">
33
- {#if item.href}
34
- <div>
35
- <Link href={item.href}>{item.caption}</Link>
36
- {#if item.captionSub && captionSubStyle === 'inline'}
37
- <span class="text-base-content/70 text-xs italic">{item.captionSub}</span>
38
- {/if}
39
- </div>
40
- {:else}
41
- <!-- 20 is a cool value ! -->
42
- <span
43
- class="text-base-content {item.class} {(item.caption ?? '').length < 20
44
- ? 'text-nowrap'
45
- : ''}"
46
- >
47
- {item.caption ?? '-'}
48
- </span>
49
- {/if}
50
- {#if item.captionSub && captionSubStyle === 'under'}
51
- <span class="text-base-content/70 text-xs italic">{item.captionSub}</span>
52
- {/if}
53
- </div>
54
- {/if}
55
- {/if}
34
+ {#if hasSomethingToDisplay(item)}
35
+ <div class="flex flex-col items-start">
36
+ {#if item.href}
37
+ <div>
38
+ <Link href={item.href}>{item.caption}</Link>
39
+ {#if item.captionSub && captionSubStyle === 'inline'}
40
+ <span class="text-base-content/70 text-xs italic">{item.captionSub}</span>
41
+ {/if}
42
+ </div>
43
+ {:else}
44
+ <!-- 20 is a cool value ! -->
45
+ <span
46
+ class="text-base-content {item.class} {(item.caption ?? '').length < 20 ? 'text-nowrap' : ''}"
47
+ >
48
+ {item.caption ?? '-'}
49
+ </span>
50
+ {/if}
51
+ {#if item.captionSub && captionSubStyle === 'under'}
52
+ <span class="text-base-content/70 text-xs italic">{item.captionSub}</span>
53
+ {/if}
54
+ </div>
55
+ {/if}
56
+ {/if}
56
57
  </div>
@@ -1,21 +1,23 @@
1
- import { SvelteComponent } from "svelte";
2
1
  import { type BaseItemLight } from '../..';
3
- declare const __propDef: {
4
- props: {
5
- item: BaseItemLight | undefined;
6
- noIcon?: boolean;
7
- captionSubStyle?: "under" | "inline" | "none";
2
+ interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
3
+ new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
4
+ $$bindings?: Bindings;
5
+ } & Exports;
6
+ (internal: unknown, props: Props & {
7
+ $$events?: Events;
8
+ $$slots?: Slots;
9
+ }): Exports & {
10
+ $set?: any;
11
+ $on?: any;
8
12
  };
9
- events: {
10
- [evt: string]: CustomEvent<any>;
11
- };
12
- slots: {};
13
- exports?: {} | undefined;
14
- bindings?: string | undefined;
15
- };
16
- export type LinkPlusProps = typeof __propDef.props;
17
- export type LinkPlusEvents = typeof __propDef.events;
18
- export type LinkPlusSlots = typeof __propDef.slots;
19
- export default class LinkPlus extends SvelteComponent<LinkPlusProps, LinkPlusEvents, LinkPlusSlots> {
13
+ z_$$bindings?: Bindings;
20
14
  }
21
- export {};
15
+ declare const LinkPlus: $$__sveltets_2_IsomorphicComponent<{
16
+ item: BaseItemLight | undefined;
17
+ noIcon?: boolean;
18
+ captionSubStyle?: "under" | "inline" | "none";
19
+ }, {
20
+ [evt: string]: CustomEvent<any>;
21
+ }, {}, {}, string>;
22
+ type LinkPlus = InstanceType<typeof LinkPlus>;
23
+ export default LinkPlus;
@@ -1,8 +1,7 @@
1
1
  import { type PluginOption } from 'vite';
2
2
  import { type Options, type RouteMappings } from 'vite-plugin-kit-routes';
3
+ import { stripper } from 'vite-plugin-stripper';
3
4
  export declare function firstly<KIT_ROUTES extends RouteMappings>(options?: {
4
- stripper?: {
5
- debug?: boolean;
6
- };
5
+ stripper?: Parameters<typeof stripper>[0];
7
6
  kitRoutes?: Options<KIT_ROUTES>;
8
7
  }): PluginOption;
package/esm/vite/index.js CHANGED
@@ -1,32 +1,29 @@
1
1
  import {} from 'vite';
2
2
  import { kitRoutes } from 'vite-plugin-kit-routes';
3
3
  import { stripper } from 'vite-plugin-stripper';
4
- // import { Log } from '@kitql/helpers'
5
- // const toRemove = ['@node-rs/argon2', '@node-rs/bcrypt']
6
- // oslo needs to be in the dependencies (not devDependencies) !!
7
- // const toRemove = ['oslo/password', 'oslo']
4
+ // const toRemove = ['async_hooks', 'join', 'fs', 'path']
8
5
  export function firstly(options) {
9
6
  // @ts-ignore
10
7
  return [
11
8
  // {
12
- // name: 'vite-plugin-firstly',
13
- // enforce: 'pre',
14
- // config: async (a) => {
15
- // return mergeConfig(a, {
16
- // build: {
17
- // // THE ERROR:
18
- // // RollupError: Unexpected character '�' or Unexpected character '\u{7f}'
19
- // // This code (A) is to fix in `build` mode
20
- // rollupOptions: {
21
- // external: toRemove,
22
- // },
23
- // },
24
- // // This code (B) is to fix in `dev` mode
25
- // optimizeDeps: {
26
- // exclude: toRemove,
27
- // },
28
- // })
29
- // },
9
+ // name: 'vite-plugin-firstly',
10
+ // enforce: 'pre',
11
+ // config: async (a) => {
12
+ // return mergeConfig(a, {
13
+ // build: {
14
+ // // THE ERROR:
15
+ // // RollupError: Unexpected character '�' or Unexpected character '\u{7f}'
16
+ // // This code (A) is to fix in `build` mode
17
+ // rollupOptions: {
18
+ // external: toRemove,
19
+ // },
20
+ // },
21
+ // // This code (B) is to fix in `dev` mode
22
+ // optimizeDeps: {
23
+ // exclude: toRemove,
24
+ // },
25
+ // })
26
+ // },
30
27
  // },
31
28
  // @ts-ignore
32
29
  ...kitRoutes({
@@ -34,18 +31,28 @@ export function firstly(options) {
34
31
  ...{
35
32
  format_page_route_id: true,
36
33
  logs: {
37
- ...options?.kitRoutes?.logs,
38
34
  post_update_run: false,
39
35
  update: false,
36
+ ...options?.kitRoutes?.logs,
40
37
  },
41
38
  },
42
39
  }),
43
40
  // @ts-ignore
44
41
  ...stripper({
45
- decorators: ['BackendMethod'],
46
- hard: true,
42
+ strip: options?.stripper?.strip ?? [
43
+ { decorator: 'BackendMethod' },
44
+ {
45
+ decorator: 'Entity',
46
+ args_1: [
47
+ { fn: 'backendPrefilter' },
48
+ { fn: 'backendPreprocessFilter' },
49
+ { fn: 'sqlExpression' },
50
+ { fn: 'saved', excludeEntityKeys: ['users'] },
51
+ ],
52
+ },
53
+ ],
47
54
  debug: options?.stripper?.debug ?? false,
48
- nullify: ['$env/static/private', '$env/dynamic/private'],
55
+ nullify: options?.stripper?.nullify ?? ['$env/static/private', '$env/dynamic/private'],
49
56
  }),
50
57
  ];
51
58
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "firstly",
3
- "version": "0.0.12",
3
+ "version": "0.0.14",
4
4
  "type": "module",
5
5
  "description": "Firstly, an opinionated Remult setup!",
6
6
  "funding": "https://github.com/sponsors/jycouet",
@@ -16,12 +16,12 @@
16
16
  },
17
17
  "peerDependencies": {
18
18
  "@sveltejs/kit": ">=1.0.0 <3.0.0",
19
- "remult": "2.7.29",
20
- "svelte": ">=4.2.18"
19
+ "remult": "2.7.32-next.0",
20
+ "svelte": ">=5"
21
21
  },
22
22
  "dependencies": {
23
- "@clack/prompts": "0.7.0",
24
- "@kitql/internals": "0.9.9",
23
+ "@clack/prompts": "0.10.0",
24
+ "@kitql/internals": "0.10.3",
25
25
  "@mdi/js": "7.4.47",
26
26
  "@melt-ui/svelte": "0.86.3",
27
27
  "@oslojs/crypto": "1.0.1",
@@ -29,18 +29,18 @@
29
29
  "@oslojs/otp": "1.1.0",
30
30
  "@types/nodemailer": "6.4.14",
31
31
  "arctic": "3.5.0",
32
- "bcrypt": "5.1.1",
32
+ "bcryptjs": "3.0.2",
33
33
  "clsx": "2.1.1",
34
- "cron": "3.1.7",
34
+ "cron": "4.1.0",
35
35
  "daisyui": "4.12.14",
36
- "esm-env": "1.0.0",
37
- "nodemailer": "6.9.14",
36
+ "esm-env": "1.2.2",
37
+ "nodemailer": "6.10.0",
38
38
  "svelty-email": "0.0.11",
39
- "tailwind-merge": "2.3.0",
39
+ "tailwind-merge": "2.6.0",
40
40
  "tailwindcss": "3.4.4",
41
- "vite": "5.4.1",
41
+ "vite": "6.2.2",
42
42
  "vite-plugin-kit-routes": "0.8.3",
43
- "vite-plugin-stripper": "0.5.4"
43
+ "vite-plugin-stripper": "0.9.0-next.1"
44
44
  },
45
45
  "sideEffects": false,
46
46
  "bin": "./esm/bin/cmd.js",
@@ -65,7 +65,7 @@
65
65
  "types": "./esm/formats/index.d.ts",
66
66
  "default": "./esm/formats/index.js"
67
67
  },
68
- "./auth": {
68
+ "./auth/client": {
69
69
  "types": "./esm/auth/index.d.ts",
70
70
  "default": "./esm/auth/index.js"
71
71
  },
@@ -73,7 +73,7 @@
73
73
  "types": "./esm/auth/server/index.d.ts",
74
74
  "default": "./esm/auth/server/index.js"
75
75
  },
76
- "./changeLog": {
76
+ "./changeLog/client": {
77
77
  "types": "./esm/changeLog/index.d.ts",
78
78
  "default": "./esm/changeLog/index.js"
79
79
  },
@@ -85,7 +85,7 @@
85
85
  "types": "./esm/cron/server/index.d.ts",
86
86
  "default": "./esm/cron/server/index.js"
87
87
  },
88
- "./feedback": {
88
+ "./feedback/client": {
89
89
  "types": "./esm/feedback/index.d.ts",
90
90
  "default": "./esm/feedback/index.js"
91
91
  },
@@ -93,17 +93,13 @@
93
93
  "types": "./esm/feedback/server/index.d.ts",
94
94
  "default": "./esm/feedback/server/index.js"
95
95
  },
96
- "./mail": {
96
+ "./mail/client": {
97
97
  "types": "./esm/mail/index.d.ts",
98
98
  "default": "./esm/mail/index.js"
99
99
  },
100
100
  "./mail/server": {
101
101
  "types": "./esm/mail/server/index.d.ts",
102
102
  "default": "./esm/mail/server/index.js"
103
- },
104
- "./sveltekit/server": {
105
- "types": "./esm/sveltekit/server/index.d.ts",
106
- "default": "./esm/sveltekit/server/index.js"
107
103
  }
108
104
  },
109
105
  "keywords": [
@@ -1,4 +0,0 @@
1
- export { v as default };
2
- declare class v extends l {
3
- }
4
- import { S as l } from "./index-Bl0Bk5u0.js";
@@ -1 +0,0 @@
1
- import{S as l,b as d,a as f,d as i,h as m,M as p,t as u,n as r,z as h}from"./index-Bl0Bk5u0.js";function c(a){let e;const n={c:function(){e=p("Hello from files")},l:function(t){throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option")},m:function(t,o){u(t,e,o)},p:r,i:r,o:r,d:function(t){t&&h(e)}};return i("SvelteRegisterBlock",{block:n,id:c.name,type:"component",source:"",ctx:a}),n}function w(a,e){let{$$slots:n={},$$scope:s}=e;m("Page",n,[]);const t=[];return Object.keys(e).forEach(o=>{!~t.indexOf(o)&&o.slice(0,2)!=="$$"&&o!=="slot"&&console.warn(`<Page> was created with unknown prop '${o}'`)}),[]}class v extends l{constructor(e){super(e),d(this,e,w,c,f,{}),i("SvelteRegisterComponent",{component:this,tagName:"Page",options:e,id:c.name})}}export{v as default};
@@ -1,4 +0,0 @@
1
- export { v as default };
2
- declare class v extends l {
3
- }
4
- import { S as l } from "./index-Bl0Bk5u0.js";
@@ -1 +0,0 @@
1
- import{S as l,b as d,a as f,d as i,h as m,M as p,t as u,n as r,z as h}from"./index-Bl0Bk5u0.js";function c(s){let e;const n={c:function(){e=p("Hello from admin")},l:function(t){throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option")},m:function(t,o){u(t,e,o)},p:r,i:r,o:r,d:function(t){t&&h(e)}};return i("SvelteRegisterBlock",{block:n,id:c.name,type:"component",source:"",ctx:s}),n}function w(s,e){let{$$slots:n={},$$scope:a}=e;m("Page",n,[]);const t=[];return Object.keys(e).forEach(o=>{!~t.indexOf(o)&&o.slice(0,2)!=="$$"&&o!=="slot"&&console.warn(`<Page> was created with unknown prop '${o}'`)}),[]}class v extends l{constructor(e){super(e),d(this,e,w,c,f,{}),i("SvelteRegisterComponent",{component:this,tagName:"Page",options:e,id:c.name})}}export{v as default};
@@ -1,6 +0,0 @@
1
- export { Xl as default };
2
- declare class Xl extends yt {
3
- set firstlyData(e: void);
4
- get firstlyData(): void;
5
- }
6
- import { S as yt } from "./index-Bl0Bk5u0.js";