textbrowser 0.54.0 → 0.54.2

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 (91) hide show
  1. package/CHANGES.md +8 -0
  2. package/dist/WorkInfo-es.js +172 -355
  3. package/dist/activateCallback-es.js +0 -1
  4. package/dist/index-es.js +3294 -3414
  5. package/dist/index-es.min.js +4 -4
  6. package/eslint.config.js +2 -2
  7. package/package.json +44 -38
  8. package/resources/activateCallback.js +0 -1
  9. package/resources/index.js +0 -1
  10. package/resources/resultsDisplay.js +1 -9
  11. package/resources/templates/workDisplay.js +0 -1
  12. package/resources/utils/Plugin.js +2 -5
  13. package/resources/utils/WorkInfo.js +7 -15
  14. package/resources/workDisplay.js +0 -1
  15. package/resources/workSelect.js +0 -1
  16. package/server/main.js +15 -7
  17. package/sw-sample.js +0 -2
  18. package/tsconfig.json +2 -1
  19. package/dist/assets/index-_11XnUty.css +0 -9
  20. package/dist/assets/languages-1sAACTKG.json +0 -67
  21. package/dist/dist/WorkInfo-es.d.ts +0 -331
  22. package/dist/dist/WorkInfo-es.d.ts.map +0 -1
  23. package/dist/dist/activateCallback-es.d.ts +0 -17
  24. package/dist/dist/activateCallback-es.d.ts.map +0 -1
  25. package/dist/dist/index-es.d.ts +0 -619
  26. package/dist/dist/index-es.d.ts.map +0 -1
  27. package/dist/dist/sw-helper.d.ts +0 -3
  28. package/dist/dist/sw-helper.d.ts.map +0 -1
  29. package/dist/eslint.config.d.ts +0 -126
  30. package/dist/eslint.config.d.ts.map +0 -1
  31. package/dist/resources/activateCallback.d.ts +0 -23
  32. package/dist/resources/activateCallback.d.ts.map +0 -1
  33. package/dist/resources/index.d.ts +0 -128
  34. package/dist/resources/index.d.ts.map +0 -1
  35. package/dist/resources/resultsDisplay.d.ts +0 -110
  36. package/dist/resources/resultsDisplay.d.ts.map +0 -1
  37. package/dist/resources/templates/index.d.ts +0 -59
  38. package/dist/resources/templates/index.d.ts.map +0 -1
  39. package/dist/resources/templates/languageSelect.d.ts +0 -18
  40. package/dist/resources/templates/languageSelect.d.ts.map +0 -1
  41. package/dist/resources/templates/resultsDisplayClient.d.ts +0 -26
  42. package/dist/resources/templates/resultsDisplayClient.d.ts.map +0 -1
  43. package/dist/resources/templates/resultsDisplayServerOrClient.d.ts +0 -131
  44. package/dist/resources/templates/resultsDisplayServerOrClient.d.ts.map +0 -1
  45. package/dist/resources/templates/utils/dom.d.ts +0 -15
  46. package/dist/resources/templates/utils/dom.d.ts.map +0 -1
  47. package/dist/resources/templates/utils/html.d.ts +0 -3
  48. package/dist/resources/templates/utils/html.d.ts.map +0 -1
  49. package/dist/resources/templates/workDisplay.d.ts +0 -183
  50. package/dist/resources/templates/workDisplay.d.ts.map +0 -1
  51. package/dist/resources/templates/workSelect.d.ts +0 -18
  52. package/dist/resources/templates/workSelect.d.ts.map +0 -1
  53. package/dist/resources/user-sample.d.ts +0 -2
  54. package/dist/resources/user-sample.d.ts.map +0 -1
  55. package/dist/resources/user.d.ts +0 -2
  56. package/dist/resources/user.d.ts.map +0 -1
  57. package/dist/resources/utils/IntlURLSearchParams.d.ts +0 -56
  58. package/dist/resources/utils/IntlURLSearchParams.d.ts.map +0 -1
  59. package/dist/resources/utils/Languages.d.ts +0 -81
  60. package/dist/resources/utils/Languages.d.ts.map +0 -1
  61. package/dist/resources/utils/Metadata.d.ts +0 -133
  62. package/dist/resources/utils/Metadata.d.ts.map +0 -1
  63. package/dist/resources/utils/Params.d.ts +0 -30
  64. package/dist/resources/utils/Params.d.ts.map +0 -1
  65. package/dist/resources/utils/Plugin.d.ts +0 -278
  66. package/dist/resources/utils/Plugin.d.ts.map +0 -1
  67. package/dist/resources/utils/ServiceWorker.d.ts +0 -26
  68. package/dist/resources/utils/ServiceWorker.d.ts.map +0 -1
  69. package/dist/resources/utils/WorkInfo.d.ts +0 -104
  70. package/dist/resources/utils/WorkInfo.d.ts.map +0 -1
  71. package/dist/resources/utils/dialogs.d.ts +0 -155
  72. package/dist/resources/utils/dialogs.d.ts.map +0 -1
  73. package/dist/resources/utils/getLocaleFallbackResults.d.ts +0 -19
  74. package/dist/resources/utils/getLocaleFallbackResults.d.ts.map +0 -1
  75. package/dist/resources/utils/sanitize.d.ts +0 -6
  76. package/dist/resources/utils/sanitize.d.ts.map +0 -1
  77. package/dist/resources/vendor/json-refs-min.d.ts +0 -3
  78. package/dist/resources/vendor/json-refs-min.d.ts.map +0 -1
  79. package/dist/resources/workDisplay.d.ts +0 -81
  80. package/dist/resources/workDisplay.d.ts.map +0 -1
  81. package/dist/resources/workSelect.d.ts +0 -17
  82. package/dist/resources/workSelect.d.ts.map +0 -1
  83. package/dist/rollup.config.d.ts +0 -19
  84. package/dist/rollup.config.d.ts.map +0 -1
  85. package/dist/server/main.d.ts +0 -47
  86. package/dist/server/main.d.ts.map +0 -1
  87. package/dist/sw-helper.d.ts +0 -3
  88. package/dist/sw-helper.d.ts.map +0 -1
  89. package/dist/sw-helper.js +0 -355
  90. package/dist/sw-sample.d.ts +0 -2
  91. package/dist/sw-sample.d.ts.map +0 -1
@@ -1,331 +0,0 @@
1
- export type getJSONCallback = (jsonURL: string | string[], cb: SimpleJSONCallback, errBack: SimpleJSONErrback) => Promise<JSON>;
2
- export type PromiseChainErrback = (value: any) => Promise<any> | any;
3
- export type KeyCheckerConverterCallback = (key: string | string[], messageStyle: "plain" | "plainNested" | "rich" | "richNested" | any) => any;
4
- export type Sort = any;
5
- export type SortList = any;
6
- export type List = any;
7
- export type I18NCallback = any;
8
- export type Integer = number;
9
- export type JSON6 = any;
10
- export type AnyValue = any;
11
- export type BetweenMatches = (str: string) => void;
12
- export type AfterMatch = (str: string) => void;
13
- export type EscapeAtOne = (str: string) => void;
14
- export type Fetch = (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>;
15
- /**
16
- * Callback to give replacement text based on a substitution value.
17
- *
18
- * `value` - contains the value returned by the individual substitution.
19
- * `arg` - See `cfg.arg` of {@link SubstitutionCallback}.
20
- * `key` - The substitution key Not currently in use
21
- * `locale` - The locale.
22
- */
23
- export type AllSubstitutionCallback = (info: {
24
- value: any;
25
- arg?: string;
26
- key?: string;
27
- locale?: string;
28
- }) => string | Node;
29
- /**
30
- * `arg` - By default, accepts the third portion of the
31
- * `formattingRegex` within `insertNodes`, i.e., to allow the locale to
32
- * supply arguments back to the calling script.
33
- * `key` - The substitution key.
34
- */
35
- export type SubstitutionCallback = (cfg: {
36
- arg: string;
37
- key: string;
38
- }) => string | Element;
39
- /**
40
- * May have additional properties if supplying options to an underlying
41
- * formatter.
42
- * The first value is the main value.
43
- * The second are the options related to the main value.
44
- * The third are any additional options.
45
- */
46
- export type ValueArray = [string | number | Date, object?, object?];
47
- export type ListValueArray = [string[], (((item: string, i: Integer) => Element) | object)?, object?, object?];
48
- export type DateRangeValueArray = [Date | number, Date | number, Intl.DateTimeFormatOptions | undefined];
49
- export type RelativeValueArray = [number, Intl.RelativeTimeFormatUnit, object?];
50
- export type RelativeTimeInfo = {
51
- relative: RelativeValueArray;
52
- };
53
- export type ListInfo = {
54
- list: ListValueArray;
55
- };
56
- export type NumberInfo = {
57
- number: ValueArray | number;
58
- };
59
- export type DateInfo = {
60
- date: ValueArray;
61
- };
62
- export type DateTimeInfo = {
63
- datetime: ValueArray;
64
- };
65
- export type DateRangeInfo = {
66
- dateRange: DateRangeValueArray;
67
- };
68
- export type DatetimeRangeInfo = {
69
- datetimeRange: DateRangeValueArray;
70
- };
71
- export type RegionInfo = {
72
- region: ValueArray;
73
- };
74
- export type LanguageInfo = {
75
- language: ValueArray;
76
- };
77
- export type ScriptInfo = {
78
- script: ValueArray;
79
- };
80
- export type CurrencyInfo = {
81
- currency: ValueArray;
82
- };
83
- export type PluralInfo = {
84
- plural: ValueArray;
85
- };
86
- export type PlainLocaleStringBodyObject = {
87
- [key: string]: string;
88
- };
89
- export type PlainNestedLocaleStringBodyObject = {
90
- [key: string]: string | PlainNestedLocaleStringBodyObject;
91
- };
92
- export type SwitchCaseInfo = {
93
- /**
94
- * Whether this conditional is the default
95
- */
96
- default?: boolean | undefined;
97
- };
98
- /**
99
- * Contains the type, the message, and optional info about the switch case.
100
- */
101
- export type SwitchCaseArray = [string, string, SwitchCaseInfo?];
102
- export type SwitchArray = {
103
- [x: string]: SwitchCaseArray;
104
- };
105
- export type SwitchArrays = {
106
- [x: string]: SwitchArray;
107
- };
108
- export type SwitchCase = {
109
- /**
110
- * The locale message with any formatting
111
- * place-holders; defaults to use of any single conditional
112
- */
113
- message: string;
114
- /**
115
- * A description to add for translators
116
- */
117
- description?: string | undefined;
118
- };
119
- export type Switch = {
120
- [x: string]: SwitchCase;
121
- };
122
- export type Switches = {
123
- [x: string]: Switch;
124
- };
125
- export type RichLocaleStringSubObject = {
126
- /**
127
- * The locale message with any formatting
128
- * place-holders; defaults to use of any single conditional
129
- */
130
- message: string;
131
- /**
132
- * A description to add for translators
133
- */
134
- description?: string | undefined;
135
- /**
136
- * Conditionals
137
- */
138
- switches?: {
139
- [x: string]: {
140
- [x: string]: SwitchCase;
141
- };
142
- } | undefined;
143
- };
144
- export type RichLocaleStringBodyObject = {
145
- [key: string]: RichLocaleStringSubObject;
146
- };
147
- export type RichNestedLocaleStringBodyObject = {
148
- [key: string]: RichLocaleStringSubObject | RichNestedLocaleStringBodyObject;
149
- };
150
- /**
151
- * Takes a base path and locale and gives a URL.
152
- */
153
- export type LocaleResolver = (localesBasePath: string, locale: string) => string | false;
154
- export type DateRange = [Date | number, Date | number, (Intl.DateTimeFormatOptions | undefined)?];
155
- export type SubstitutionObjectValue = string | string[] | number | Date | DateRange | Element | Node | SubstitutionCallback | NumberInfo | PluralInfo | CurrencyInfo | LanguageInfo | ScriptInfo | DatetimeRangeInfo | DateRangeInfo | RegionInfo | DateTimeInfo | DateInfo | ListInfo | RelativeTimeInfo;
156
- export type SubstitutionObject = {
157
- [key: string]: SubstitutionObjectValue;
158
- };
159
- export type Replace = (cfg: {
160
- str: string;
161
- substs?: any;
162
- formatter?: any | any | any;
163
- }) => string;
164
- export type ProcessSubstitutions = (cfg: {
165
- str: string;
166
- substs?: any;
167
- formatter?: any | any | any;
168
- }) => (string | Node)[];
169
- /**
170
- * Callback to return a string or array of nodes and strings based on
171
- * a localized string, substitutions object, and other metadata.
172
- *
173
- * `string` - The localized string.
174
- * `dom` - If substitutions known to contain DOM, can be set
175
- * to `true` to optimize.
176
- * `usedKeys` - Array for tracking which keys have been used. Defaults
177
- * to empty array.
178
- * `substitutions` - The formatting substitutions object.
179
- * `allSubstitutions` - The
180
- * callback or array composed thereof for applying to each substitution.
181
- * `locale` - The successfully resolved locale
182
- * `locals` - The local section.
183
- * `switches` - The switch section.
184
- * `maximumLocalNestingDepth` - Depth of local variable resolution to
185
- * check before reporting a recursion error. Defaults to 3.
186
- * `missingSuppliedFormatters` - Callback
187
- * supplied key to throw if the supplied key is present (if
188
- * `throwOnMissingSuppliedFormatters` is enabled). Defaults to no-op.
189
- * `checkExtraSuppliedFormatters` - No
190
- * argument callback to check if any formatters are not present in `string`
191
- * (if `throwOnExtraSuppliedFormatters` is enabled). Defaults to no-op.
192
- */
193
- export type InsertNodesCallback = (cfg: {
194
- string: string;
195
- dom?: boolean;
196
- usedKeys: string[];
197
- substitutions: any;
198
- allSubstitutions?: (any | any[]) | null;
199
- locale: string | undefined;
200
- locals?: any | undefined;
201
- switches: any | undefined;
202
- maximumLocalNestingDepth?: Integer;
203
- missingSuppliedFormatters: any;
204
- checkExtraSuppliedFormatters: any;
205
- }) => string | (Node | string)[];
206
- export type LocalObject = LocaleBody;
207
- /**
208
- * May also contain language code and direction, translator name and
209
- * contact, etc., but no defaults currently apply besides reserving `locals`
210
- */
211
- export type LocaleHead = {
212
- locals?: LocalObject;
213
- switches?: any;
214
- };
215
- export type LocaleBody = any | any | any | any | object;
216
- export type LocaleObject = {
217
- head?: LocaleHead | undefined;
218
- body: LocaleBody;
219
- };
220
- export type MessageStyleCallbackResult = {
221
- /**
222
- * Regardless of message style, will contain
223
- * the string result
224
- */
225
- value: string;
226
- /**
227
- * Full info on the localized item
228
- * (for rich message styles only)
229
- */
230
- info?: any;
231
- };
232
- export type MessageStyleCallback = (obj: LocaleObject, key: string) => false | MessageStyleCallbackResult;
233
- export type CheckExtraSuppliedFormattersCallback = (substs: any | {
234
- substitutions: import("./defaultLocaleResolver.js").SubstitutionObject;
235
- }) => any;
236
- export type MissingSuppliedFormattersCallback = (cfg: {
237
- key: string;
238
- formatter: any | any | any;
239
- }) => boolean;
240
- export type LocaleObjectInfo = {
241
- /**
242
- * The successfully retrieved locale strings
243
- */
244
- strings: any;
245
- /**
246
- * The successfully resolved locale
247
- */
248
- locale: string;
249
- };
250
- export type LocaleStringArgs = {
251
- locales?: string[];
252
- defaultLocales?: string[];
253
- localesBasePath?: string;
254
- localeResolver?: any;
255
- localeMatcher?: "lookup" | LocaleMatcher;
256
- };
257
- /**
258
- * `locales` - BCP-47 language strings. Defaults to `navigator.languages`.
259
- * `defaultLocales` - Defaults to ["en-US"].
260
- * `localesBasePath` - Defaults to `.`.
261
- * `localeResolver` - Defaults to `defaultLocaleResolver`.
262
- */
263
- export type LocaleStringFinder = (cfg?: LocaleStringArgs) => Promise<LocaleObjectInfo>;
264
- export function getFilePaths(filesObj: any, fileGroup: any, fileData: any): {
265
- file: string;
266
- schemaFile: string;
267
- metadataFile: string;
268
- };
269
- export function getWorkData({ lang, fallbackLanguages, work, files, allowPlugins, basePath, languages, preferredLocale }: {
270
- lang: any;
271
- fallbackLanguages: any;
272
- work: any;
273
- files: any;
274
- allowPlugins: any;
275
- basePath: any;
276
- languages: any;
277
- preferredLocale: any;
278
- }): Promise<{
279
- fileData: undefined;
280
- workI18n: any;
281
- getFieldAliasOrName: (field: any) => any;
282
- metadataObj: any;
283
- schemaObj: any;
284
- schemaItems: any;
285
- fieldInfo: any;
286
- pluginsForWork: PluginsForWork;
287
- groupsToWorks: any;
288
- metadata: Metadata;
289
- }>;
290
- /**
291
- * Imported by the `dist/sw-helper.js`
292
- * @param {string} files The files.json file path
293
- * @returns {PlainObject}
294
- */
295
- export function getWorkFiles(files: string): PlainObject;
296
- declare class PluginsForWork {
297
- constructor({ pluginsInWork, pluginFieldMappings, pluginObjects }: {
298
- pluginsInWork: any;
299
- pluginFieldMappings: any;
300
- pluginObjects: any;
301
- });
302
- pluginsInWork: any;
303
- pluginFieldMappings: any;
304
- pluginObjects: any;
305
- getPluginObject(pluginName: any): any;
306
- iterateMappings(cb: any): void;
307
- processTargetLanguages(applicableFields: any, cb: any): boolean;
308
- isPluginField({ namespace, field }: {
309
- namespace: any;
310
- field: any;
311
- }): any;
312
- getPluginFieldParts({ namespace, field }: {
313
- namespace: any;
314
- field: any;
315
- }): any[];
316
- }
317
- declare class Metadata {
318
- constructor({ metadataObj }: {
319
- metadataObj: any;
320
- });
321
- metadataObj: any;
322
- getFieldLang(field: any): any;
323
- getFieldMatchesLocale({ namespace, preferredLocale, schemaItems, pluginsForWork }: {
324
- namespace: any;
325
- preferredLocale: any;
326
- schemaItems: any;
327
- pluginsForWork: any;
328
- }): (field: any) => any;
329
- }
330
- export {};
331
- //# sourceMappingURL=WorkInfo-es.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WorkInfo-es.d.ts","sourceRoot":"","sources":["../WorkInfo-es.js"],"names":[],"mappings":"wCAIW,MAAM,GAAC,MAAM,EAAE,MACf,kBAAkB,WAClB,iBAAiB,KACf,OAAO,CAAC,IAAI,CAAC;kCAo+Cb,CAAC,KAAK,EAAE,GAAG,KAAK,OAAO,CAAC,GAAG,CAAC,GAAC,GAAG;gDA00BlC,MAAM,GAAC,MAAM,EAAE,gBAEf,OAAO,GAAC,aAAa,GAAC,MAAM,GACtC,YAAgB,GAChB,GAA+D;mBA2kBnD,GAAyB;uBAGzB,GAA6B;mBAG7B,GAAyB;2BAIzB,GAAiC;sBAqCjC,MAAM;oBA91EN,GAAG;uBAiBH,GAAG;mCAkBL,MAAM,KACJ,IAAI;+BAKN,MAAM,KACJ,IAAI;gCAKN,MAAM,KACJ,IAAI;oBAyDJ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iCAQS,CACR,GAAG,CAAC,EAAE,gBAAgB,KACnB,OAAO,CAAC,gBAAgB,CAAC;AAylBjC;;;;EAWC;AAED;;;;;;;;;;;;;;;;;;;;GAkOC;AApQD;;;;GAIG;AACH,oCAHW,MAAM,GACJ,WAAW,CAgBvB;AA5FD;IACE;;;;OAIC;IAHC,mBAAkC;IAClC,yBAA8C;IAC9C,mBAAkC;IAEpC,sCAMC;IACD,+BAyBC;IACD,gEAgBC;IACD;;;YAEC;IACD;;;cASC;CACF;AAhJD;IACE;;OAEC;IADC,iBAA8B;IAGhC,8BAIC;IAED;;;;;4BAoCC;CACF"}
@@ -1,17 +0,0 @@
1
- export { activateCallback as default };
2
- export type Logger = (...args: any[]) => void;
3
- /**
4
- * @callback Logger
5
- * @param {...any} args
6
- * @returns {void}
7
- */
8
- /**
9
- * @param {PlainObject} cfg
10
- * @param {string} cfg.namespace
11
- * @param {string[]} cfg.files
12
- * @param {Logger} cfg.log
13
- * @param {string} [cfg.basePath]
14
- * @returns {Promise<void>}
15
- */
16
- declare function activateCallback({ namespace, files, log, basePath }: PlainObject): Promise<void>;
17
- //# sourceMappingURL=activateCallback-es.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"activateCallback-es.d.ts","sourceRoot":"","sources":["../activateCallback-es.js"],"names":[],"mappings":";+BAsBa,GAAG,EAAA,KACJ,IAAI;AAHhB;;;;EAIE;AAEF;;;;;;;GAOG;AACH,uEAPW,WAAW,GAKT,OAAO,CAAC,IAAI,CAAC,CA+HzB"}