@agendize/vue-tools 1.7.0 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/utils/format.d.ts +2 -1
- package/dist/utils/format.d.ts.map +1 -1
- package/dist/vue-tools.es.js +4377 -76803
- package/package.json +10 -10
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useBlocState } from "./bloc/useBlocState";
|
|
2
2
|
import { dateToString } from "./utils/date";
|
|
3
3
|
import { onPictureUpdated, readBlobFromUrl, toBase64 } from "./utils/file";
|
|
4
|
-
import { pad, parseToInt, formatDate, decodeHtml, personToInitials, normaliseStringWithoutAccent, isStringIncludeIn } from "./utils/format";
|
|
4
|
+
import { pad, parseToInt, formatDate, decodeHtml, personToInitials, normaliseStringWithoutAccent, isStringIncludeIn, isStringIncludeInList } from "./utils/format";
|
|
5
5
|
import QRCode from "./presentation/component/qr-code/View.vue";
|
|
6
6
|
import Share from "./presentation/component/share/View.vue";
|
|
7
7
|
import { ShareMode } from "./presentation/component/share/viewModel";
|
|
@@ -12,7 +12,7 @@ import { getDomain } from "./utils/web";
|
|
|
12
12
|
import { hasGlobalSchedulingRight } from "./utils/right";
|
|
13
13
|
export * from './bloc/Bloc';
|
|
14
14
|
export * from './utils/colorUtils';
|
|
15
|
-
export { useBlocState, dateToString, QRCode, Share, ShareMode, onPictureUpdated, readBlobFromUrl, pad, parseToInt, formatDate, toBase64, decodeHtml, personToInitials, normaliseStringWithoutAccent, isStringIncludeIn };
|
|
15
|
+
export { useBlocState, dateToString, QRCode, Share, ShareMode, onPictureUpdated, readBlobFromUrl, pad, parseToInt, formatDate, toBase64, decodeHtml, personToInitials, normaliseStringWithoutAccent, isStringIncludeIn, isStringIncludeInList };
|
|
16
16
|
export { createStore, useAccountStore };
|
|
17
17
|
export { createApi, createLogger, useApi, useLogger };
|
|
18
18
|
export { poll, getDomain };
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAC,YAAY,EAAC,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAC,gBAAgB,EAAE,eAAe,EAAE,QAAQ,EAAC,MAAM,cAAc,CAAA;AACxE,OAAO,EAAC,GAAG,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,gBAAgB,EAAC,4BAA4B,EAAC,iBAAiB,EAAC,MAAM,gBAAgB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAC,YAAY,EAAC,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAC,gBAAgB,EAAE,eAAe,EAAE,QAAQ,EAAC,MAAM,cAAc,CAAA;AACxE,OAAO,EAAC,GAAG,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,gBAAgB,EAAC,4BAA4B,EAAC,iBAAiB,EAAC,qBAAqB,EAAC,MAAM,gBAAgB,CAAA;AAC7J,OAAO,MAAM,MAAM,2CAA2C,CAAA;AAC9D,OAAO,KAAK,MAAM,yCAAyC,CAAC;AAC5D,OAAO,EAAC,SAAS,EAAC,MAAM,0CAA0C,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AACnE,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,SAAS,EAAC,MAAM,iBAAiB,CAAA;AAC3E,OAAO,EAAE,IAAI,EAAC,MAAM,cAAc,CAAC;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC;AAEzD,cAAc,aAAa,CAAA;AAC3B,cAAc,oBAAoB,CAAA;AAClC,OAAO,EAAC,YAAY,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,gBAAgB,EAAE,eAAe,EAAC,GAAG,EAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,gBAAgB,EAAC,4BAA4B,EAAE,iBAAiB,EAAE,qBAAqB,EAAC,CAAA;AAC3O,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,CAAA;AACvC,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,SAAS,EAAC,CAAA;AACpD,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,CAAA;AAC1B,OAAO,EAAE,wBAAwB,EAAE,CAAA;AACnC,cAAc,mBAAmB,CAAA;AACjC,cAAc,cAAc,CAAA"}
|
package/dist/utils/format.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
declare function parseToInt(value: string): number;
|
|
2
2
|
declare function formatDate(date?: Date): string;
|
|
3
3
|
declare function pad(value: any, size?: number): string;
|
|
4
|
+
declare function isStringIncludeInList(stringsToSearchIn: (string | undefined)[], stringToSearch?: string, escapeAccent?: boolean, escapeCase?: boolean): boolean;
|
|
4
5
|
declare function isStringIncludeIn(stringToSearchIn?: string, stringToSearch?: string, escapeAccent?: boolean, escapeCase?: boolean): boolean;
|
|
5
6
|
declare function normaliseStringWithoutAccent(label?: string): string;
|
|
6
7
|
declare function decodeHtml(html?: string): string;
|
|
@@ -9,5 +10,5 @@ declare function personToInitials(person?: {
|
|
|
9
10
|
lastName?: string;
|
|
10
11
|
name?: string;
|
|
11
12
|
}): string;
|
|
12
|
-
export { formatDate, pad, parseToInt, decodeHtml, personToInitials, normaliseStringWithoutAccent, isStringIncludeIn };
|
|
13
|
+
export { formatDate, pad, parseToInt, decodeHtml, personToInitials, normaliseStringWithoutAccent, isStringIncludeIn, isStringIncludeInList };
|
|
13
14
|
//# sourceMappingURL=format.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../src/utils/format.ts"],"names":[],"mappings":"AAAA,iBAAS,UAAU,CAAC,KAAK,EAAE,MAAM,UAMhC;AAED,iBAAS,UAAU,CAAC,IAAI,CAAC,EAAE,IAAI,GAAG,MAAM,CAKvC;AAED,iBAAS,GAAG,CAAC,KAAK,EAAE,GAAG,EAAE,IAAI,GAAE,MAAU,UAIxC;AAED,iBAAS,iBAAiB,CAAE,gBAAgB,CAAC,EAAC,MAAM,EAAC,cAAc,CAAC,EAAE,MAAM,EAAE,YAAY,GAAC,OAAc,EAAE,UAAU,GAAC,OAAa,GAAG,OAAO,CAkB5I;AAED,iBAAS,4BAA4B,CAAC,KAAK,CAAC,EAAC,MAAM,GAAG,MAAM,CAK3D;AAED,iBAAS,UAAU,CAAC,IAAI,CAAC,EAAC,MAAM,GAAE,MAAM,CAOvC;AAED,iBAAS,gBAAgB,CAAC,MAAM,CAAC,EAAG;IAAE,SAAS,CAAC,EAAC,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAC,MAAM,CAAC;IAAC,IAAI,CAAC,EAAC,MAAM,CAAA;CAAC,GAAE,MAAM,CAO/F;AAED,OAAO,EAAC,UAAU,EAAE,GAAG,EAAE,UAAU,EAAC,UAAU,EAAC,gBAAgB,EAAC,4BAA4B,EAAC,iBAAiB,EAAE,CAAA"}
|
|
1
|
+
{"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../src/utils/format.ts"],"names":[],"mappings":"AAAA,iBAAS,UAAU,CAAC,KAAK,EAAE,MAAM,UAMhC;AAED,iBAAS,UAAU,CAAC,IAAI,CAAC,EAAE,IAAI,GAAG,MAAM,CAKvC;AAED,iBAAS,GAAG,CAAC,KAAK,EAAE,GAAG,EAAE,IAAI,GAAE,MAAU,UAIxC;AAED,iBAAS,qBAAqB,CAAE,iBA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