@itrocks/framework 0.2.6 → 0.3.0

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/app.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import '../auto-redirect/build.js';
2
- import '../real-viewport-height/real-viewport-height.js';
1
+ import '@itrocks/auto-redirect/build.js';
2
+ import '@itrocks/real-viewport-height/real-viewport-height.js';
package/app.js CHANGED
@@ -1,38 +1,38 @@
1
- import { loadCss } from '../asset-loader/asset-loader.js';
2
- import { autoFocus } from '../auto-focus/auto-focus.js';
3
- import '../auto-redirect/build.js';
4
- import { breadcrumb } from '../breadcrumb/breadcrumb.js';
5
- import { build } from '../build/build.js';
6
- import { collapse } from '../collapse/collapse.js';
7
- import { containedAutoWidth } from '../contained-auto-width/contained-auto-width.js';
8
- import { notification } from '../notifications/notifications.js';
9
- import { notifications } from '../notifications/notifications.js';
10
- import '../real-viewport-height/real-viewport-height.js';
11
- import { XTargetBeginEnd } from '../xtarget/begin-end.js';
12
- import { buildXTarget } from '../xtarget/build.js';
13
- import { XTargetSecureClick } from '../xtarget/secure-click.js';
14
- import { XTargetComposite } from '../xtarget/composite.js';
15
- import { XTargetDefaultTarget } from '../xtarget/default-target.js';
16
- import { XTargetDefaultOptions } from '../xtarget/xtarget.js';
17
- import { XTargetHead } from '../xtarget/head.js';
18
- import { XTargetHeadersSize } from '../xtarget/headers-size.js';
19
- import { XTargetHistory } from '../xtarget/history.js';
20
- import { XTargetHoldOn } from '../xtarget/hold-on.js';
21
- import { XTargetMainTarget } from '../xtarget/main-target.js';
22
- import { XTargetModifier } from '../xtarget/modifier.js';
1
+ import { loadCss } from '@itrocks/asset-loader/asset-loader.js';
2
+ import { autoFocus } from '@itrocks/auto-focus/auto-focus.js';
3
+ import '@itrocks/auto-redirect/build.js';
4
+ import { breadcrumb } from '@itrocks/breadcrumb/breadcrumb.js';
5
+ import { build } from '@itrocks/build/build.js';
6
+ import { collapse } from '@itrocks/collapse/collapse.js';
7
+ import { containedAutoWidth } from '@itrocks/contained-auto-width/contained-auto-width.js';
8
+ import { notification } from '@itrocks/notifications/notifications.js';
9
+ import { notifications } from '@itrocks/notifications/notifications.js';
10
+ import '@itrocks/real-viewport-height/real-viewport-height.js';
11
+ import { XTargetBeginEnd } from '@itrocks/xtarget/begin-end.js';
12
+ import { buildXTarget } from '@itrocks/xtarget/build.js';
13
+ import { XTargetSecureClick } from '@itrocks/xtarget/secure-click.js';
14
+ import { XTargetComposite } from '@itrocks/xtarget/composite.js';
15
+ import { XTargetDefaultTarget } from '@itrocks/xtarget/default-target.js';
16
+ import { XTargetDefaultOptions } from '@itrocks/xtarget/xtarget.js';
17
+ import { XTargetHead } from '@itrocks/xtarget/head.js';
18
+ import { XTargetHeadersSize } from '@itrocks/xtarget/headers-size.js';
19
+ import { XTargetHistory } from '@itrocks/xtarget/history.js';
20
+ import { XTargetHoldOn } from '@itrocks/xtarget/hold-on.js';
21
+ import { XTargetMainTarget } from '@itrocks/xtarget/main-target.js';
22
+ import { XTargetModifier } from '@itrocks/xtarget/modifier.js';
23
23
  let selector;
24
24
  selector = 'input[data-type=object], ul[data-type=objects] > li > input:not([type=hidden])';
25
25
  build(selector, async (input) => {
26
26
  input.classList.add('autocomplete');
27
- loadCss('/node_modules/@itrocks/autocomplete/autocomplete.css');
28
- new (await import('../autocomplete/autocomplete.js')).AutoComplete(input);
27
+ loadCss('/@itrocks/autocomplete/autocomplete.css');
28
+ new (await import('@itrocks/autocomplete/autocomplete.js')).AutoComplete(input);
29
29
  if (input.dataset.type !== 'object') {
30
- (await import('../links/links.js')).links(input);
30
+ (await import('@itrocks/links/links.js')).links(input);
31
31
  }
32
32
  });
33
33
  build('main > * > h2, main > * > header > h2', breadcrumb);
34
34
  build('button.collapse', button => collapse(button, 'body'));
35
- build('input[data-type=date]', async (input) => (await import('../air-datepicker/air-datepicker.js')).airDatePicker(input));
35
+ build('input[data-type=date]', async (input) => (await import('@itrocks/air-datepicker/air-datepicker.js')).airDatePicker(input));
36
36
  build('form', autoFocus);
37
37
  selector = '[data-contained-auto-width], [data-multiple-contained-auto-width] > li';
38
38
  build(selector, async (container) => containedAutoWidth(container));
package/cjs/main.js CHANGED
@@ -15,7 +15,7 @@ const store_1 = require("@itrocks/store");
15
15
  const template_1 = require("@itrocks/template");
16
16
  const node_path_1 = require("node:path");
17
17
  const node_path_2 = require("node:path");
18
- template_1.frontScripts.push('/node_modules/air-datepicker/locale/en.js', '/node_modules/air-datepicker/locale/fr.js');
18
+ template_1.frontScripts.push('/lib/air-datepicker/locale/en.js', '/lib/air-datepicker/locale/fr.js');
19
19
  async function execute(request) {
20
20
  // Access control
21
21
  if ((config_1.config.access?.free !== '*')
@@ -7,7 +7,7 @@ export declare class ReflectClass<T extends object = object> extends RC<T> {
7
7
  get parent(): any;
8
8
  get properties(): {
9
9
  [s: string]: import("@itrocks/reflect").ReflectProperty<T>;
10
- [Symbol.iterator](): Iterator<import("@itrocks/reflect").ReflectProperty<T>, any, any>;
10
+ [Symbol.iterator](): ArrayIterator<import("@itrocks/reflect").ReflectProperty<T>>;
11
11
  };
12
12
  property(name: KeyOf<T>): ReflectProperty<T>;
13
13
  get uses(): import("@itrocks/class-type").Type[];
package/fr-FR.csv CHANGED
@@ -52,6 +52,7 @@ please enter your new password;veuillez entrer votre nouveau mot de passe
52
52
  please try again later or contact our support team if the issue persists;veuillez réessayer ultérieurement ou contacter notre équipe de support si le problème persiste
53
53
  please wait for an administrator to activate it;veuillez attendre qu'un administrateur l'active
54
54
  print;imprimer
55
+ reset search filters;réinitialise les filtres de recherche
55
56
  sign up;s'inscrire
56
57
  sign-up error;erreur pendant l'inscription
57
58
  reset;réinitialiser
package/package.json CHANGED
@@ -96,5 +96,5 @@
96
96
  "build:front": "tsc -p src/front/tsconfig.json && sed -i 's#../../##g' *.js *.d.ts"
97
97
  },
98
98
  "types": "./cjs/framework.d.ts",
99
- "version": "0.2.6"
99
+ "version": "0.3.0"
100
100
  }