@papillonarts/library 0.11.0 → 0.13.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.
@@ -0,0 +1,2 @@
1
+ export declare function checkAccessibilityIssues(react: any, reactDOM: any, delay: any): void;
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/a11y/index.ts"],"names":[],"mappings":"AAKA,wBAAgB,wBAAwB,CAAC,KAAK,KAAA,EAAE,QAAQ,KAAA,EAAE,KAAK,KAAA,QAK9D"}
@@ -0,0 +1,23 @@
1
+ export declare function getCurrentIndex(indexItems: any): any;
2
+ export declare function getIndexItems(items: any): any;
3
+ export declare function getIndexItemsWithSelected(indexItems: any, selectedItem: any): any;
4
+ export declare function getRandomItemFromArray(array: any): any;
5
+ export declare function getRange({ range, indexSeed, valueSeed }: {
6
+ range: any;
7
+ indexSeed?: number;
8
+ valueSeed?: number;
9
+ }): number[];
10
+ export declare function getSelectedItem({ items }: {
11
+ items: any;
12
+ }): any;
13
+ export declare function getSelectedItemText({ items }: {
14
+ items: any;
15
+ }): any;
16
+ export declare function getItemsDefaultSelected({ defaultItems, items }: {
17
+ defaultItems: any;
18
+ items: any;
19
+ }): any;
20
+ export declare function getItemsRandomSelected({ items }: {
21
+ items: any;
22
+ }): any;
23
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/array/index.ts"],"names":[],"mappings":"AAAA,wBAAgB,eAAe,CAAC,UAAU,KAAA,OAEzC;AAED,wBAAgB,aAAa,CAAC,KAAK,KAAA,OAOlC;AAED,wBAAgB,yBAAyB,CAAC,UAAU,KAAA,EAAE,YAAY,KAAA,OAOjE;AAED,wBAAgB,sBAAsB,CAAC,KAAK,KAAA,OAE3C;AAED,wBAAgB,QAAQ,CAAC,EAAE,KAAK,EAAE,SAAa,EAAE,SAAa,EAAE;;;;CAAA,YAO/D;AAED,wBAAgB,eAAe,CAAC,EAAE,KAAK,EAAE;;CAAA,OAExC;AAED,wBAAgB,mBAAmB,CAAC,EAAE,KAAK,EAAE;;CAAA,OAE5C;AAED,wBAAgB,uBAAuB,CAAC,EAAE,YAAY,EAAE,KAAK,EAAE;;;CAAA,OA2C9D;AAED,wBAAgB,sBAAsB,CAAC,EAAE,KAAK,EAAE;;CAAA,OAU/C"}
@@ -0,0 +1,3 @@
1
+ export declare function NotAuthorized(): import("react/jsx-runtime").JSX.Element;
2
+ export declare function isUserAuthenticatedPapillonArtsOrganizationMember(personalAccessToken: any): Promise<boolean>;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/auth/index.tsx"],"names":[],"mappings":"AAEA,wBAAgB,aAAa,4CAE5B;AAED,wBAAsB,iDAAiD,CAAC,mBAAmB,KAAA,oBA8B1F"}
@@ -0,0 +1,2 @@
1
+ export declare function getRandomBoolean(): boolean;
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/boolean/index.ts"],"names":[],"mappings":"AAAA,wBAAgB,gBAAgB,YAE/B"}
@@ -0,0 +1,2 @@
1
+ export declare const isBrowser: boolean;
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/browser/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,SAAgC,CAAA"}
@@ -0,0 +1,3 @@
1
+ export declare function getLocaleDateTimeString(date: any): string;
2
+ export declare function getRandomDate(start?: Date, end?: Date): Date;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/date/index.ts"],"names":[],"mappings":"AAAA,wBAAgB,uBAAuB,CAAC,IAAI,KAAA,UAE3C;AAED,wBAAgB,aAAa,CAAC,KAAK,OAAuB,EAAE,GAAG,OAAa,QAE3E"}
@@ -0,0 +1,2 @@
1
+ export declare function throttle(fn: any, delay?: number): (...args: any[]) => any;
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/event/index.ts"],"names":[],"mappings":"AAAA,wBAAgB,QAAQ,CAAC,EAAE,KAAA,EAAE,KAAK,SAAM,2BAYvC"}
@@ -0,0 +1,2 @@
1
+ export { useState, useEffect, useReducer, useMemo, useRef } from 'react';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA"}
@@ -0,0 +1,10 @@
1
+ export declare function getRandomDecimal({ min, max, decimal }: {
2
+ min?: number;
3
+ max: any;
4
+ decimal?: number;
5
+ }): number;
6
+ export declare function getRandomInteger({ min, max }: {
7
+ min?: number;
8
+ max: any;
9
+ }): number;
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/number/index.ts"],"names":[],"mappings":"AAAA,wBAAgB,gBAAgB,CAAC,EAAE,GAAO,EAAE,GAAG,EAAE,OAAW,EAAE;;;;CAAA,UAM7D;AAED,wBAAgB,gBAAgB,CAAC,EAAE,GAAO,EAAE,GAAG,EAAE;;;CAAA,UAEhD"}
@@ -0,0 +1,3 @@
1
+ export declare function deepCloneObject(obj: any): any;
2
+ export declare function isEmptyObject(obj: any): boolean;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/object/index.ts"],"names":[],"mappings":"AAAA,wBAAgB,eAAe,CAAC,GAAG,KAAA,OAMlC;AAED,wBAAgB,aAAa,CAAC,GAAG,KAAA,WAEhC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@papillonarts/library",
3
- "version": "0.11.0",
3
+ "version": "0.13.0",
4
4
  "description": "Papillon Arts Library",
5
5
  "homepage": "https://github.com/papillonarts/papillonarts/tree/master/packages/library",
6
6
  "repository": {
@@ -31,10 +31,12 @@
31
31
  "clean-up": "rm -rf build node_modules package-lock.json",
32
32
  "install-packages": "npm i",
33
33
  "install-papillonarts-latest": "echo \"library skipping install-papillonarts-latest\" && exit 0",
34
- "build": "rm -rf build && babel --copy-files --no-copy-ignored --extensions '.js,.jsx,.ts,.tsx' --out-dir build src --ignore **/__tests__",
34
+ "generate-typing": "tsc",
35
+ "generate-commonjs": "rm -rf build && babel --copy-files --no-copy-ignored --extensions '.js,.jsx,.ts,.tsx' --out-dir build src --ignore **/__tests__",
36
+ "build": "npm-run-all generate-commonjs generate-typing",
35
37
  "build-test": "npm run build",
36
38
  "build-acceptance": "npm run build",
37
39
  "build-release": "npm run build"
38
40
  },
39
- "gitHead": "afb8232b4029b44881fa5613b3069ad2d3032f16"
41
+ "gitHead": "bb268fb3b282a79414f1724397ceafc488b765df"
40
42
  }
@@ -0,0 +1,22 @@
1
+ export declare const paginationActionTypes: {
2
+ onChange: string;
3
+ onBackwards: string;
4
+ onForward: string;
5
+ };
6
+ export declare function getPagination({ searchObjects, regularObjects, pagination, resetPageNumber }: {
7
+ searchObjects: any;
8
+ regularObjects: any;
9
+ pagination: any;
10
+ resetPageNumber: any;
11
+ }): any;
12
+ export declare function paginate({ array, pageSize, pageNumber }: {
13
+ array: any;
14
+ pageSize: any;
15
+ pageNumber: any;
16
+ }): any;
17
+ export declare function setNewIndexItemsOnMove({ onBackwards, onForward, currentPage }: {
18
+ onBackwards?: boolean;
19
+ onForward?: boolean;
20
+ currentPage: any;
21
+ }): any;
22
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/pagination/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,qBAAqB;;;;CAIjC,CAAA;AAED,wBAAgB,aAAa,CAAC,EAAE,aAAa,EAAE,cAAc,EAAE,UAAU,EAAE,eAAe,EAAE;;;;;CAAA,OA+B3F;AAED,wBAAgB,QAAQ,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE;;;;CAAA,OAEvD;AAED,wBAAgB,sBAAsB,CAAC,EAAE,WAAmB,EAAE,SAAiB,EAAE,WAAW,EAAE;;;;CAAA,OAqB7F"}
@@ -0,0 +1,22 @@
1
+ export declare const sortOrder: {
2
+ ascending: string;
3
+ descending: string;
4
+ };
5
+ export declare const sortDefault: {
6
+ index: number;
7
+ value: string;
8
+ order: string;
9
+ };
10
+ export declare function getSort({ currentSort, newSort }: {
11
+ currentSort: any;
12
+ newSort: any;
13
+ }): {
14
+ index: any;
15
+ value: any;
16
+ order: string;
17
+ };
18
+ export declare function sortObjects({ sort, objects }: {
19
+ sort: any;
20
+ objects: any;
21
+ }): any;
22
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sort/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS;;;CAGrB,CAAA;AAED,eAAO,MAAM,WAAW;;;;CAIvB,CAAA;AAED,wBAAgB,OAAO,CAAC,EAAE,WAAW,EAAE,OAAO,EAAE;;;CAAA;;;;EAc/C;AAED,wBAAgB,WAAW,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE;;;CAAA,OAkD5C"}
@@ -0,0 +1,2 @@
1
+ export { getAppMockStore } from './mock';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/store/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare function getAppMockStore(customAppState: any): any;
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/store/mock/index.ts"],"names":[],"mappings":"AAGA,wBAAgB,eAAe,CAAC,cAAc,KAAA,OAE7C"}
@@ -0,0 +1,9 @@
1
+ export declare function getCapizalizedString({ string, separator }: {
2
+ string: any;
3
+ separator?: string;
4
+ }): any;
5
+ export declare function getRandomAlphaNumericString(): string;
6
+ export declare function getRandomAlphaNumericStringByLength({ length }: {
7
+ length: any;
8
+ }): string;
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/string/index.ts"],"names":[],"mappings":"AAAA,wBAAgB,oBAAoB,CAAC,EAAE,MAAM,EAAE,SAAe,EAAE;;;CAAA,OAK/D;AAED,wBAAgB,2BAA2B,WAE1C;AAED,wBAAgB,mCAAmC,CAAC,EAAE,MAAM,EAAE;;CAAA,UAO7D"}