@trilogy-ds/locales 0.0.4-esm-cjs-en

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/README.md ADDED
@@ -0,0 +1,10 @@
1
+ # Package @trilogy-ds/locales
2
+
3
+ ## Description
4
+ This package contains localization files for the `@en` (English) and `@fr` (French) languages used in applications.
5
+
6
+ ## Installation
7
+ You can install this package via npm using one of the following commands:
8
+ ```bash
9
+ npm install @trilogy-ds/locales@en
10
+ npm install @trilogy-ds/locales@fr
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ accessibilityLabel: string;
3
+ };
4
+
5
+ export { _default as default };
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ accessibilityLabel: string;
3
+ };
4
+
5
+ export { _default as default };
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/breadcrumb.ts
21
+ var breadcrumb_exports = {};
22
+ __export(breadcrumb_exports, {
23
+ default: () => breadcrumb_default
24
+ });
25
+ module.exports = __toCommonJS(breadcrumb_exports);
26
+ var breadcrumb_default = {
27
+ accessibilityLabel: "Breadcrumb"
28
+ };
@@ -0,0 +1,6 @@
1
+ import {
2
+ breadcrumb_default
3
+ } from "./chunk-H4RGYC6D.mjs";
4
+ export {
5
+ breadcrumb_default as default
6
+ };
@@ -0,0 +1,8 @@
1
+ // src/modal.ts
2
+ var modal_default = {
3
+ accessibilityLabelButtonClose: "Close"
4
+ };
5
+
6
+ export {
7
+ modal_default
8
+ };
@@ -0,0 +1,8 @@
1
+ // src/breadcrumb.ts
2
+ var breadcrumb_default = {
3
+ accessibilityLabel: "Breadcrumb"
4
+ };
5
+
6
+ export {
7
+ breadcrumb_default
8
+ };
@@ -0,0 +1,8 @@
1
+ // src/otp.ts
2
+ var otp_default = {
3
+ inputTitle: "Number :x of :y of the one-time code"
4
+ };
5
+
6
+ export {
7
+ otp_default
8
+ };
@@ -0,0 +1,9 @@
1
+ // src/input.ts
2
+ var input_default = {
3
+ showPassword: "Show password",
4
+ hidePassword: "Hide password"
5
+ };
6
+
7
+ export {
8
+ input_default
9
+ };
@@ -0,0 +1,4 @@
1
+ export { default as breadcrumbLocale } from './breadcrumb.mjs';
2
+ export { default as inputLocale } from './input.mjs';
3
+ export { default as modalLocale } from './modal.mjs';
4
+ export { default as otpLocale } from './otp.mjs';
package/lib/index.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ export { default as breadcrumbLocale } from './breadcrumb.js';
2
+ export { default as inputLocale } from './input.js';
3
+ export { default as modalLocale } from './modal.js';
4
+ export { default as otpLocale } from './otp.js';
package/lib/index.js ADDED
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/index.ts
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
+ breadcrumbLocale: () => breadcrumb_default,
24
+ inputLocale: () => input_default,
25
+ modalLocale: () => modal_default,
26
+ otpLocale: () => otp_default
27
+ });
28
+ module.exports = __toCommonJS(index_exports);
29
+
30
+ // src/breadcrumb.ts
31
+ var breadcrumb_default = {
32
+ accessibilityLabel: "Breadcrumb"
33
+ };
34
+
35
+ // src/input.ts
36
+ var input_default = {
37
+ showPassword: "Show password",
38
+ hidePassword: "Hide password"
39
+ };
40
+
41
+ // src/modal.ts
42
+ var modal_default = {
43
+ accessibilityLabelButtonClose: "Close"
44
+ };
45
+
46
+ // src/otp.ts
47
+ var otp_default = {
48
+ inputTitle: "Number :x of :y of the one-time code"
49
+ };
50
+ // Annotate the CommonJS export names for ESM import in node:
51
+ 0 && (module.exports = {
52
+ breadcrumbLocale,
53
+ inputLocale,
54
+ modalLocale,
55
+ otpLocale
56
+ });
package/lib/index.mjs ADDED
@@ -0,0 +1,18 @@
1
+ import {
2
+ breadcrumb_default
3
+ } from "./chunk-H4RGYC6D.mjs";
4
+ import {
5
+ input_default
6
+ } from "./chunk-QWXWAG75.mjs";
7
+ import {
8
+ modal_default
9
+ } from "./chunk-GL7IFL6J.mjs";
10
+ import {
11
+ otp_default
12
+ } from "./chunk-LD67IULK.mjs";
13
+ export {
14
+ breadcrumb_default as breadcrumbLocale,
15
+ input_default as inputLocale,
16
+ modal_default as modalLocale,
17
+ otp_default as otpLocale
18
+ };
@@ -0,0 +1,6 @@
1
+ declare const _default: {
2
+ showPassword: string;
3
+ hidePassword: string;
4
+ };
5
+
6
+ export { _default as default };
package/lib/input.d.ts ADDED
@@ -0,0 +1,6 @@
1
+ declare const _default: {
2
+ showPassword: string;
3
+ hidePassword: string;
4
+ };
5
+
6
+ export { _default as default };
package/lib/input.js ADDED
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/input.ts
21
+ var input_exports = {};
22
+ __export(input_exports, {
23
+ default: () => input_default
24
+ });
25
+ module.exports = __toCommonJS(input_exports);
26
+ var input_default = {
27
+ showPassword: "Show password",
28
+ hidePassword: "Hide password"
29
+ };
package/lib/input.mjs ADDED
@@ -0,0 +1,6 @@
1
+ import {
2
+ input_default
3
+ } from "./chunk-QWXWAG75.mjs";
4
+ export {
5
+ input_default as default
6
+ };
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ accessibilityLabelButtonClose: string;
3
+ };
4
+
5
+ export { _default as default };
package/lib/modal.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ accessibilityLabelButtonClose: string;
3
+ };
4
+
5
+ export { _default as default };
package/lib/modal.js ADDED
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/modal.ts
21
+ var modal_exports = {};
22
+ __export(modal_exports, {
23
+ default: () => modal_default
24
+ });
25
+ module.exports = __toCommonJS(modal_exports);
26
+ var modal_default = {
27
+ accessibilityLabelButtonClose: "Close"
28
+ };
package/lib/modal.mjs ADDED
@@ -0,0 +1,6 @@
1
+ import {
2
+ modal_default
3
+ } from "./chunk-GL7IFL6J.mjs";
4
+ export {
5
+ modal_default as default
6
+ };
package/lib/otp.d.mts ADDED
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ inputTitle: string;
3
+ };
4
+
5
+ export { _default as default };
package/lib/otp.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ inputTitle: string;
3
+ };
4
+
5
+ export { _default as default };
package/lib/otp.js ADDED
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/otp.ts
21
+ var otp_exports = {};
22
+ __export(otp_exports, {
23
+ default: () => otp_default
24
+ });
25
+ module.exports = __toCommonJS(otp_exports);
26
+ var otp_default = {
27
+ inputTitle: "Number :x of :y of the one-time code"
28
+ };
package/lib/otp.mjs ADDED
@@ -0,0 +1,6 @@
1
+ import {
2
+ otp_default
3
+ } from "./chunk-LD67IULK.mjs";
4
+ export {
5
+ otp_default as default
6
+ };
package/package.json ADDED
@@ -0,0 +1,31 @@
1
+ {
2
+ "name": "@trilogy-ds/locales",
3
+ "version": "0.0.4-esm-cjs-en",
4
+ "description": "Trilogy assets include traductions (en) for accessibility",
5
+ "author": "Bouygues Telecom",
6
+ "license": "UNLICENSED",
7
+ "main": "lib/index.js",
8
+ "module": "lib/index.mjs",
9
+ "types": "lib/index.d.ts",
10
+ "scripts": {
11
+ "build": "rimraf ./lib && tsup"
12
+ },
13
+ "files": [
14
+ "lib",
15
+ "package.json",
16
+ "README.md"
17
+ ],
18
+ "exports": {
19
+ ".": {
20
+ "types": "./lib/index.d.ts",
21
+ "import": "./lib/index.mjs",
22
+ "require": "./lib/index.js"
23
+ },
24
+ "./*": {
25
+ "types": "./lib/index.d.ts",
26
+ "import": "./lib/index.mjs",
27
+ "require": "./lib/index.js"
28
+ },
29
+ "./package.json": "./package.json"
30
+ }
31
+ }