@operato/i18n 1.2.0 → 1.2.35
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/CHANGELOG.md
CHANGED
@@ -3,6 +3,25 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
5
|
|
6
|
+
### [1.2.35](https://github.com/hatiolab/operato/compare/v1.2.34...v1.2.35) (2023-05-12)
|
7
|
+
|
8
|
+
|
9
|
+
### :bug: Bug Fix
|
10
|
+
|
11
|
+
* license ([d14bd65](https://github.com/hatiolab/operato/commit/d14bd659d04ed69ff4332bd6e04aef4319ed6231))
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
### [1.2.28](https://github.com/hatiolab/operato/compare/v1.2.27...v1.2.28) (2023-04-29)
|
16
|
+
|
17
|
+
|
18
|
+
### :bug: Bug Fix
|
19
|
+
|
20
|
+
* remove unused resolutions and update modules ([1e62235](https://github.com/hatiolab/operato/commit/1e62235677619fa28d337cbe99b46b6d1f8a40fc))
|
21
|
+
* update module's version ([4df042c](https://github.com/hatiolab/operato/commit/4df042cf1594532aa7925f57b725541cf88a6f43))
|
22
|
+
|
23
|
+
|
24
|
+
|
6
25
|
## [1.2.0](https://github.com/hatiolab/operato/compare/v1.1.84...v1.2.0) (2023-03-06)
|
7
26
|
|
8
27
|
**Note:** Version bump only for package @operato/i18n
|
@@ -25,7 +25,7 @@ const getDefaults = () => {
|
|
25
25
|
}
|
26
26
|
};
|
27
27
|
};
|
28
|
-
|
28
|
+
class Backend {
|
29
29
|
constructor(services, options = {}, allOptions = {}) {
|
30
30
|
this.services = services;
|
31
31
|
this.options = options;
|
@@ -151,4 +151,5 @@ export class Backend {
|
|
151
151
|
}
|
152
152
|
}
|
153
153
|
Backend.type = 'backend';
|
154
|
+
export { Backend };
|
154
155
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3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CAAC,CAAM,EAAE,EAAE;gBACtB,IAAI,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC;oBAAE,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;YAC3C,CAAC,CAAC,CAAA;QACJ,CAAC,CAAA;QAED,MAAM,CAAC,eAAe,CAAC,CAAA;QAEvB,IAAI,IAAI,CAAC,UAAU,CAAC,OAAO;YAAE,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAA;QAEnF,MAAM,CAAC,OAAO,CAAC,CAAC,GAAQ,EAAE,EAAE;YAC1B,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,EAAO,EAAE,EAAE;gBACrC,gBAAgB,CAAC,IAAI,CAAC,GAAG,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,GAAQ,EAAE,IAAS,EAAE,EAAE;oBACzE,IAAI,GAAG;wBAAE,MAAM,CAAC,IAAI,CAAC,qBAAqB,EAAE,iBAAiB,GAAG,SAAS,EAAE,GAAG,CAAC,CAAA;oBAC/E,IAAI,CAAC,GAAG,IAAI,IAAI;wBAAE,MAAM,CAAC,GAAG,CAAC,oBAAoB,EAAE,iBAAiB,GAAG,EAAE,EAAE,IAAI,CAAC,CAAA;oBAEhF,gBAAgB,CAAC,MAAM,CAAC,GAAG,GAAG,IAAI,EAAE,EAAE,EAAE,GAAG,EAAE,IAAI,CAAC,CAAA;gBACpD,CAAC,CAAC,CAAA;YACJ,CAAC,CAAC,CAAA;QACJ,CAAC,CAAC,CAAA;IACJ,CAAC;;AArIM,YAAI,GAAe,SAAS,CAAA","sourcesContent":["// migrated from https://github.com/i18next/i18next-http-backend\n// due to import module problem\n\nimport { ModuleType } from 'i18next'\nimport { makePromise } from './utils.js'\nimport { request } from './request.js'\n\nconst getDefaults = () => {\n return {\n loadPath: '/locales/{{lng}}/{{ns}}.json',\n addPath: '/locales/add/{{lng}}/{{ns}}',\n allowMultiLoading: false,\n parse: (data: any) => JSON.parse(data),\n stringify: JSON.stringify,\n parsePayload: (namespace: any, key: string, fallbackValue: any) => ({ [key]: fallbackValue || '' }),\n request,\n reloadInterval: typeof window !== 'undefined' ? false : 60 * 60 * 1000,\n customHeaders: {},\n queryStringParams: {},\n crossDomain: false, // used for XmlHttpRequest\n withCredentials: false, // used for XmlHttpRequest\n overrideMimeType: false, // used for XmlHttpRequest\n requestOptions: {\n // used for fetch\n mode: 'cors',\n credentials: 'same-origin',\n cache: 'default'\n }\n }\n}\n\nexport class Backend {\n static type: ModuleType = 'backend'\n\n services: any\n options: any\n allOptions: any\n type: string\n\n constructor(services: any, options: any = {}, allOptions: any = {}) {\n this.services = services\n this.options = options\n this.allOptions = allOptions\n this.type = 'backend'\n this.init(services, options, allOptions)\n }\n\n init(services: any, options: any = {}, allOptions: any = {}) {\n this.services = services\n this.options = {\n ...getDefaults(),\n ...this.options,\n ...options\n }\n this.allOptions = allOptions\n if (this.services && this.options.reloadInterval) {\n setInterval(() => this.reload(), this.options.reloadInterval)\n }\n }\n\n readMulti(languages: any, namespaces: any, callback: any) {\n this._readAny(languages, languages, namespaces, namespaces, callback)\n }\n\n read(language: any, namespace: any, callback: any) {\n this._readAny([language], language, [namespace], namespace, callback)\n }\n\n _readAny(languages: any, loadUrlLanguages: any, namespaces: any, loadUrlNamespaces: any, callback: any) {\n let loadPath = this.options.loadPath\n if (typeof this.options.loadPath === 'function') {\n loadPath = this.options.loadPath(languages, namespaces)\n }\n\n loadPath = makePromise(loadPath)\n\n loadPath.then((resolvedLoadPath: any) => {\n const url = this.services.interpolator.interpolate(resolvedLoadPath, {\n lng: languages.join('+'),\n ns: namespaces.join('+')\n })\n this.loadUrl(url, callback, loadUrlLanguages, loadUrlNamespaces)\n })\n }\n\n loadUrl(url: string, callback: any, languages: any, namespaces: any) {\n this.options.request(this.options, url, undefined, (err: any, res: any) => {\n if (res && ((res.status >= 500 && res.status < 600) || !res.status))\n return callback('failed loading ' + url + '; status code: ' + res.status, true /* retry */)\n if (res && res.status >= 400 && res.status < 500)\n return callback('failed loading ' + url + '; status code: ' + res.status, false /* no retry */)\n if (!res && err && err.message && err.message.indexOf('Failed to fetch') > -1)\n return callback('failed loading ' + url + ': ' + err.message, true /* retry */)\n if (err) return callback(err, false)\n\n let ret, parseErr\n try {\n if (typeof res.data === 'string') {\n ret = this.options.parse(res.data, languages, namespaces)\n } else {\n // fallback, which omits calling the parse function\n ret = res.data\n }\n } catch (e) {\n parseErr = 'failed parsing ' + url + ' to json'\n }\n if (parseErr) return callback(parseErr, false)\n callback(null, ret)\n })\n }\n\n create(languages: any, namespace: any, key: any, fallbackValue: any, callback: any) {\n // If there is a falsey addPath, then abort -- this has been disabled.\n if (!this.options.addPath) return\n if (typeof languages === 'string') languages = [languages]\n const payload = this.options.parsePayload(namespace, key, fallbackValue)\n let finished = 0\n const dataArray: any = []\n const resArray: any = []\n languages.forEach((lng: any) => {\n let addPath = this.options.addPath\n if (typeof this.options.addPath === 'function') {\n addPath = this.options.addPath(lng, namespace)\n }\n const url = this.services.interpolator.interpolate(addPath, { lng: lng, ns: namespace })\n\n this.options.request(this.options, url, payload, (data: any, res: any) => {\n // TODO: if res.status === 4xx do log\n finished += 1\n dataArray.push(data)\n resArray.push(res)\n if (finished === languages.length) {\n if (callback) callback(dataArray, resArray)\n }\n })\n })\n }\n\n reload() {\n const { backendConnector, languageUtils, logger } = this.services\n const currentLanguage = backendConnector.language\n if (currentLanguage && currentLanguage.toLowerCase() === 'cimode') return // avoid loading resources for cimode\n\n const toLoad: any = []\n const append = (lng: any) => {\n const lngs = languageUtils.toResolveHierarchy(lng)\n lngs.forEach((l: any) => {\n if (toLoad.indexOf(l) < 0) toLoad.push(l)\n })\n }\n\n append(currentLanguage)\n\n if (this.allOptions.preload) this.allOptions.preload.forEach((l: any) => append(l))\n\n toLoad.forEach((lng: any) => {\n this.allOptions.ns.forEach((ns: any) => {\n backendConnector.read(lng, ns, 'read', null, null, (err: any, data: any) => {\n if (err) logger.warn(`loading namespace ${ns} for language ${lng} failed`, err)\n if (!err && data) logger.log(`loaded namespace ${ns} for language ${lng}`, data)\n\n backendConnector.loaded(`${lng}|${ns}`, err, data)\n })\n })\n })\n }\n}\n"]}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http-backend/index.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,+BAA+B;AAG/B,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAEtC,MAAM,WAAW,GAAG,GAAG,EAAE;IACvB,OAAO;QACL,QAAQ,EAAE,8BAA8B;QACxC,OAAO,EAAE,6BAA6B;QACtC,iBAAiB,EAAE,KAAK;QACxB,KAAK,EAAE,CAAC,IAAS,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC;QACtC,SAAS,EAAE,IAAI,CAAC,SAAS;QACzB,YAAY,EAAE,CAAC,SAAc,EAAE,GAAW,EAAE,aAAkB,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,aAAa,IAAI,EAAE,EAAE,CAAC;QACnG,OAAO;QACP,cAAc,EAAE,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,GAAG,IAAI;QACtE,aAAa,EAAE,EAAE;QACjB,iBAAiB,EAAE,EAAE;QACrB,WAAW,EAAE,KAAK;QAClB,eAAe,EAAE,KAAK;QACtB,gBAAgB,EAAE,KAAK;QACvB,cAAc,EAAE;YACd,iBAAiB;YACjB,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,aAAa;YAC1B,KAAK,EAAE,SAAS;SACjB;KACF,CAAA;AACH,CAAC,CAAA;AAED,MAAa,OAAO;IAQlB,YAAY,Q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C,CAAA;YACJ,CAAC,CAAC,CAAA;QACJ,CAAC,CAAC,CAAA;IACJ,CAAC;;AArIM,YAAI,GAAe,SAAS,CAAA;SADxB,OAAO","sourcesContent":["// migrated from https://github.com/i18next/i18next-http-backend\n// due to import module problem\n\nimport { ModuleType } from 'i18next'\nimport { makePromise } from './utils.js'\nimport { request } from './request.js'\n\nconst getDefaults = () => {\n return {\n loadPath: '/locales/{{lng}}/{{ns}}.json',\n addPath: '/locales/add/{{lng}}/{{ns}}',\n allowMultiLoading: false,\n parse: (data: any) => JSON.parse(data),\n stringify: JSON.stringify,\n parsePayload: (namespace: any, key: string, fallbackValue: any) => ({ [key]: fallbackValue || '' }),\n request,\n reloadInterval: typeof window !== 'undefined' ? false : 60 * 60 * 1000,\n customHeaders: {},\n queryStringParams: {},\n crossDomain: false, // used for XmlHttpRequest\n withCredentials: false, // used for XmlHttpRequest\n overrideMimeType: false, // used for XmlHttpRequest\n requestOptions: {\n // used for fetch\n mode: 'cors',\n credentials: 'same-origin',\n cache: 'default'\n }\n }\n}\n\nexport class Backend {\n static type: ModuleType = 'backend'\n\n services: any\n options: any\n allOptions: any\n type: string\n\n constructor(services: any, options: any = {}, allOptions: any = {}) {\n this.services = services\n this.options = options\n this.allOptions = allOptions\n this.type = 'backend'\n this.init(services, options, allOptions)\n }\n\n init(services: any, options: any = {}, allOptions: any = {}) {\n this.services = services\n this.options = {\n ...getDefaults(),\n ...this.options,\n ...options\n }\n this.allOptions = allOptions\n if (this.services && this.options.reloadInterval) {\n setInterval(() => this.reload(), this.options.reloadInterval)\n }\n }\n\n readMulti(languages: any, namespaces: any, callback: any) {\n this._readAny(languages, languages, namespaces, namespaces, callback)\n }\n\n read(language: any, namespace: any, callback: any) {\n this._readAny([language], language, [namespace], namespace, callback)\n }\n\n _readAny(languages: any, loadUrlLanguages: any, namespaces: any, loadUrlNamespaces: any, callback: any) {\n let loadPath = this.options.loadPath\n if (typeof this.options.loadPath === 'function') {\n loadPath = this.options.loadPath(languages, namespaces)\n }\n\n loadPath = makePromise(loadPath)\n\n loadPath.then((resolvedLoadPath: any) => {\n const url = this.services.interpolator.interpolate(resolvedLoadPath, {\n lng: languages.join('+'),\n ns: namespaces.join('+')\n })\n this.loadUrl(url, callback, loadUrlLanguages, loadUrlNamespaces)\n })\n }\n\n loadUrl(url: string, callback: any, languages: any, namespaces: any) {\n this.options.request(this.options, url, undefined, (err: any, res: any) => {\n if (res && ((res.status >= 500 && res.status < 600) || !res.status))\n return callback('failed loading ' + url + '; status code: ' + res.status, true /* retry */)\n if (res && res.status >= 400 && res.status < 500)\n return callback('failed loading ' + url + '; status code: ' + res.status, false /* no retry */)\n if (!res && err && err.message && err.message.indexOf('Failed to fetch') > -1)\n return callback('failed loading ' + url + ': ' + err.message, true /* retry */)\n if (err) return callback(err, false)\n\n let ret, parseErr\n try {\n if (typeof res.data === 'string') {\n ret = this.options.parse(res.data, languages, namespaces)\n } else {\n // fallback, which omits calling the parse function\n ret = res.data\n }\n } catch (e) {\n parseErr = 'failed parsing ' + url + ' to json'\n }\n if (parseErr) return callback(parseErr, false)\n callback(null, ret)\n })\n }\n\n create(languages: any, namespace: any, key: any, fallbackValue: any, callback: any) {\n // If there is a falsey addPath, then abort -- this has been disabled.\n if (!this.options.addPath) return\n if (typeof languages === 'string') languages = [languages]\n const payload = this.options.parsePayload(namespace, key, fallbackValue)\n let finished = 0\n const dataArray: any = []\n const resArray: any = []\n languages.forEach((lng: any) => {\n let addPath = this.options.addPath\n if (typeof this.options.addPath === 'function') {\n addPath = this.options.addPath(lng, namespace)\n }\n const url = this.services.interpolator.interpolate(addPath, { lng: lng, ns: namespace })\n\n this.options.request(this.options, url, payload, (data: any, res: any) => {\n // TODO: if res.status === 4xx do log\n finished += 1\n dataArray.push(data)\n resArray.push(res)\n if (finished === languages.length) {\n if (callback) callback(dataArray, resArray)\n }\n })\n })\n }\n\n reload() {\n const { backendConnector, languageUtils, logger } = this.services\n const currentLanguage = backendConnector.language\n if (currentLanguage && currentLanguage.toLowerCase() === 'cimode') return // avoid loading resources for cimode\n\n const toLoad: any = []\n const append = (lng: any) => {\n const lngs = languageUtils.toResolveHierarchy(lng)\n lngs.forEach((l: any) => {\n if (toLoad.indexOf(l) < 0) toLoad.push(l)\n })\n }\n\n append(currentLanguage)\n\n if (this.allOptions.preload) this.allOptions.preload.forEach((l: any) => append(l))\n\n toLoad.forEach((lng: any) => {\n this.allOptions.ns.forEach((ns: any) => {\n backendConnector.read(lng, ns, 'read', null, null, (err: any, data: any) => {\n if (err) logger.warn(`loading namespace ${ns} for language ${lng} failed`, err)\n if (!err && data) logger.log(`loaded namespace ${ns} for language ${lng}`, data)\n\n backendConnector.loaded(`${lng}|${ns}`, err, data)\n })\n })\n })\n }\n}\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ox-i18n-selector.js","sourceRoot":"","sources":["../../src/ox-i18n-selector.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,KAAK,CAAA;AAC3C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAE3D,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;
|
1
|
+
{"version":3,"file":"ox-i18n-selector.js","sourceRoot":"","sources":["../../src/ox-i18n-selector.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,KAAK,CAAA;AAC3C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAE3D,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAGlC,IAAa,YAAY,GAAzB,MAAa,YAAa,SAAQ,UAAU;IAA5C;;QA6B8B,UAAK,GAAW,EAAE,CAAA;IA6BhD,CAAC;IA3BC,MAAM;QACJ,OAAO,IAAI,CAAA;uBACQ,IAAI,CAAC,KAAK,YAAY,CAAC,CAAQ,EAAE,EAAE,CAAC,IAAI,CAAC,eAAe,CAAE,CAAC,CAAC,MAAuB,CAAC,KAAK,CAAC;qCAC5E,CAAC,OAAO,CAAC,QAAQ;0CACZ,OAAO,CAAC,QAAQ,IAAI,OAAO;0CAC3B,OAAO,CAAC,QAAQ,IAAI,OAAO;0CAC3B,OAAO,CAAC,QAAQ,IAAI,OAAO;0CAC3B,OAAO,CAAC,QAAQ,IAAI,OAAO;;KAEhE,CAAA;IACH,CAAC;IAED,KAAK,CAAC,eAAe,CAAC,KAAa;QACjC,IAAI,CAAC,KAAK,EAAE;YACV,OAAM;SACP;QAED,IAAI,CAAC,KAAK,GAAG,KAAK,CAAA;QAElB,IAAI,CAAC,aAAa,CAChB,IAAI,WAAW,CAAC,QAAQ,EAAE;YACxB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,IAAI;YACb,MAAM,EAAE,KAAK;SACd,CAAC,CACH,CAAA;IACH,CAAC;;AAxDM,mBAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BlB,AA1BY,CA0BZ;AAE2B;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;2CAAmB;AA7BnC,YAAY;IADxB,aAAa,CAAC,kBAAkB,CAAC;GACrB,YAAY,CA0DxB;SA1DY,YAAY","sourcesContent":["import { css, html, LitElement } from 'lit'\nimport { customElement, property } from 'lit/decorators.js'\n\nimport { i18next } from './config'\n\n@customElement('ox-i18n-selector')\nexport class I18nSelector extends LitElement {\n static styles = css`\n * {\n box-sizing: border-box;\n }\n *:focus {\n outline: none;\n }\n select {\n border: var(--i18n-selector-field-border, var(--input-field-border));\n border-radius: var(--i18n-selector-field-border-radius, 0);\n background-color: var(--i18n-selector-field-background-color, initial);\n margin: var(--i18n-selector-field-margin, 0);\n padding: var(--i18n-selector-field-padding, 0);\n font: var(--i18n-selector-field-font, var(--input-field-font));\n font-size: var(--i18n-selector-field-font-size, 15px);\n width: var(--i18n-selector-field-width, 100%);\n color: var(--i18n-selector-field-color, initial);\n }\n select:focus {\n border: 1px solid var(--focus-background-color);\n }\n\n ::placeholder {\n font-size: 0.8rem;\n text-transform: capitalize;\n }\n `\n\n @property({ type: String }) value: string = ''\n\n render() {\n return html`\n <select .value=${this.value} @change=${(e: Event) => this.onLocaleChanged((e.target as I18nSelector).value)}>\n <option value=\"\" ?selected=${!i18next.language}></option>\n <option value=\"ms-MY\" ?selected=${i18next.language == 'ms-MY'}>Bahasa Malaysia</option>\n <option value=\"en-US\" ?selected=${i18next.language == 'en-US'}>English</option>\n <option value=\"ko-KR\" ?selected=${i18next.language == 'ko-KR'}>한국어</option>\n <option value=\"zh-CN\" ?selected=${i18next.language == 'zh-CN'}>中文</option>\n </select>\n `\n }\n\n async onLocaleChanged(value: string) {\n if (!value) {\n return\n }\n\n this.value = value\n\n this.dispatchEvent(\n new CustomEvent('change', {\n composed: true,\n bubbles: true,\n detail: value\n })\n )\n }\n}\n"]}
|
package/dist/src/ox-i18n.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ox-i18n.js","sourceRoot":"","sources":["../../src/ox-i18n.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,OAAO,EAAE,IAAI,EAAE,UAAU,EAAO,MAAM,KAAK,CAAA;AAC3C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAE3D,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;
|
1
|
+
{"version":3,"file":"ox-i18n.js","sourceRoot":"","sources":["../../src/ox-i18n.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,OAAO,EAAE,IAAI,EAAE,UAAU,EAAO,MAAM,KAAK,CAAA;AAC3C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAE3D,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAGrC,IAAa,MAAM,GAAnB,MAAa,MAAO,SAAQ,QAAQ,CAAC,OAAO,CAAC,CAAC,UAAU,CAAC;IAGvD,MAAM;QACJ,OAAO,IAAI,CAAA,SAAS,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,SAAS,CAAA;IACpD,CAAC;CACF,CAAA;AAL6B;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;qCAAe;AAD/B,MAAM;IADlB,aAAa,CAAC,SAAS,CAAC;GACZ,MAAM,CAMlB;SANY,MAAM","sourcesContent":["/**\n * @license Copyright © HatioLab Inc. All rights reserved.\n */\n\nimport { html, LitElement, css } from 'lit'\nimport { customElement, property } from 'lit/decorators.js'\n\nimport { i18next } from './config'\nimport { localize } from './localize'\n\n@customElement('ox-i18n')\nexport class OxI18n extends localize(i18next)(LitElement) {\n @property({ type: String }) msgid!: string\n\n render() {\n return html`<span>${i18next.t(this.msgid)}</span>`\n }\n}\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/tslib/tslib.d.ts","../../../node_modules/i18next/index.d.ts","../src/http-backend/utils.ts","../src/http-backend/request.ts","../src/http-backend/index.ts","../../../node_modules/i18next-browser-languagedetector/index.d.ts","../src/config.ts","../../../node_modules/@lit/reactive-element/css-tag.d.ts","../../../node_modules/@lit/reactive-element/reactive-controller.d.ts","../../../node_modules/@lit/reactive-element/reactive-element.d.ts","../../../node_modules/@types/trusted-types/lib/index.d.ts","../../../node_modules/@types/trusted-types/index.d.ts","../../../node_modules/lit-html/directive.d.ts","../../../node_modules/lit-html/lit-html.d.ts","../../../node_modules/lit-element/lit-element.d.ts","../../../node_modules/lit-html/is-server.d.ts","../../../node_modules/lit/index.d.ts","../src/localize.ts","../../../node_modules/@lit/reactive-element/decorators/base.d.ts","../../../node_modules/@lit/reactive-element/decorators/custom-element.d.ts","../../../node_modules/@lit/reactive-element/decorators/property.d.ts","../../../node_modules/@lit/reactive-element/decorators/state.d.ts","../../../node_modules/@lit/reactive-element/decorators/event-options.d.ts","../../../node_modules/@lit/reactive-element/decorators/query.d.ts","../../../node_modules/@lit/reactive-element/decorators/query-all.d.ts","../../../node_modules/@lit/reactive-element/decorators/query-async.d.ts","../../../node_modules/@lit/reactive-element/decorators/query-assigned-nodes.d.ts","../../../node_modules/@lit/reactive-element/decorators/query-assigned-elements.d.ts","../../../node_modules/lit/decorators.d.ts","../src/ox-i18n.ts","../src/ox-i18n-selector.ts","../src/index.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/dom-events.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/readline/promises.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/test.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/globals.global.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/@types/mocha/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"f1c9fe42b65437a61104e601eb298c5c859fb522b483f1bdb700eed67a16f980","c1a660a90d6565c602fa458f53849140c9008b7000ce8823443a2b1ae9ca46a3",{"version":"92fdaed0fdc293ad093ae04e4eab62b6e1217b40f2eb1692b14ac3e7f846bc9f","signature":"0d0203f628a45b8a859e4a02d2f37549a94dd9d59fec0294948a2f6d2a7b176c"},{"version":"449c94b0cbf0c2050aff7660c9bf54b5cae1863c5e39243230a0e92d264ff430","signature":"2852a8d36aeacc27a7a4146c8b85e65b93919fd55217e687e3c9f929feaa5cdf"},{"version":"fcbf17d2351b1f97a214af78bf57a8c9f62b07aa1635ff0284429144eabeb170","signature":"36a7aa42b7dc48cd5de3bc9803751e2275d34fa950b11e2dcb7341f27229ed59"},"332bd67a6233b14fd19c10d14110b12e5eea53ffe4a3a54e1eaf3c933e69d0e6",{"version":"e75f5d5769c09e22041a6a92ae165ce797d8da0eb1dacc1b4cbfd3d86d477f43","signature":"0f81a53d54fd2b4ae2bf60067d616de99884bda21cb5784d942089d52319fb97"},"52dd370c807255c61765347fc90a9bee3c522b8744dc222714e2bf6b5be3a823","1e5743b25a63fd34ffbae89adcbf248ee17db6ed08d90079ffa93803c3e80d2a","3cbcdf2a84c93c6b62d8d4584f613c8af7c6330ac2ba1ff781d10a3e0935beb9","2fcd2d22b1f30555e785105597cd8f57ed50300e213c4f1bbca6ae149f782c38",{"version":"bb4248c7f953233ac52332088fac897d62b82be07244e551d87c5049600b6cf7","affectsGlobalScope":true},"3f30c6b57bf5eb7a7d4298506b78b18d428a39a409e1eadd93a3fdd0299d2687","62da965db3bd1b4ce135048ae8a317d7eb1949068824cb949dd4a91f7e3d6c2d","eba7cf33380cc3a3cf614faf67300e14d0bdff9ea6c5cd6f4b040b1756a48ab1","5e7e090243bf203382a5cb04eabbdc38d78f6d5922f16f543e4da8fa007d5ff9","cd823094ded7c8ac4f94ab6dc387dab699293eb8323d9f948304efc07e4ae7b2",{"version":"17959d175ba42127b555b990fb6ded437889f84d87c0ad446bd916ec3b06571f","signature":"86d356e64ab8d56852623677eb1bed0c106703aed9b7788ad8a5a56e647822cb"},"241000969e5367a9a9b9a4f57963e54e5a012c9d89c273526c0115650a7b9e5f","ac388c7c7a262213a3700451bc921e382a93fb27c0252c34ccf03540b4ce044b","097a7e3badfd1c4b35f72aa0f722f5714a4f6a84e53fca5a79dcfebbfc5e718d","fb0107c83e2e0e75b77dacd0c3c6c3ab6844e98dce2a8f858c6f0a57c12136a6","0a478dcb6e6bd8a5d871165659c79cee7b8c3b7a87289118d22e1a04d171e252","e385eb01000d045ea07cea09c488f66e051709a9ac460bf271623f9984e0c419","bf69beba89702c85d84546269e0d4e8b128d32e26b314ee9b501b0b32c82490b","46f3a421b048670d16a3c02589261f17c1cea687f2602eed31e1335b53aed785","4bcb813ea56182beaaab1e8274524eb9f1449b0d8e79efc4a0399de09e43f816","c784eab1cf838d9d6527bce3d9f2d373145606666b68f7610291a7adf6e6bda9","f0380f581cb015778c0fe51e95b5b7f6dae237280654558469b2486c1572268a",{"version":"a74a66589babd72da37a97aad5b8d502407cdd8db6104aa641818cbe497ef69e","signature":"29dca1b5f0cac95b675f86c7846f9d587ed47cc46609dd00d152bcb37683b069"},{"version":"8e4f832863973334a65e5ad95eb7aba8c65e314b0eded637ddd9af3c12a5f7ef","signature":"a616e1b4eed03c1feb2a6fba721e5cbcb9c23cbe29c1858949a361f80719c0e8"},{"version":"78a7a8d9a4d91c923ae1b5182823979f2856247b5008181f6254aff23356e61c","signature":"48ba49f8bfce8c08ad1e7e54f0b85da9db7317ca76835d1c2640567e3fbd50c6"},"7e771891adaa85b690266bc37bd6eb43bc57eecc4b54693ead36467e7369952a","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"ca72190df0eb9b09d4b600821c8c7b6c9747b75a1c700c4d57dc0bb72abc074c","affectsGlobalScope":true},"11e2d554398d2bd460e7d06b2fa5827a297c8acfbe00b4f894a224ac0862857f",{"version":"bb65c6267c5d6676be61acbf6604cf0a4555ac4b505df58ac15c831fcbff4e3e","affectsGlobalScope":true},"374ca798f244e464346f14301dc2a8b4b111af1a83b49fffef5906c338a1f922","5a94487653355b56018122d92392beb2e5f4a6c63ba5cef83bbe1c99775ef713",{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","dab86d9604fe40854ef3c0a6f9e8948873dc3509213418e5e457f410fd11200f","bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","489532ff54b714f0e0939947a1c560e516d3ae93d51d639ab02e907a0e950114","f30bb836526d930a74593f7b0f5c1c46d10856415a8f69e5e2fc3db80371e362","14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea",{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true},{"version":"816ad2e607a96de5bcac7d437f843f5afd8957f1fa5eefa6bba8e4ed7ca8fd84","affectsGlobalScope":true},"cec36af22f514322f870e81d30675c78df82ae8bf4863f5fd4e4424c040c678d","d903fafe96674bc0b2ac38a5be4a8fc07b14c2548d1cdb165a80ea24c44c0c54","5eec82ac21f84d83586c59a16b9b8502d34505d1393393556682fe7e7fde9ef2","04eb6578a588d6a46f50299b55f30e3a04ef27d0c5a46c57d8fcc211cd530faa","8d3c583a07e0c37e876908c2d5da575019f689df8d9fa4c081d99119d53dba22","2c828a5405191d006115ab34e191b8474bc6c86ffdc401d1a9864b1b6e088a58",{"version":"e630e5528e899219ae319e83bef54bf3bcb91b01d76861ecf881e8e614b167f0","affectsGlobalScope":true},"2c45b35f4850881ab132f80d3cb51e8a359a4d8fafdc5ff2401d260dc27862f4","7c013aa892414a7fdcfd861ae524a668eaa3ede8c7c0acafaf611948122c8d93","b0973c3cbcdc59b37bf477731d468696ecaf442593ec51bab497a613a580fe30",{"version":"4989e92ba5b69b182d2caaea6295af52b7dc73a4f7a2e336a676722884e7139d","affectsGlobalScope":true},{"version":"b3624aed92dab6da8484280d3cb3e2f4130ec3f4ef3f8201c95144ae9e898bb6","affectsGlobalScope":true},"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","210d54cd652ec0fec8c8916e4af59bb341065576ecda039842f9ffb2e908507c","36b03690b628eab08703d63f04eaa89c5df202e5f1edf3989f13ad389cd2c091","0effadd232a20498b11308058e334d3339cc5bf8c4c858393e38d9d4c0013dcf","25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","fd93cee2621ff42dabe57b7be402783fd1aa69ece755bcba1e0290547ae60513","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","69ee23dd0d215b09907ad30d23f88b7790c93329d1faf31d7835552a10cf7cbf","44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda","a15eb098ed86a4135cba05d77e792d6189fa8607a00c9b1b381c0e9550c04ba5",{"version":"970a90f76d4d219ad60819d61f5994514087ba94c985647a3474a5a3d12714ed","affectsGlobalScope":true},"e10177274a35a9d07c825615340b2fcde2f610f53f3fb40269fd196b4288dda6","c4577fb855ca259bdbf3ea663ca73988ce5f84251a92b4aef80a1f4122b6f98e","3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2",{"version":"f0900cd5d00fe1263ff41201fb8073dbeb984397e4af3b8002a5c207a30bdc33","affectsGlobalScope":true},{"version":"ff07a9a03c65732ccc59b3c65bc584173da093bd563a6565411c01f5703bd3cb","affectsGlobalScope":true},"06d7c42d256f0ce6afe1b2b6cfbc97ab391f29dadb00dd0ae8e8f23f5bc916c3","ec4bd1b200670fb567920db572d6701ed42a9641d09c4ff6869768c8f81b404c","e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa",{"version":"da26af7362f53d122283bc69fed862b9a9fe27e01bc6a69d1d682e0e5a4df3e6","affectsGlobalScope":true},"8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"cc4fa603eb4f28847cfa5bfb698dd186a0864853383d49f2478b3482d5caca9e",{"version":"5f186a758a616c107c70e8918db4630d063bd782f22e6e0b17573b125765b40b","affectsGlobalScope":true}],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"esModuleInterop":false,"experimentalDecorators":true,"importHelpers":true,"inlineSources":true,"module":99,"noEmitOnError":true,"outDir":"./","rootDir":"..","sourceMap":true,"strict":true,"target":5,"useDefineForClassFields":false},"fileIdsList":[[121],[52,121],[61,121],[52,61,121],[52,61,69,121],[50,51,121],[75,121],[78,121],[79,84,112,121],[80,91,92,99,109,120,121],[80,81,91,99,121],[82,121],[83,84,92,100,121],[84,109,117,121],[85,87,91,99,121],[86,121],[87,88,121],[91,121],[89,91,121],[91,92,93,109,120,121],[91,92,93,106,109,112,121],[121,125],[87,94,99,109,120,121],[91,92,94,95,99,109,117,120,121],[94,96,109,117,120,121],[75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127],[91,97,121],[98,120,121],[87,91,99,109,121],[100,121],[101,121],[78,102,121],[103,119,121,125],[104,121],[105,121],[91,106,107,121],[106,108,121,123],[79,91,109,110,111,112,121],[79,109,111,121],[109,110,121],[112,121],[113,121],[91,115,116,121],[115,116,121],[84,99,109,117,121],[118,121],[99,119,121],[79,94,105,120,121],[84,121],[109,121,122],[121,123],[121,124],[79,84,91,93,102,109,120,121,123,125],[109,121,126],[53,121],[44,48,121],[52,56,121],[56,121],[54,55,121],[62,63,64,65,66,67,68,69,70,121],[52,56,57,58,121],[43,44,47,48,121],[43,44,45,46,48,121],[43,121],[43,49,60,72,73,121],[43,44,48,59,121],[43,49,59,71,121],[43,49,59,60,71,121],[44,48],[49,60,72,73],[44,48,59],[56,59]],"referencedMap":[[50,1],[61,2],[62,3],[65,4],[63,4],[67,4],[70,5],[69,1],[68,4],[66,4],[64,3],[51,1],[52,6],[129,1],[75,7],[76,7],[78,8],[79,9],[80,10],[81,11],[82,12],[83,13],[84,14],[85,15],[86,16],[87,17],[88,17],[90,18],[89,19],[91,18],[92,20],[93,21],[77,22],[127,1],[94,23],[95,24],[96,25],[128,26],[97,27],[98,28],[99,29],[100,30],[101,31],[102,32],[103,33],[104,34],[105,35],[106,36],[107,36],[108,37],[109,38],[111,39],[110,40],[112,41],[113,42],[114,1],[115,43],[116,44],[117,45],[118,46],[119,47],[120,48],[121,49],[122,50],[123,51],[124,52],[125,53],[126,54],[54,55],[53,1],[48,56],[44,1],[57,57],[55,58],[58,1],[56,59],[71,60],[59,61],[43,1],[8,1],[10,1],[9,1],[2,1],[11,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[3,1],[4,1],[22,1],[19,1],[20,1],[21,1],[23,1],[24,1],[25,1],[5,1],[26,1],[27,1],[28,1],[29,1],[6,1],[33,1],[30,1],[31,1],[32,1],[34,1],[7,1],[35,1],[40,1],[41,1],[36,1],[37,1],[38,1],[39,1],[1,1],[42,1],[49,62],[47,63],[46,64],[45,64],[74,65],[60,66],[73,67],[72,68]],"exportedModulesMap":[[50,1],[61,2],[62,3],[65,4],[63,4],[67,4],[70,5],[69,1],[68,4],[66,4],[64,3],[51,1],[52,6],[129,1],[75,7],[76,7],[78,8],[79,9],[80,10],[81,11],[82,12],[83,13],[84,14],[85,15],[86,16],[87,17],[88,17],[90,18],[89,19],[91,18],[92,20],[93,21],[77,22],[127,1],[94,23],[95,24],[96,25],[128,26],[97,27],[98,28],[99,29],[100,30],[101,31],[102,32],[103,33],[104,34],[105,35],[106,36],[107,36],[108,37],[109,38],[111,39],[110,40],[112,41],[113,42],[114,1],[115,43],[116,44],[117,45],[118,46],[119,47],[120,48],[121,49],[122,50],[123,51],[124,52],[125,53],[126,54],[54,55],[53,1],[48,56],[44,1],[57,57],[55,58],[58,1],[56,59],[71,60],[59,61],[43,1],[8,1],[10,1],[9,1],[2,1],[11,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[3,1],[4,1],[22,1],[19,1],[20,1],[21,1],[23,1],[24,1],[25,1],[5,1],[26,1],[27,1],[28,1],[29,1],[6,1],[33,1],[30,1],[31,1],[32,1],[34,1],[7,1],[35,1],[40,1],[41,1],[36,1],[37,1],[38,1],[39,1],[1,1],[42,1],[49,69],[47,69],[74,70],[60,71],[73,72],[72,72]],"semanticDiagnosticsPerFile":[50,61,62,65,63,67,70,69,68,66,64,51,52,129,75,76,78,79,80,81,82,83,84,85,86,87,88,90,89,91,92,93,77,127,94,95,96,128,97,98,99,100,101,102,103,104,105,106,107,108,109,111,110,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,54,53,48,44,57,55,58,56,71,59,43,8,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,33,30,31,32,34,7,35,40,41,36,37,38,39,1,42,49,47,46,45,74,60,73,72]},"version":"4.9.5"}
|
1
|
+
{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/tslib/tslib.d.ts","../../../node_modules/i18next/index.d.ts","../src/http-backend/utils.ts","../src/http-backend/request.ts","../src/http-backend/index.ts","../../../node_modules/i18next-browser-languagedetector/index.d.ts","../src/config.ts","../../../node_modules/@lit/reactive-element/css-tag.d.ts","../../../node_modules/@lit/reactive-element/reactive-controller.d.ts","../../../node_modules/@lit/reactive-element/reactive-element.d.ts","../../../node_modules/@types/trusted-types/lib/index.d.ts","../../../node_modules/@types/trusted-types/index.d.ts","../../../node_modules/lit-html/directive.d.ts","../../../node_modules/lit-html/lit-html.d.ts","../../../node_modules/lit-element/lit-element.d.ts","../../../node_modules/lit-html/is-server.d.ts","../../../node_modules/lit/index.d.ts","../src/localize.ts","../../../node_modules/@lit/reactive-element/decorators/base.d.ts","../../../node_modules/@lit/reactive-element/decorators/custom-element.d.ts","../../../node_modules/@lit/reactive-element/decorators/property.d.ts","../../../node_modules/@lit/reactive-element/decorators/state.d.ts","../../../node_modules/@lit/reactive-element/decorators/event-options.d.ts","../../../node_modules/@lit/reactive-element/decorators/query.d.ts","../../../node_modules/@lit/reactive-element/decorators/query-all.d.ts","../../../node_modules/@lit/reactive-element/decorators/query-async.d.ts","../../../node_modules/@lit/reactive-element/decorators/query-assigned-nodes.d.ts","../../../node_modules/@lit/reactive-element/decorators/query-assigned-elements.d.ts","../../../node_modules/lit/decorators.d.ts","../src/ox-i18n.ts","../src/ox-i18n-selector.ts","../src/index.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/assert/strict.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/dns/promises.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/dom-events.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/readline/promises.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/stream/promises.d.ts","../../../node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/@types/node/stream/web.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/test.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/timers/promises.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/globals.global.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/@types/mocha/index.d.ts"],"fileInfos":[{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","dc48272d7c333ccf58034c0026162576b7d50ea0e69c3b9292f803fc20720fd5","27147504487dc1159369da4f4da8a26406364624fa9bc3db632f7d94a5bae2c3","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4",{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"f296963760430fb65b4e5d91f0ed770a91c6e77455bacf8fa23a1501654ede0e","affectsGlobalScope":true},{"version":"5114a95689b63f96b957e00216bc04baf9e1a1782aa4d8ee7e5e9acbf768e301","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"ab22100fdd0d24cfc2cc59d0a00fc8cf449830d9c4030dc54390a46bd562e929","affectsGlobalScope":true},{"version":"f7bd636ae3a4623c503359ada74510c4005df5b36de7f23e1db8a5c543fd176b","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"0c20f4d2358eb679e4ae8a4432bdd96c857a2960fd6800b21ec4008ec59d60ea","affectsGlobalScope":true},{"version":"36ae84ccc0633f7c0787bc6108386c8b773e95d3b052d9464a99cd9b8795fbec","affectsGlobalScope":true},{"version":"82d0d8e269b9eeac02c3bd1c9e884e85d483fcb2cd168bccd6bc54df663da031","affectsGlobalScope":true},{"version":"b8deab98702588840be73d67f02412a2d45a417a3c097b2e96f7f3a42ac483d1","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"376d554d042fb409cb55b5cbaf0b2b4b7e669619493c5d18d5fa8bd67273f82a","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"c4138a3dd7cd6cf1f363ca0f905554e8d81b45844feea17786cdf1626cb8ea06","affectsGlobalScope":true},{"version":"6ff3e2452b055d8f0ec026511c6582b55d935675af67cdb67dd1dc671e8065df","affectsGlobalScope":true},{"version":"03de17b810f426a2f47396b0b99b53a82c1b60e9cba7a7edda47f9bb077882f4","affectsGlobalScope":true},{"version":"8184c6ddf48f0c98429326b428478ecc6143c27f79b79e85740f17e6feb090f1","affectsGlobalScope":true},{"version":"261c4d2cf86ac5a89ad3fb3fafed74cbb6f2f7c1d139b0540933df567d64a6ca","affectsGlobalScope":true},{"version":"6af1425e9973f4924fca986636ac19a0cf9909a7e0d9d3009c349e6244e957b6","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"15a630d6817718a2ddd7088c4f83e4673fde19fa992d2eae2cf51132a302a5d3","affectsGlobalScope":true},{"version":"b7e9f95a7387e3f66be0ed6db43600c49cec33a3900437ce2fd350d9b7cb16f2","affectsGlobalScope":true},{"version":"01e0ee7e1f661acedb08b51f8a9b7d7f959e9cdb6441360f06522cc3aea1bf2e","affectsGlobalScope":true},{"version":"ac17a97f816d53d9dd79b0d235e1c0ed54a8cc6a0677e9a3d61efb480b2a3e4e","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"ec0104fee478075cb5171e5f4e3f23add8e02d845ae0165bfa3f1099241fa2aa","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"9cc66b0513ad41cb5f5372cca86ef83a0d37d1c1017580b7dace3ea5661836df","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"307c8b7ebbd7f23a92b73a4c6c0a697beca05b06b036c23a34553e5fe65e4fdc","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"f1c9fe42b65437a61104e601eb298c5c859fb522b483f1bdb700eed67a16f980","c1a660a90d6565c602fa458f53849140c9008b7000ce8823443a2b1ae9ca46a3",{"version":"92fdaed0fdc293ad093ae04e4eab62b6e1217b40f2eb1692b14ac3e7f846bc9f","signature":"0d0203f628a45b8a859e4a02d2f37549a94dd9d59fec0294948a2f6d2a7b176c"},{"version":"449c94b0cbf0c2050aff7660c9bf54b5cae1863c5e39243230a0e92d264ff430","signature":"2852a8d36aeacc27a7a4146c8b85e65b93919fd55217e687e3c9f929feaa5cdf"},{"version":"fcbf17d2351b1f97a214af78bf57a8c9f62b07aa1635ff0284429144eabeb170","signature":"36a7aa42b7dc48cd5de3bc9803751e2275d34fa950b11e2dcb7341f27229ed59"},"332bd67a6233b14fd19c10d14110b12e5eea53ffe4a3a54e1eaf3c933e69d0e6",{"version":"e75f5d5769c09e22041a6a92ae165ce797d8da0eb1dacc1b4cbfd3d86d477f43","signature":"0f81a53d54fd2b4ae2bf60067d616de99884bda21cb5784d942089d52319fb97"},"e59262ddaae67dec2d226f8a5d05cf6c4dc353c0d9b1e4980a61d7fcf9a2b051","5e30131b6a5587fe666926ad1d9807e733c0a597ed12d682669fcaa331aea576","d27ead0e913b4225279e8beb10450ecaf54af5ed145a6ecbbed18bb130815006","2fcd2d22b1f30555e785105597cd8f57ed50300e213c4f1bbca6ae149f782c38",{"version":"3c150a2e1758724811db3bdc5c773421819343b1627714e09f29b1f40a5dfb26","affectsGlobalScope":true},"7000ec8572390d035ba5ef993953957150d0c38ffb31b56653c97dd78cb6e1aa","5a4af5e4727864a08625d5c892d7cba8916d205c7f0c68e15eda5d6579968497","4ddf3962990379d1ea59b369a5516c7533b7944010d6998e0e9b1ab35d5af1f0","1bcd560deed90a43c51b08aa18f7f55229f2e30974ab5ed1b7bb5721be379013","dc08fe04e50bc24d1baded4f33e942222bbdd5d77d6341a93cfe6e4e4586a3be",{"version":"17959d175ba42127b555b990fb6ded437889f84d87c0ad446bd916ec3b06571f","signature":"86d356e64ab8d56852623677eb1bed0c106703aed9b7788ad8a5a56e647822cb"},"4b8e8a20b14b5ae700743222a80ab3dcb44822d269b29a7779fe25fe1f0f87a3","d08415b3d6d7fd153ba6e7bf7707ffc57f3c6ad85730ea63544756610b4350c6","411f23da7a63c3d3fd4860c41a458e8df239776fd5d9cd36dd3ad6be92afccbd","6ada3e065916c0ef2dbc9bc0f9b5d59afb25d9176f81fa2c8993a536924140c6","938dd6c2b518b1ae8598db5e2bc7db03be0c6a774c4cb846ca92b51bb353e019","d36d25c50d6bff81a153e87b70c07285955fba8a9d317c453dc74aad826e8cbb","effe65dcf890703716bead4f38170fcbe769cb49e8c8260c11b8c402cac443e1","0848a16732172391d2d0210f754b66ac925cd7c1b501ad8e4fd405e6ade688a8","bbe13c947d7d6c3426e0e5815e2b3464fa03d34a4bf47298c43b9237cf59555b","e8265198b29dccb14667214f65f77c5e4744a8797f75d96bcf8b150b23a56705","a8992b852521a66f63e0cedc6e1f054b28f972232b6fa5ca59771db6a1c8bbea",{"version":"a74a66589babd72da37a97aad5b8d502407cdd8db6104aa641818cbe497ef69e","signature":"29dca1b5f0cac95b675f86c7846f9d587ed47cc46609dd00d152bcb37683b069"},{"version":"8e4f832863973334a65e5ad95eb7aba8c65e314b0eded637ddd9af3c12a5f7ef","signature":"a616e1b4eed03c1feb2a6fba721e5cbcb9c23cbe29c1858949a361f80719c0e8"},{"version":"78a7a8d9a4d91c923ae1b5182823979f2856247b5008181f6254aff23356e61c","signature":"48ba49f8bfce8c08ad1e7e54f0b85da9db7317ca76835d1c2640567e3fbd50c6"},"7e771891adaa85b690266bc37bd6eb43bc57eecc4b54693ead36467e7369952a","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"f749812878fecfa53cfc13b36e5d35086fb6377983a9df44175da83ccc23af1f","affectsGlobalScope":true},"7d2e3fea24c712c99c03ad8f556abedbfe105f87f1be10b95dbd409d24bc05a3",{"version":"211e3f15fbced4ab4be19f49ffa990b9ff20d749d33b65ff753be691e7616239","affectsGlobalScope":true},"374ca798f244e464346f14301dc2a8b4b111af1a83b49fffef5906c338a1f922","5a94487653355b56018122d92392beb2e5f4a6c63ba5cef83bbe1c99775ef713",{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","e596c9bb2f29a2699fdd4ae89139612652245192f67f45617c5a4b20832aaae9","bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","1cdcfc1f624d6c08aa12c73935f6e13f095919cd99edf95752951796eb225729","216717f17c095cde1dc19375e1ab3af0a4a485355860c077a4f9d6ea59fab5b5","14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea",{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true},{"version":"00dee7cdca8b8420c47ea4a31a34b8e8294013ebc4f463fd941e867e7bf05029","affectsGlobalScope":true},"80473bd0dd90ca1e166514c2dfead9d5803f9c51418864ca35abbeec6e6847e1","1c84b46267610a34028edfd0d035509341751262bac1062857f3c8df7aff7153","3bd1b21f21d18995315d232c5c7e868651e109396f3ca48fa8ab15f57a20d911","a3d541d303ee505053f5dcbf9fafb65cac3d5631037501cd616195863a6c5740","8d3c583a07e0c37e876908c2d5da575019f689df8d9fa4c081d99119d53dba22","2c828a5405191d006115ab34e191b8474bc6c86ffdc401d1a9864b1b6e088a58",{"version":"e630e5528e899219ae319e83bef54bf3bcb91b01d76861ecf881e8e614b167f0","affectsGlobalScope":true},"bcebb922784739bdb34c18ee51095d25a92b560c78ccd2eaacd6bd00f7443d83","7ee6ed878c4528215c82b664fe0cfe80e8b4da6c0d4cc80869367868774db8b1","b0973c3cbcdc59b37bf477731d468696ecaf442593ec51bab497a613a580fe30",{"version":"4989e92ba5b69b182d2caaea6295af52b7dc73a4f7a2e336a676722884e7139d","affectsGlobalScope":true},{"version":"0715e4cd28ad471b2a93f3e552ff51a3ae423417a01a10aa1d3bc7c6b95059d6","affectsGlobalScope":true},"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","210d54cd652ec0fec8c8916e4af59bb341065576ecda039842f9ffb2e908507c","36b03690b628eab08703d63f04eaa89c5df202e5f1edf3989f13ad389cd2c091","0effadd232a20498b11308058e334d3339cc5bf8c4c858393e38d9d4c0013dcf","25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","4f3fdeba4e28e21aa719c081b8dc8f91d47e12e773389b9d35679c08151c9d37","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","69ee23dd0d215b09907ad30d23f88b7790c93329d1faf31d7835552a10cf7cbf","44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda","f69ff39996a61a0dd10f4bce73272b52e8024a4d58b13ab32bf4712909d0a2b7",{"version":"3c4ba1dd9b12ffa284b565063108f2f031d150ea15b8fafbdc17f5d2a07251f3","affectsGlobalScope":true},"e10177274a35a9d07c825615340b2fcde2f610f53f3fb40269fd196b4288dda6","1422cd9e705adcc09088fda85a900c2b70e3ad36ea85846f68bd1a884cdf4e2b","3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2",{"version":"a73ae8c0e62103bb9e21bb6538700881bf135b9a8b125b857ec68edfa0da4ed3","affectsGlobalScope":true},{"version":"e1c1b2fbe236bf7ee3e342eeae7e20efb8988a0ac7da1cbbfa2c1f66b76c3423","affectsGlobalScope":true},"868831cab82b65dfe1d68180e898af1f2101e89ba9b754d1db6fb8cc2fac1921","0fe8985a28f82c450a04a6edf1279d7181c0893f37da7d2a27f8efd4fd5edb03","e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa",{"version":"52120bb7e4583612225bdf08e7c12559548170f11e660d33a33623bae9bbdbba","affectsGlobalScope":true},"8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"a6dd3dba8e665ac43d279e0fdf5219edda0eed69b5e9a5061f46cd6a65c4f7a1",{"version":"677646e2620795c98a539fb12fb531f10331c217cef1492132b2518f894fa92d","affectsGlobalScope":true}],"root":[[47,49],51,62,[74,76]],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"esModuleInterop":false,"experimentalDecorators":true,"importHelpers":true,"inlineSources":true,"module":99,"noEmitOnError":true,"outDir":"./","rootDir":"..","sourceMap":true,"strict":true,"target":5,"useDefineForClassFields":false},"fileIdsList":[[123],[54,123],[63,123],[54,63,123],[54,63,71,123],[52,53,123],[77,123],[80,123],[81,86,114,123],[82,93,94,101,111,122,123],[82,83,93,101,123],[84,123],[85,86,94,102,123],[86,111,119,123],[87,89,93,101,123],[88,123],[89,90,123],[93,123],[91,93,123],[93,94,95,111,122,123],[93,94,95,108,111,114,123],[123,127],[89,96,101,111,122,123],[93,94,96,97,101,111,119,122,123],[96,98,111,119,122,123],[77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129],[93,99,123],[100,122,123],[89,93,101,111,123],[102,123],[103,123],[80,104,123],[105,121,123,127],[106,123],[107,123],[93,108,109,123],[108,110,123,125],[81,93,111,112,113,114,123],[81,111,113,123],[111,112,123],[114,123],[115,123],[93,117,118,123],[117,118,123],[86,101,111,119,123],[120,123],[101,121,123],[81,96,107,122,123],[86,123],[111,123,124],[123,125],[123,126],[81,86,93,95,104,111,122,123,125,127],[111,123,128],[55,123],[46,50,123],[54,58,123],[58,123],[56,57,123],[64,65,66,67,68,69,70,71,72,123],[54,58,59,60,123],[45,46,49,50,123],[45,46,47,48,50,123],[45,123],[45,51,62,74,75,123],[45,46,50,61,123],[45,51,61,73,123],[45,51,61,62,73,123],[46,50],[51,62,74,75],[46,50,61],[58,61]],"referencedMap":[[52,1],[63,2],[64,3],[67,4],[65,4],[69,4],[72,5],[71,1],[70,4],[68,4],[66,3],[53,1],[54,6],[131,1],[77,7],[78,7],[80,8],[81,9],[82,10],[83,11],[84,12],[85,13],[86,14],[87,15],[88,16],[89,17],[90,17],[92,18],[91,19],[93,18],[94,20],[95,21],[79,22],[129,1],[96,23],[97,24],[98,25],[130,26],[99,27],[100,28],[101,29],[102,30],[103,31],[104,32],[105,33],[106,34],[107,35],[108,36],[109,36],[110,37],[111,38],[113,39],[112,40],[114,41],[115,42],[116,1],[117,43],[118,44],[119,45],[120,46],[121,47],[122,48],[123,49],[124,50],[125,51],[126,52],[127,53],[128,54],[56,55],[55,1],[50,56],[46,1],[59,57],[57,58],[60,1],[58,59],[73,60],[61,61],[45,1],[43,1],[44,1],[8,1],[10,1],[9,1],[2,1],[11,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[3,1],[4,1],[22,1],[19,1],[20,1],[21,1],[23,1],[24,1],[25,1],[5,1],[26,1],[27,1],[28,1],[29,1],[6,1],[33,1],[30,1],[31,1],[32,1],[34,1],[7,1],[35,1],[40,1],[41,1],[36,1],[37,1],[38,1],[39,1],[1,1],[42,1],[51,62],[49,63],[48,64],[47,64],[76,65],[62,66],[75,67],[74,68]],"exportedModulesMap":[[52,1],[63,2],[64,3],[67,4],[65,4],[69,4],[72,5],[71,1],[70,4],[68,4],[66,3],[53,1],[54,6],[131,1],[77,7],[78,7],[80,8],[81,9],[82,10],[83,11],[84,12],[85,13],[86,14],[87,15],[88,16],[89,17],[90,17],[92,18],[91,19],[93,18],[94,20],[95,21],[79,22],[129,1],[96,23],[97,24],[98,25],[130,26],[99,27],[100,28],[101,29],[102,30],[103,31],[104,32],[105,33],[106,34],[107,35],[108,36],[109,36],[110,37],[111,38],[113,39],[112,40],[114,41],[115,42],[116,1],[117,43],[118,44],[119,45],[120,46],[121,47],[122,48],[123,49],[124,50],[125,51],[126,52],[127,53],[128,54],[56,55],[55,1],[50,56],[46,1],[59,57],[57,58],[60,1],[58,59],[73,60],[61,61],[45,1],[43,1],[44,1],[8,1],[10,1],[9,1],[2,1],[11,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[3,1],[4,1],[22,1],[19,1],[20,1],[21,1],[23,1],[24,1],[25,1],[5,1],[26,1],[27,1],[28,1],[29,1],[6,1],[33,1],[30,1],[31,1],[32,1],[34,1],[7,1],[35,1],[40,1],[41,1],[36,1],[37,1],[38,1],[39,1],[1,1],[42,1],[51,69],[49,69],[76,70],[62,71],[75,72],[74,72]],"semanticDiagnosticsPerFile":[52,63,64,67,65,69,72,71,70,68,66,53,54,131,77,78,80,81,82,83,84,85,86,87,88,89,90,92,91,93,94,95,79,129,96,97,98,130,99,100,101,102,103,104,105,106,107,108,109,110,111,113,112,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,56,55,50,46,59,57,60,58,73,61,45,43,44,8,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,33,30,31,32,34,7,35,40,41,36,37,38,39,1,42,51,49,48,47,76,62,75,74]},"version":"5.0.4"}
|
package/package.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"name": "@operato/i18n",
|
3
3
|
"description": "Webcomponent i18n following open-wc recommendations",
|
4
4
|
"author": "heartyoh",
|
5
|
-
"version": "1.2.
|
5
|
+
"version": "1.2.35",
|
6
6
|
"main": "dist/src/index.js",
|
7
7
|
"module": "dist/src/index.js",
|
8
8
|
"exports": {
|
@@ -28,6 +28,7 @@
|
|
28
28
|
]
|
29
29
|
}
|
30
30
|
},
|
31
|
+
"license": "MIT",
|
31
32
|
"publishConfig": {
|
32
33
|
"access": "public",
|
33
34
|
"@operato:registry": "https://registry.npmjs.org"
|
@@ -55,23 +56,23 @@
|
|
55
56
|
"lit": "^2.5.0"
|
56
57
|
},
|
57
58
|
"devDependencies": {
|
58
|
-
"@custom-elements-manifest/analyzer": "^0.
|
59
|
+
"@custom-elements-manifest/analyzer": "^0.8.1",
|
59
60
|
"@hatiolab/prettier-config": "^1.0.0",
|
60
|
-
"@open-wc/eslint-config": "^
|
61
|
+
"@open-wc/eslint-config": "^10.0.0",
|
61
62
|
"@open-wc/testing": "^3.1.6",
|
62
|
-
"@typescript-eslint/eslint-plugin": "^
|
63
|
-
"@typescript-eslint/parser": "^
|
64
|
-
"@web/dev-server": "^0.1
|
65
|
-
"@web/dev-server-storybook": "^0.
|
66
|
-
"@web/test-runner": "^0.
|
67
|
-
"concurrently": "^
|
68
|
-
"eslint": "^
|
63
|
+
"@typescript-eslint/eslint-plugin": "^5.59.1",
|
64
|
+
"@typescript-eslint/parser": "^5.59.1",
|
65
|
+
"@web/dev-server": "^0.2.1",
|
66
|
+
"@web/dev-server-storybook": "^0.7.1",
|
67
|
+
"@web/test-runner": "^0.16.1",
|
68
|
+
"concurrently": "^8.0.1",
|
69
|
+
"eslint": "^8.39.0",
|
69
70
|
"eslint-config-prettier": "^8.3.0",
|
70
71
|
"husky": "^8.0.1",
|
71
|
-
"lint-staged": "^
|
72
|
+
"lint-staged": "^13.2.2",
|
72
73
|
"prettier": "^2.4.1",
|
73
74
|
"tslib": "^2.3.1",
|
74
|
-
"typescript": "^
|
75
|
+
"typescript": "^5.0.4"
|
75
76
|
},
|
76
77
|
"customElements": "custom-elements.json",
|
77
78
|
"prettier": "@hatiolab/prettier-config",
|
@@ -86,5 +87,5 @@
|
|
86
87
|
"prettier --write"
|
87
88
|
]
|
88
89
|
},
|
89
|
-
"gitHead": "
|
90
|
+
"gitHead": "2cf1488b4b0f72f8309b8b8f24620a4f1b3a685c"
|
90
91
|
}
|