@arsedizioni/ars-utils 21.2.325 → 21.2.327
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/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs +4 -4
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-core.mjs +37 -0
- package/fesm2022/arsedizioni-ars-utils-core.mjs.map +1 -1
- package/package.json +1 -1
- package/types/arsedizioni-ars-utils-clipper.common.d.ts +1 -1
- package/types/arsedizioni-ars-utils-core.d.ts +6 -0
package/package.json
CHANGED
|
@@ -156,7 +156,7 @@ interface ClipperSettingsInfo {
|
|
|
156
156
|
enableNotifications: boolean;
|
|
157
157
|
channels?: ClipperChannelSettings[];
|
|
158
158
|
bulletinTaxonomy?: string[];
|
|
159
|
-
bulletinOrigins?:
|
|
159
|
+
bulletinOrigins?: string[];
|
|
160
160
|
enableBulletinFilter: boolean;
|
|
161
161
|
}
|
|
162
162
|
declare class ClipperUpdateChannelsStateParams {
|
|
@@ -275,6 +275,12 @@ declare class SystemUtils {
|
|
|
275
275
|
* @returns : the joined string
|
|
276
276
|
*/
|
|
277
277
|
static join(items?: string[], sep?: string, max?: number): string | undefined;
|
|
278
|
+
/**
|
|
279
|
+
* Normalize a string by converting it to lowercase and removing extra spaces, with special handling for acronyms and camelCase.
|
|
280
|
+
* @param s : the string to normalize
|
|
281
|
+
* @returns : The normalized string, or `undefined` if the input is falsy.
|
|
282
|
+
*/
|
|
283
|
+
static normalize(s?: string): string | undefined;
|
|
278
284
|
/**
|
|
279
285
|
* Wraps bare URLs in the given string with `<a>` anchor tags.
|
|
280
286
|
* @param s - The plain-text or HTML string to process.
|