@jscrpt/common 6.1.0 → 6.2.0-beta.20240729122715

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 (52) hide show
  1. package/changelog.md +9 -0
  2. package/es/src/index.js.map +1 -1
  3. package/es/src/index.mjs +2 -0
  4. package/es/src/types/mutable.js.map +1 -0
  5. package/es/src/types/mutable.mjs +2 -0
  6. package/es/src/types/recursivePartial.js.map +1 -1
  7. package/es/src/types/writable.js.map +1 -0
  8. package/es/src/types/writable.mjs +2 -0
  9. package/es2015/src/index.js +2 -0
  10. package/es2015/src/index.js.map +1 -1
  11. package/es2015/src/types/mutable.js +2 -0
  12. package/es2015/src/types/mutable.js.map +1 -0
  13. package/es2015/src/types/recursivePartial.js.map +1 -1
  14. package/es2015/src/types/writable.js +2 -0
  15. package/es2015/src/types/writable.js.map +1 -0
  16. package/es2020/src/index.js +2 -0
  17. package/es2020/src/index.js.map +1 -1
  18. package/es2020/src/types/mutable.js +2 -0
  19. package/es2020/src/types/mutable.js.map +1 -0
  20. package/es2020/src/types/recursivePartial.js.map +1 -1
  21. package/es2020/src/types/writable.js +2 -0
  22. package/es2020/src/types/writable.js.map +1 -0
  23. package/es2022/src/index.js +2 -0
  24. package/es2022/src/index.js.map +1 -1
  25. package/es2022/src/types/mutable.js +2 -0
  26. package/es2022/src/types/mutable.js.map +1 -0
  27. package/es2022/src/types/recursivePartial.js.map +1 -1
  28. package/es2022/src/types/writable.js +2 -0
  29. package/es2022/src/types/writable.js.map +1 -0
  30. package/es5/src/index.js +2 -0
  31. package/es5/src/index.js.map +1 -1
  32. package/es5/src/types/mutable.js +2 -0
  33. package/es5/src/types/mutable.js.map +1 -0
  34. package/es5/src/types/recursivePartial.js.map +1 -1
  35. package/es5/src/types/writable.js +2 -0
  36. package/es5/src/types/writable.js.map +1 -0
  37. package/module/src/index.cjs +2 -0
  38. package/module/src/index.js.map +1 -1
  39. package/module/src/types/mutable.cjs +3 -0
  40. package/module/src/types/mutable.js.map +1 -0
  41. package/module/src/types/recursivePartial.js.map +1 -1
  42. package/module/src/types/writable.cjs +3 -0
  43. package/module/src/types/writable.js.map +1 -0
  44. package/package.json +1 -1
  45. package/src/index.d.ts +2 -0
  46. package/src/index.d.ts.map +1 -1
  47. package/src/types/mutable.d.ts +9 -0
  48. package/src/types/mutable.d.ts.map +1 -0
  49. package/src/types/recursivePartial.d.ts.map +1 -1
  50. package/src/types/writable.d.ts +7 -0
  51. package/src/types/writable.d.ts.map +1 -0
  52. package/version.bak +1 -1
package/changelog.md CHANGED
@@ -1,7 +1,16 @@
1
1
  # Changelog
2
2
 
3
+ ## Version 6.2.0 (2024-07-29)
4
+
5
+ ### Features
6
+
7
+ - new `Mutable` type, that returns a mutable type version of type.
8
+ - new `Writable` type, that returns a writable type version of type.
9
+
3
10
  ## Version 6.1.0 (2024-05-29)
4
11
 
12
+ ### Features
13
+
5
14
  - new *subpackage* `@jscrpt/common/numeral`
6
15
  - 'assimilated' library `numeral.js` and updated to 'module' package
7
16
 
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,aAAa,CAAC;AACzC,OAAO,EAAC,OAAO,EAAC,MAAM,cAAc,CAAC;AAErC,YAAY,CAAC,MAAM,CAAC,EAAE;IAElB,IAAG,OAAO,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,EAC/B;QACI,MAAM,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC;KAC/B;AACL,CAAC,CAAC,CAAC;AAEH,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,qCAAqC,CAAC;AACpD,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC","sourcesContent":["import {globalDefine} from './jsDevMode';\r\nimport {isBlank} from './utils/lang';\r\n\r\nglobalDefine(global =>\r\n{\r\n if(isBlank(global['jsDevMode']))\r\n {\r\n global['jsDevMode'] = false;\r\n }\r\n});\r\n\r\nexport * from './jsDevMode';\r\nexport * from './encoder/encoder';\r\nexport * from './paginator/paginator';\r\nexport * from './normalizer/charMaps';\r\nexport * from './normalizer/normalizer';\r\nexport * from './enums/orderByDirection';\r\nexport * from './types/async';\r\nexport * from './types/combineStrings';\r\nexport * from './types/cssProperties';\r\nexport * from './types/dictionaries';\r\nexport * from './types/enums';\r\nexport * from './types/functions';\r\nexport * from './types/invalidatable';\r\nexport * from './types/mixinType';\r\nexport * from './types/pageable';\r\nexport * from './types/pagedData';\r\nexport * from './types/propertyExpressions';\r\nexport * from './types/recursivePartial';\r\nexport * from './types/valueNamePair';\r\nexport * from './utils/common';\r\nexport * from './utils/lang';\r\nexport * from './utils/nameof';\r\nexport * from './decorators/bindThis.decorator';\r\nexport * from './decorators/callOnce.decorator';\r\nexport * from './decorators/debounceCall.decorator';\r\nexport * from './decorators/withSync.decorator';\r\nexport * from './decorators/property.decorator';\r\nexport * from './decorators/mixin.decorator';\r\n"]}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,aAAa,CAAC;AACzC,OAAO,EAAC,OAAO,EAAC,MAAM,cAAc,CAAC;AAErC,YAAY,CAAC,MAAM,CAAC,EAAE;IAElB,IAAG,OAAO,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,EAC/B;QACI,MAAM,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC;KAC/B;AACL,CAAC,CAAC,CAAC;AAEH,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,qCAAqC,CAAC;AACpD,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC","sourcesContent":["import {globalDefine} from './jsDevMode';\r\nimport {isBlank} from './utils/lang';\r\n\r\nglobalDefine(global =>\r\n{\r\n if(isBlank(global['jsDevMode']))\r\n {\r\n global['jsDevMode'] = false;\r\n }\r\n});\r\n\r\nexport * from './jsDevMode';\r\nexport * from './encoder/encoder';\r\nexport * from './paginator/paginator';\r\nexport * from './normalizer/charMaps';\r\nexport * from './normalizer/normalizer';\r\nexport * from './enums/orderByDirection';\r\nexport * from './types/async';\r\nexport * from './types/combineStrings';\r\nexport * from './types/cssProperties';\r\nexport * from './types/dictionaries';\r\nexport * from './types/enums';\r\nexport * from './types/functions';\r\nexport * from './types/invalidatable';\r\nexport * from './types/mixinType';\r\nexport * from './types/mutable';\r\nexport * from './types/pageable';\r\nexport * from './types/pagedData';\r\nexport * from './types/propertyExpressions';\r\nexport * from './types/recursivePartial';\r\nexport * from './types/valueNamePair';\r\nexport * from './types/writable';\r\nexport * from './utils/common';\r\nexport * from './utils/lang';\r\nexport * from './utils/nameof';\r\nexport * from './decorators/bindThis.decorator';\r\nexport * from './decorators/callOnce.decorator';\r\nexport * from './decorators/debounceCall.decorator';\r\nexport * from './decorators/withSync.decorator';\r\nexport * from './decorators/property.decorator';\r\nexport * from './decorators/mixin.decorator';\r\n"]}
package/es/src/index.mjs CHANGED
@@ -19,11 +19,13 @@ export * from './types/enums.mjs';
19
19
  export * from './types/functions.mjs';
20
20
  export * from './types/invalidatable.mjs';
21
21
  export * from './types/mixinType.mjs';
22
+ export * from './types/mutable.mjs';
22
23
  export * from './types/pageable.mjs';
23
24
  export * from './types/pagedData.mjs';
24
25
  export * from './types/propertyExpressions.mjs';
25
26
  export * from './types/recursivePartial.mjs';
26
27
  export * from './types/valueNamePair.mjs';
28
+ export * from './types/writable.mjs';
27
29
  export * from './utils/common.mjs';
28
30
  export * from './utils/lang.mjs';
29
31
  export * from './utils/nameof.mjs';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mutable.mjs","sourceRoot":"","sources":["../../../src/types/mutable.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Returns a mutable type version of type.\n */\nexport type Mutable<T extends {[x: string]: unknown}, K extends string> = \n{\n [P in K]: T[P];\n};\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=mutable.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"recursivePartial.mjs","sourceRoot":"","sources":["../../../src/types/recursivePartial.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Utility type that makes partial all nested properties\n */\nexport type RecursivePartial<T> = \n{\n [P in keyof T]?: T[P] extends (infer U)[] ?\n RecursivePartial<U>[] : \n T[P] extends object | undefined ?\n RecursivePartial<T[P]> :\n T[P];\n};"]}
1
+ {"version":3,"file":"recursivePartial.mjs","sourceRoot":"","sources":["../../../src/types/recursivePartial.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Utility type that makes partial all nested properties\n */\nexport type RecursivePartial<T> = \n{\n [P in keyof T]?: T[P] extends (infer U)[] \n ? RecursivePartial<U>[]\n : T[P] extends object | undefined \n ? RecursivePartial<T[P]> \n : T[P];\n};"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"writable.mjs","sourceRoot":"","sources":["../../../src/types/writable.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Returns a writable type version of type.\n */\nexport type Writable<T> = \n{\n -readonly [K in keyof T]: T[K];\n};\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=writable.js.map
@@ -19,11 +19,13 @@ export * from './types/enums';
19
19
  export * from './types/functions';
20
20
  export * from './types/invalidatable';
21
21
  export * from './types/mixinType';
22
+ export * from './types/mutable';
22
23
  export * from './types/pageable';
23
24
  export * from './types/pagedData';
24
25
  export * from './types/propertyExpressions';
25
26
  export * from './types/recursivePartial';
26
27
  export * from './types/valueNamePair';
28
+ export * from './types/writable';
27
29
  export * from './utils/common';
28
30
  export * from './utils/lang';
29
31
  export * from './utils/nameof';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,aAAa,CAAC;AACzC,OAAO,EAAC,OAAO,EAAC,MAAM,cAAc,CAAC;AAErC,YAAY,CAAC,MAAM,CAAC,EAAE;IAElB,IAAG,OAAO,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,EAC/B;QACI,MAAM,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC;KAC/B;AACL,CAAC,CAAC,CAAC;AAEH,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,qCAAqC,CAAC;AACpD,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC","sourcesContent":["import {globalDefine} from './jsDevMode';\r\nimport {isBlank} from './utils/lang';\r\n\r\nglobalDefine(global =>\r\n{\r\n if(isBlank(global['jsDevMode']))\r\n {\r\n global['jsDevMode'] = false;\r\n }\r\n});\r\n\r\nexport * from './jsDevMode';\r\nexport * from './encoder/encoder';\r\nexport * from './paginator/paginator';\r\nexport * from './normalizer/charMaps';\r\nexport * from './normalizer/normalizer';\r\nexport * from './enums/orderByDirection';\r\nexport * from './types/async';\r\nexport * from './types/combineStrings';\r\nexport * from './types/cssProperties';\r\nexport * from './types/dictionaries';\r\nexport * from './types/enums';\r\nexport * from './types/functions';\r\nexport * from './types/invalidatable';\r\nexport * from './types/mixinType';\r\nexport * from './types/pageable';\r\nexport * from './types/pagedData';\r\nexport * from './types/propertyExpressions';\r\nexport * from './types/recursivePartial';\r\nexport * from './types/valueNamePair';\r\nexport * from './utils/common';\r\nexport * from './utils/lang';\r\nexport * from './utils/nameof';\r\nexport * from './decorators/bindThis.decorator';\r\nexport * from './decorators/callOnce.decorator';\r\nexport * from './decorators/debounceCall.decorator';\r\nexport * from './decorators/withSync.decorator';\r\nexport * from './decorators/property.decorator';\r\nexport * from './decorators/mixin.decorator';\r\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,aAAa,CAAC;AACzC,OAAO,EAAC,OAAO,EAAC,MAAM,cAAc,CAAC;AAErC,YAAY,CAAC,MAAM,CAAC,EAAE;IAElB,IAAG,OAAO,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,EAC/B;QACI,MAAM,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC;KAC/B;AACL,CAAC,CAAC,CAAC;AAEH,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,qCAAqC,CAAC;AACpD,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC","sourcesContent":["import {globalDefine} from './jsDevMode';\r\nimport {isBlank} from './utils/lang';\r\n\r\nglobalDefine(global =>\r\n{\r\n if(isBlank(global['jsDevMode']))\r\n {\r\n global['jsDevMode'] = false;\r\n }\r\n});\r\n\r\nexport * from './jsDevMode';\r\nexport * from './encoder/encoder';\r\nexport * from './paginator/paginator';\r\nexport * from './normalizer/charMaps';\r\nexport * from './normalizer/normalizer';\r\nexport * from './enums/orderByDirection';\r\nexport * from './types/async';\r\nexport * from './types/combineStrings';\r\nexport * from './types/cssProperties';\r\nexport * from './types/dictionaries';\r\nexport * from './types/enums';\r\nexport * from './types/functions';\r\nexport * from './types/invalidatable';\r\nexport * from './types/mixinType';\r\nexport * from './types/mutable';\r\nexport * from './types/pageable';\r\nexport * from './types/pagedData';\r\nexport * from './types/propertyExpressions';\r\nexport * from './types/recursivePartial';\r\nexport * from './types/valueNamePair';\r\nexport * from './types/writable';\r\nexport * from './utils/common';\r\nexport * from './utils/lang';\r\nexport * from './utils/nameof';\r\nexport * from './decorators/bindThis.decorator';\r\nexport * from './decorators/callOnce.decorator';\r\nexport * from './decorators/debounceCall.decorator';\r\nexport * from './decorators/withSync.decorator';\r\nexport * from './decorators/property.decorator';\r\nexport * from './decorators/mixin.decorator';\r\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=mutable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mutable.js","sourceRoot":"","sources":["../../../src/types/mutable.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Returns a mutable type version of type.\n */\nexport type Mutable<T extends {[x: string]: unknown}, K extends string> = \n{\n [P in K]: T[P];\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"recursivePartial.js","sourceRoot":"","sources":["../../../src/types/recursivePartial.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Utility type that makes partial all nested properties\n */\nexport type RecursivePartial<T> = \n{\n [P in keyof T]?: T[P] extends (infer U)[] ?\n RecursivePartial<U>[] : \n T[P] extends object | undefined ?\n RecursivePartial<T[P]> :\n T[P];\n};"]}
1
+ {"version":3,"file":"recursivePartial.js","sourceRoot":"","sources":["../../../src/types/recursivePartial.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Utility type that makes partial all nested properties\n */\nexport type RecursivePartial<T> = \n{\n [P in keyof T]?: T[P] extends (infer U)[] \n ? RecursivePartial<U>[]\n : T[P] extends object | undefined \n ? RecursivePartial<T[P]> \n : T[P];\n};"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=writable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"writable.js","sourceRoot":"","sources":["../../../src/types/writable.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Returns a writable type version of type.\n */\nexport type Writable<T> = \n{\n -readonly [K in keyof T]: T[K];\n};\n"]}
@@ -19,11 +19,13 @@ export * from './types/enums';
19
19
  export * from './types/functions';
20
20
  export * from './types/invalidatable';
21
21
  export * from './types/mixinType';
22
+ export * from './types/mutable';
22
23
  export * from './types/pageable';
23
24
  export * from './types/pagedData';
24
25
  export * from './types/propertyExpressions';
25
26
  export * from './types/recursivePartial';
26
27
  export * from './types/valueNamePair';
28
+ export * from './types/writable';
27
29
  export * from './utils/common';
28
30
  export * from './utils/lang';
29
31
  export * from './utils/nameof';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,aAAa,CAAC;AACzC,OAAO,EAAC,OAAO,EAAC,MAAM,cAAc,CAAC;AAErC,YAAY,CAAC,MAAM,CAAC,EAAE;IAElB,IAAG,OAAO,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,EAC/B;QACI,MAAM,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC;KAC/B;AACL,CAAC,CAAC,CAAC;AAEH,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,qCAAqC,CAAC;AACpD,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC","sourcesContent":["import {globalDefine} from './jsDevMode';\r\nimport {isBlank} from './utils/lang';\r\n\r\nglobalDefine(global =>\r\n{\r\n if(isBlank(global['jsDevMode']))\r\n {\r\n global['jsDevMode'] = false;\r\n }\r\n});\r\n\r\nexport * from './jsDevMode';\r\nexport * from './encoder/encoder';\r\nexport * from './paginator/paginator';\r\nexport * from './normalizer/charMaps';\r\nexport * from './normalizer/normalizer';\r\nexport * from './enums/orderByDirection';\r\nexport * from './types/async';\r\nexport * from './types/combineStrings';\r\nexport * from './types/cssProperties';\r\nexport * from './types/dictionaries';\r\nexport * from './types/enums';\r\nexport * from './types/functions';\r\nexport * from './types/invalidatable';\r\nexport * from './types/mixinType';\r\nexport * from './types/pageable';\r\nexport * from './types/pagedData';\r\nexport * from './types/propertyExpressions';\r\nexport * from './types/recursivePartial';\r\nexport * from './types/valueNamePair';\r\nexport * from './utils/common';\r\nexport * from './utils/lang';\r\nexport * from './utils/nameof';\r\nexport * from './decorators/bindThis.decorator';\r\nexport * from './decorators/callOnce.decorator';\r\nexport * from './decorators/debounceCall.decorator';\r\nexport * from './decorators/withSync.decorator';\r\nexport * from './decorators/property.decorator';\r\nexport * from './decorators/mixin.decorator';\r\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,aAAa,CAAC;AACzC,OAAO,EAAC,OAAO,EAAC,MAAM,cAAc,CAAC;AAErC,YAAY,CAAC,MAAM,CAAC,EAAE;IAElB,IAAG,OAAO,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,EAC/B;QACI,MAAM,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC;KAC/B;AACL,CAAC,CAAC,CAAC;AAEH,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,qCAAqC,CAAC;AACpD,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC","sourcesContent":["import {globalDefine} from './jsDevMode';\r\nimport {isBlank} from './utils/lang';\r\n\r\nglobalDefine(global =>\r\n{\r\n if(isBlank(global['jsDevMode']))\r\n {\r\n global['jsDevMode'] = false;\r\n }\r\n});\r\n\r\nexport * from './jsDevMode';\r\nexport * from './encoder/encoder';\r\nexport * from './paginator/paginator';\r\nexport * from './normalizer/charMaps';\r\nexport * from './normalizer/normalizer';\r\nexport * from './enums/orderByDirection';\r\nexport * from './types/async';\r\nexport * from './types/combineStrings';\r\nexport * from './types/cssProperties';\r\nexport * from './types/dictionaries';\r\nexport * from './types/enums';\r\nexport * from './types/functions';\r\nexport * from './types/invalidatable';\r\nexport * from './types/mixinType';\r\nexport * from './types/mutable';\r\nexport * from './types/pageable';\r\nexport * from './types/pagedData';\r\nexport * from './types/propertyExpressions';\r\nexport * from './types/recursivePartial';\r\nexport * from './types/valueNamePair';\r\nexport * from './types/writable';\r\nexport * from './utils/common';\r\nexport * from './utils/lang';\r\nexport * from './utils/nameof';\r\nexport * from './decorators/bindThis.decorator';\r\nexport * from './decorators/callOnce.decorator';\r\nexport * from './decorators/debounceCall.decorator';\r\nexport * from './decorators/withSync.decorator';\r\nexport * from './decorators/property.decorator';\r\nexport * from './decorators/mixin.decorator';\r\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=mutable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mutable.js","sourceRoot":"","sources":["../../../src/types/mutable.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Returns a mutable type version of type.\n */\nexport type Mutable<T extends {[x: string]: unknown}, K extends string> = \n{\n [P in K]: T[P];\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"recursivePartial.js","sourceRoot":"","sources":["../../../src/types/recursivePartial.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Utility type that makes partial all nested properties\n */\nexport type RecursivePartial<T> = \n{\n [P in keyof T]?: T[P] extends (infer U)[] ?\n RecursivePartial<U>[] : \n T[P] extends object | undefined ?\n RecursivePartial<T[P]> :\n T[P];\n};"]}
1
+ {"version":3,"file":"recursivePartial.js","sourceRoot":"","sources":["../../../src/types/recursivePartial.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Utility type that makes partial all nested properties\n */\nexport type RecursivePartial<T> = \n{\n [P in keyof T]?: T[P] extends (infer U)[] \n ? RecursivePartial<U>[]\n : T[P] extends object | undefined \n ? RecursivePartial<T[P]> \n : T[P];\n};"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=writable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"writable.js","sourceRoot":"","sources":["../../../src/types/writable.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Returns a writable type version of type.\n */\nexport type Writable<T> = \n{\n -readonly [K in keyof T]: T[K];\n};\n"]}
@@ -19,11 +19,13 @@ export * from './types/enums';
19
19
  export * from './types/functions';
20
20
  export * from './types/invalidatable';
21
21
  export * from './types/mixinType';
22
+ export * from './types/mutable';
22
23
  export * from './types/pageable';
23
24
  export * from './types/pagedData';
24
25
  export * from './types/propertyExpressions';
25
26
  export * from './types/recursivePartial';
26
27
  export * from './types/valueNamePair';
28
+ export * from './types/writable';
27
29
  export * from './utils/common';
28
30
  export * from './utils/lang';
29
31
  export * from './utils/nameof';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,aAAa,CAAC;AACzC,OAAO,EAAC,OAAO,EAAC,MAAM,cAAc,CAAC;AAErC,YAAY,CAAC,MAAM,CAAC,EAAE;IAElB,IAAG,OAAO,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,EAC/B;QACI,MAAM,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC;KAC/B;AACL,CAAC,CAAC,CAAC;AAEH,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,qCAAqC,CAAC;AACpD,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC","sourcesContent":["import {globalDefine} from './jsDevMode';\r\nimport {isBlank} from './utils/lang';\r\n\r\nglobalDefine(global =>\r\n{\r\n if(isBlank(global['jsDevMode']))\r\n {\r\n global['jsDevMode'] = false;\r\n }\r\n});\r\n\r\nexport * from './jsDevMode';\r\nexport * from './encoder/encoder';\r\nexport * from './paginator/paginator';\r\nexport * from './normalizer/charMaps';\r\nexport * from './normalizer/normalizer';\r\nexport * from './enums/orderByDirection';\r\nexport * from './types/async';\r\nexport * from './types/combineStrings';\r\nexport * from './types/cssProperties';\r\nexport * from './types/dictionaries';\r\nexport * from './types/enums';\r\nexport * from './types/functions';\r\nexport * from './types/invalidatable';\r\nexport * from './types/mixinType';\r\nexport * from './types/pageable';\r\nexport * from './types/pagedData';\r\nexport * from './types/propertyExpressions';\r\nexport * from './types/recursivePartial';\r\nexport * from './types/valueNamePair';\r\nexport * from './utils/common';\r\nexport * from './utils/lang';\r\nexport * from './utils/nameof';\r\nexport * from './decorators/bindThis.decorator';\r\nexport * from './decorators/callOnce.decorator';\r\nexport * from './decorators/debounceCall.decorator';\r\nexport * from './decorators/withSync.decorator';\r\nexport * from './decorators/property.decorator';\r\nexport * from './decorators/mixin.decorator';\r\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,aAAa,CAAC;AACzC,OAAO,EAAC,OAAO,EAAC,MAAM,cAAc,CAAC;AAErC,YAAY,CAAC,MAAM,CAAC,EAAE;IAElB,IAAG,OAAO,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,EAC/B;QACI,MAAM,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC;KAC/B;AACL,CAAC,CAAC,CAAC;AAEH,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,qCAAqC,CAAC;AACpD,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC","sourcesContent":["import {globalDefine} from './jsDevMode';\r\nimport {isBlank} from './utils/lang';\r\n\r\nglobalDefine(global =>\r\n{\r\n if(isBlank(global['jsDevMode']))\r\n {\r\n global['jsDevMode'] = false;\r\n }\r\n});\r\n\r\nexport * from './jsDevMode';\r\nexport * from './encoder/encoder';\r\nexport * from './paginator/paginator';\r\nexport * from './normalizer/charMaps';\r\nexport * from './normalizer/normalizer';\r\nexport * from './enums/orderByDirection';\r\nexport * from './types/async';\r\nexport * from './types/combineStrings';\r\nexport * from './types/cssProperties';\r\nexport * from './types/dictionaries';\r\nexport * from './types/enums';\r\nexport * from './types/functions';\r\nexport * from './types/invalidatable';\r\nexport * from './types/mixinType';\r\nexport * from './types/mutable';\r\nexport * from './types/pageable';\r\nexport * from './types/pagedData';\r\nexport * from './types/propertyExpressions';\r\nexport * from './types/recursivePartial';\r\nexport * from './types/valueNamePair';\r\nexport * from './types/writable';\r\nexport * from './utils/common';\r\nexport * from './utils/lang';\r\nexport * from './utils/nameof';\r\nexport * from './decorators/bindThis.decorator';\r\nexport * from './decorators/callOnce.decorator';\r\nexport * from './decorators/debounceCall.decorator';\r\nexport * from './decorators/withSync.decorator';\r\nexport * from './decorators/property.decorator';\r\nexport * from './decorators/mixin.decorator';\r\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=mutable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mutable.js","sourceRoot":"","sources":["../../../src/types/mutable.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Returns a mutable type version of type.\n */\nexport type Mutable<T extends {[x: string]: unknown}, K extends string> = \n{\n [P in K]: T[P];\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"recursivePartial.js","sourceRoot":"","sources":["../../../src/types/recursivePartial.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Utility type that makes partial all nested properties\n */\nexport type RecursivePartial<T> = \n{\n [P in keyof T]?: T[P] extends (infer U)[] ?\n RecursivePartial<U>[] : \n T[P] extends object | undefined ?\n RecursivePartial<T[P]> :\n T[P];\n};"]}
1
+ {"version":3,"file":"recursivePartial.js","sourceRoot":"","sources":["../../../src/types/recursivePartial.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Utility type that makes partial all nested properties\n */\nexport type RecursivePartial<T> = \n{\n [P in keyof T]?: T[P] extends (infer U)[] \n ? RecursivePartial<U>[]\n : T[P] extends object | undefined \n ? RecursivePartial<T[P]> \n : T[P];\n};"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=writable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"writable.js","sourceRoot":"","sources":["../../../src/types/writable.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Returns a writable type version of type.\n */\nexport type Writable<T> = \n{\n -readonly [K in keyof T]: T[K];\n};\n"]}
package/es5/src/index.js CHANGED
@@ -19,11 +19,13 @@ export * from './types/enums';
19
19
  export * from './types/functions';
20
20
  export * from './types/invalidatable';
21
21
  export * from './types/mixinType';
22
+ export * from './types/mutable';
22
23
  export * from './types/pageable';
23
24
  export * from './types/pagedData';
24
25
  export * from './types/propertyExpressions';
25
26
  export * from './types/recursivePartial';
26
27
  export * from './types/valueNamePair';
28
+ export * from './types/writable';
27
29
  export * from './utils/common';
28
30
  export * from './utils/lang';
29
31
  export * from './utils/nameof';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,aAAa,CAAC;AACzC,OAAO,EAAC,OAAO,EAAC,MAAM,cAAc,CAAC;AAErC,YAAY,CAAC,UAAA,MAAM;IAEf,IAAG,OAAO,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,EAC/B;QACI,MAAM,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC;KAC/B;AACL,CAAC,CAAC,CAAC;AAEH,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,qCAAqC,CAAC;AACpD,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC","sourcesContent":["import {globalDefine} from './jsDevMode';\r\nimport {isBlank} from './utils/lang';\r\n\r\nglobalDefine(global =>\r\n{\r\n if(isBlank(global['jsDevMode']))\r\n {\r\n global['jsDevMode'] = false;\r\n }\r\n});\r\n\r\nexport * from './jsDevMode';\r\nexport * from './encoder/encoder';\r\nexport * from './paginator/paginator';\r\nexport * from './normalizer/charMaps';\r\nexport * from './normalizer/normalizer';\r\nexport * from './enums/orderByDirection';\r\nexport * from './types/async';\r\nexport * from './types/combineStrings';\r\nexport * from './types/cssProperties';\r\nexport * from './types/dictionaries';\r\nexport * from './types/enums';\r\nexport * from './types/functions';\r\nexport * from './types/invalidatable';\r\nexport * from './types/mixinType';\r\nexport * from './types/pageable';\r\nexport * from './types/pagedData';\r\nexport * from './types/propertyExpressions';\r\nexport * from './types/recursivePartial';\r\nexport * from './types/valueNamePair';\r\nexport * from './utils/common';\r\nexport * from './utils/lang';\r\nexport * from './utils/nameof';\r\nexport * from './decorators/bindThis.decorator';\r\nexport * from './decorators/callOnce.decorator';\r\nexport * from './decorators/debounceCall.decorator';\r\nexport * from './decorators/withSync.decorator';\r\nexport * from './decorators/property.decorator';\r\nexport * from './decorators/mixin.decorator';\r\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,aAAa,CAAC;AACzC,OAAO,EAAC,OAAO,EAAC,MAAM,cAAc,CAAC;AAErC,YAAY,CAAC,UAAA,MAAM;IAEf,IAAG,OAAO,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,EAC/B;QACI,MAAM,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC;KAC/B;AACL,CAAC,CAAC,CAAC;AAEH,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,qCAAqC,CAAC;AACpD,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC","sourcesContent":["import {globalDefine} from './jsDevMode';\r\nimport {isBlank} from './utils/lang';\r\n\r\nglobalDefine(global =>\r\n{\r\n if(isBlank(global['jsDevMode']))\r\n {\r\n global['jsDevMode'] = false;\r\n }\r\n});\r\n\r\nexport * from './jsDevMode';\r\nexport * from './encoder/encoder';\r\nexport * from './paginator/paginator';\r\nexport * from './normalizer/charMaps';\r\nexport * from './normalizer/normalizer';\r\nexport * from './enums/orderByDirection';\r\nexport * from './types/async';\r\nexport * from './types/combineStrings';\r\nexport * from './types/cssProperties';\r\nexport * from './types/dictionaries';\r\nexport * from './types/enums';\r\nexport * from './types/functions';\r\nexport * from './types/invalidatable';\r\nexport * from './types/mixinType';\r\nexport * from './types/mutable';\r\nexport * from './types/pageable';\r\nexport * from './types/pagedData';\r\nexport * from './types/propertyExpressions';\r\nexport * from './types/recursivePartial';\r\nexport * from './types/valueNamePair';\r\nexport * from './types/writable';\r\nexport * from './utils/common';\r\nexport * from './utils/lang';\r\nexport * from './utils/nameof';\r\nexport * from './decorators/bindThis.decorator';\r\nexport * from './decorators/callOnce.decorator';\r\nexport * from './decorators/debounceCall.decorator';\r\nexport * from './decorators/withSync.decorator';\r\nexport * from './decorators/property.decorator';\r\nexport * from './decorators/mixin.decorator';\r\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=mutable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mutable.js","sourceRoot":"","sources":["../../../src/types/mutable.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Returns a mutable type version of type.\n */\nexport type Mutable<T extends {[x: string]: unknown}, K extends string> = \n{\n [P in K]: T[P];\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"recursivePartial.js","sourceRoot":"","sources":["../../../src/types/recursivePartial.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Utility type that makes partial all nested properties\n */\nexport type RecursivePartial<T> = \n{\n [P in keyof T]?: T[P] extends (infer U)[] ?\n RecursivePartial<U>[] : \n T[P] extends object | undefined ?\n RecursivePartial<T[P]> :\n T[P];\n};"]}
1
+ {"version":3,"file":"recursivePartial.js","sourceRoot":"","sources":["../../../src/types/recursivePartial.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Utility type that makes partial all nested properties\n */\nexport type RecursivePartial<T> = \n{\n [P in keyof T]?: T[P] extends (infer U)[] \n ? RecursivePartial<U>[]\n : T[P] extends object | undefined \n ? RecursivePartial<T[P]> \n : T[P];\n};"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=writable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"writable.js","sourceRoot":"","sources":["../../../src/types/writable.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Returns a writable type version of type.\n */\nexport type Writable<T> = \n{\n -readonly [K in keyof T]: T[K];\n};\n"]}
@@ -22,11 +22,13 @@ tslib_1.__exportStar(require("./types/enums.cjs"), exports);
22
22
  tslib_1.__exportStar(require("./types/functions.cjs"), exports);
23
23
  tslib_1.__exportStar(require("./types/invalidatable.cjs"), exports);
24
24
  tslib_1.__exportStar(require("./types/mixinType.cjs"), exports);
25
+ tslib_1.__exportStar(require("./types/mutable.cjs"), exports);
25
26
  tslib_1.__exportStar(require("./types/pageable.cjs"), exports);
26
27
  tslib_1.__exportStar(require("./types/pagedData.cjs"), exports);
27
28
  tslib_1.__exportStar(require("./types/propertyExpressions.cjs"), exports);
28
29
  tslib_1.__exportStar(require("./types/recursivePartial.cjs"), exports);
29
30
  tslib_1.__exportStar(require("./types/valueNamePair.cjs"), exports);
31
+ tslib_1.__exportStar(require("./types/writable.cjs"), exports);
30
32
  tslib_1.__exportStar(require("./utils/common.cjs"), exports);
31
33
  tslib_1.__exportStar(require("./utils/lang.cjs"), exports);
32
34
  tslib_1.__exportStar(require("./utils/nameof.cjs"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA,2CAAyC;AACzC,uCAAqC;AAErC,IAAA,wBAAY,EAAC,MAAM,CAAC,EAAE;IAElB,IAAG,IAAA,cAAO,EAAC,MAAM,CAAC,WAAW,CAAC,CAAC,EAC/B;QACI,MAAM,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC;KAC/B;AACL,CAAC,CAAC,CAAC;AAEH,sDAA4B;AAC5B,4DAAkC;AAClC,gEAAsC;AACtC,gEAAsC;AACtC,kEAAwC;AACxC,mEAAyC;AACzC,wDAA8B;AAC9B,iEAAuC;AACvC,gEAAsC;AACtC,+DAAqC;AACrC,wDAA8B;AAC9B,4DAAkC;AAClC,gEAAsC;AACtC,4DAAkC;AAClC,2DAAiC;AACjC,4DAAkC;AAClC,sEAA4C;AAC5C,mEAAyC;AACzC,gEAAsC;AACtC,yDAA+B;AAC/B,uDAA6B;AAC7B,yDAA+B;AAC/B,0EAAgD;AAChD,0EAAgD;AAChD,8EAAoD;AACpD,0EAAgD;AAChD,0EAAgD;AAChD,uEAA6C","sourcesContent":["import {globalDefine} from './jsDevMode';\r\nimport {isBlank} from './utils/lang';\r\n\r\nglobalDefine(global =>\r\n{\r\n if(isBlank(global['jsDevMode']))\r\n {\r\n global['jsDevMode'] = false;\r\n }\r\n});\r\n\r\nexport * from './jsDevMode';\r\nexport * from './encoder/encoder';\r\nexport * from './paginator/paginator';\r\nexport * from './normalizer/charMaps';\r\nexport * from './normalizer/normalizer';\r\nexport * from './enums/orderByDirection';\r\nexport * from './types/async';\r\nexport * from './types/combineStrings';\r\nexport * from './types/cssProperties';\r\nexport * from './types/dictionaries';\r\nexport * from './types/enums';\r\nexport * from './types/functions';\r\nexport * from './types/invalidatable';\r\nexport * from './types/mixinType';\r\nexport * from './types/pageable';\r\nexport * from './types/pagedData';\r\nexport * from './types/propertyExpressions';\r\nexport * from './types/recursivePartial';\r\nexport * from './types/valueNamePair';\r\nexport * from './utils/common';\r\nexport * from './utils/lang';\r\nexport * from './utils/nameof';\r\nexport * from './decorators/bindThis.decorator';\r\nexport * from './decorators/callOnce.decorator';\r\nexport * from './decorators/debounceCall.decorator';\r\nexport * from './decorators/withSync.decorator';\r\nexport * from './decorators/property.decorator';\r\nexport * from './decorators/mixin.decorator';\r\n"]}
1
+ {"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA,2CAAyC;AACzC,uCAAqC;AAErC,IAAA,wBAAY,EAAC,MAAM,CAAC,EAAE;IAElB,IAAG,IAAA,cAAO,EAAC,MAAM,CAAC,WAAW,CAAC,CAAC,EAC/B;QACI,MAAM,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC;KAC/B;AACL,CAAC,CAAC,CAAC;AAEH,sDAA4B;AAC5B,4DAAkC;AAClC,gEAAsC;AACtC,gEAAsC;AACtC,kEAAwC;AACxC,mEAAyC;AACzC,wDAA8B;AAC9B,iEAAuC;AACvC,gEAAsC;AACtC,+DAAqC;AACrC,wDAA8B;AAC9B,4DAAkC;AAClC,gEAAsC;AACtC,4DAAkC;AAClC,0DAAgC;AAChC,2DAAiC;AACjC,4DAAkC;AAClC,sEAA4C;AAC5C,mEAAyC;AACzC,gEAAsC;AACtC,2DAAiC;AACjC,yDAA+B;AAC/B,uDAA6B;AAC7B,yDAA+B;AAC/B,0EAAgD;AAChD,0EAAgD;AAChD,8EAAoD;AACpD,0EAAgD;AAChD,0EAAgD;AAChD,uEAA6C","sourcesContent":["import {globalDefine} from './jsDevMode';\r\nimport {isBlank} from './utils/lang';\r\n\r\nglobalDefine(global =>\r\n{\r\n if(isBlank(global['jsDevMode']))\r\n {\r\n global['jsDevMode'] = false;\r\n }\r\n});\r\n\r\nexport * from './jsDevMode';\r\nexport * from './encoder/encoder';\r\nexport * from './paginator/paginator';\r\nexport * from './normalizer/charMaps';\r\nexport * from './normalizer/normalizer';\r\nexport * from './enums/orderByDirection';\r\nexport * from './types/async';\r\nexport * from './types/combineStrings';\r\nexport * from './types/cssProperties';\r\nexport * from './types/dictionaries';\r\nexport * from './types/enums';\r\nexport * from './types/functions';\r\nexport * from './types/invalidatable';\r\nexport * from './types/mixinType';\r\nexport * from './types/mutable';\r\nexport * from './types/pageable';\r\nexport * from './types/pagedData';\r\nexport * from './types/propertyExpressions';\r\nexport * from './types/recursivePartial';\r\nexport * from './types/valueNamePair';\r\nexport * from './types/writable';\r\nexport * from './utils/common';\r\nexport * from './utils/lang';\r\nexport * from './utils/nameof';\r\nexport * from './decorators/bindThis.decorator';\r\nexport * from './decorators/callOnce.decorator';\r\nexport * from './decorators/debounceCall.decorator';\r\nexport * from './decorators/withSync.decorator';\r\nexport * from './decorators/property.decorator';\r\nexport * from './decorators/mixin.decorator';\r\n"]}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=mutable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mutable.cjs","sourceRoot":"","sources":["../../../src/types/mutable.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Returns a mutable type version of type.\n */\nexport type Mutable<T extends {[x: string]: unknown}, K extends string> = \n{\n [P in K]: T[P];\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"recursivePartial.cjs","sourceRoot":"","sources":["../../../src/types/recursivePartial.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Utility type that makes partial all nested properties\n */\nexport type RecursivePartial<T> = \n{\n [P in keyof T]?: T[P] extends (infer U)[] ?\n RecursivePartial<U>[] : \n T[P] extends object | undefined ?\n RecursivePartial<T[P]> :\n T[P];\n};"]}
1
+ {"version":3,"file":"recursivePartial.cjs","sourceRoot":"","sources":["../../../src/types/recursivePartial.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Utility type that makes partial all nested properties\n */\nexport type RecursivePartial<T> = \n{\n [P in keyof T]?: T[P] extends (infer U)[] \n ? RecursivePartial<U>[]\n : T[P] extends object | undefined \n ? RecursivePartial<T[P]> \n : T[P];\n};"]}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=writable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"writable.cjs","sourceRoot":"","sources":["../../../src/types/writable.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Returns a writable type version of type.\n */\nexport type Writable<T> = \n{\n -readonly [K in keyof T]: T[K];\n};\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jscrpt/common",
3
- "version": "6.1.0",
3
+ "version": "6.2.0-beta.20240729122715",
4
4
  "description": "Common javascript tools, utilities and other usefull stuff",
5
5
  "type": "module",
6
6
  "sideEffects": [
package/src/index.d.ts CHANGED
@@ -12,11 +12,13 @@ export * from './types/enums';
12
12
  export * from './types/functions';
13
13
  export * from './types/invalidatable';
14
14
  export * from './types/mixinType';
15
+ export * from './types/mutable';
15
16
  export * from './types/pageable';
16
17
  export * from './types/pagedData';
17
18
  export * from './types/propertyExpressions';
18
19
  export * from './types/recursivePartial';
19
20
  export * from './types/valueNamePair';
21
+ export * from './types/writable';
20
22
  export * from './utils/common';
21
23
  export * from './utils/lang';
22
24
  export * from './utils/nameof';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAWA,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,qCAAqC,CAAC;AACpD,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAWA,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,qCAAqC,CAAC;AACpD,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Returns a mutable type version of type.
3
+ */
4
+ export type Mutable<T extends {
5
+ [x: string]: unknown;
6
+ }, K extends string> = {
7
+ [P in K]: T[P];
8
+ };
9
+ //# sourceMappingURL=mutable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mutable.d.ts","sourceRoot":"","sources":["mutable.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,OAAO,CAAC,CAAC,SAAS;IAAC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CAAC,EAAE,CAAC,SAAS,MAAM,IACtE;KACK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACjB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"recursivePartial.d.ts","sourceRoot":"","sources":["recursivePartial.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,gBAAgB,CAAC,CAAC,IAC9B;KACK,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,EAAE,GACrB,gBAAgB,CAAC,CAAC,CAAC,EAAE,GACrB,CAAC,CAAC,CAAC,CAAC,SAAS,MAAM,GAAG,SAAS,GAC3B,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GACtB,CAAC,CAAC,CAAC,CAAC;CAC/B,CAAC"}
1
+ {"version":3,"file":"recursivePartial.d.ts","sourceRoot":"","sources":["recursivePartial.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,gBAAgB,CAAC,CAAC,IAC9B;KACK,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,EAAE,GACnC,gBAAgB,CAAC,CAAC,CAAC,EAAE,GACrB,CAAC,CAAC,CAAC,CAAC,SAAS,MAAM,GAAG,SAAS,GAC3B,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GACtB,CAAC,CAAC,CAAC,CAAC;CACjB,CAAC"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Returns a writable type version of type.
3
+ */
4
+ export type Writable<T> = {
5
+ -readonly [K in keyof T]: T[K];
6
+ };
7
+ //# sourceMappingURL=writable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"writable.d.ts","sourceRoot":"","sources":["writable.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,QAAQ,CAAC,CAAC,IACtB;IACI,CAAC,UAAU,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACjC,CAAC"}
package/version.bak CHANGED
@@ -1 +1 @@
1
- 6.1.0
1
+ 6.2.0-beta.20240729122715