@jebgem/util 0.0.1

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 (158) hide show
  1. package/README.md +7 -0
  2. package/esm2022/index.js +51 -0
  3. package/esm2022/jebgem-util.js +5 -0
  4. package/esm2022/lib/chargebee/dev-types.js +221 -0
  5. package/esm2022/lib/chargebee/hosted-page-state.enum.js +11 -0
  6. package/esm2022/lib/chargebee/hosted-page-type.enum.js +17 -0
  7. package/esm2022/lib/chargebee/hosted-page.interface.js +2 -0
  8. package/esm2022/lib/chargebee/portal-session-status.enum.js +10 -0
  9. package/esm2022/lib/chargebee/portal-session.interface.js +2 -0
  10. package/esm2022/lib/chart/chart-theme.enum.js +81 -0
  11. package/esm2022/lib/constants/avatar.constants.js +4 -0
  12. package/esm2022/lib/constants/item-fields/account-item-fields.enum.js +6 -0
  13. package/esm2022/lib/constants/item-fields/item-fields.enum.js +6 -0
  14. package/esm2022/lib/constants/item-fields/recommendation-item-fields.enum.js +5 -0
  15. package/esm2022/lib/constants/item-fields/shop-item-fields.enum.js +11 -0
  16. package/esm2022/lib/constants/locale/locale.type.js +2 -0
  17. package/esm2022/lib/constants/timezone.constants.js +4 -0
  18. package/esm2022/lib/copy/clipboard-copy.service.js +16 -0
  19. package/esm2022/lib/dates/date-range-display.service.js +66 -0
  20. package/esm2022/lib/dates/utc-to-local.service.js +23 -0
  21. package/esm2022/lib/functions/dates/is-same-dayjs.function.js +11 -0
  22. package/esm2022/lib/functions/is-defined.function.js +2 -0
  23. package/esm2022/lib/functions/ng-changes.function.js +3 -0
  24. package/esm2022/lib/functions/param-to-enum.function.js +3 -0
  25. package/esm2022/lib/functions/string/safe-text-to-html.function.js +25 -0
  26. package/esm2022/lib/functions/string/snake-to-camel.function.js +6 -0
  27. package/esm2022/lib/functions/to-form-group.function.js +2 -0
  28. package/esm2022/lib/hover/demphasized.js +12 -0
  29. package/esm2022/lib/ion-definitions/color/ion-color.type.js +2 -0
  30. package/esm2022/lib/ion-definitions/ion-accordion/ion-accordion-group-event.interface.js +2 -0
  31. package/esm2022/lib/ion-definitions/ion-alert/ion-alert-constants.js +4 -0
  32. package/esm2022/lib/ion-definitions/ion-button/ion-button-constants.js +8 -0
  33. package/esm2022/lib/ion-definitions/ion-button/ion-button.interface.js +2 -0
  34. package/esm2022/lib/ion-definitions/ion-button/ion-result.interface.js +2 -0
  35. package/esm2022/lib/ion-definitions/ion-datetime/ion-datetime-event.interface.js +2 -0
  36. package/esm2022/lib/ion-definitions/ion-segment/ion-segment-event.interface.js +2 -0
  37. package/esm2022/lib/ion-definitions/label/ion-label-placement.type.js +2 -0
  38. package/esm2022/lib/ion-definitions/lines/ion-lines.type.js +2 -0
  39. package/esm2022/lib/ion-definitions/mode/ion-mode.type.js +2 -0
  40. package/esm2022/lib/ion-definitions/popover/ion-popover-alignment.type.js +2 -0
  41. package/esm2022/lib/ion-definitions/popover/ion-popover-side.type.js +2 -0
  42. package/esm2022/lib/numbers/compare-percentage.service.js +54 -0
  43. package/esm2022/lib/numbers/standard-deviation.service.js +52 -0
  44. package/esm2022/lib/photo/convert-photo.service.js +23 -0
  45. package/esm2022/lib/pipes/html-sanitize.pipe.js +22 -0
  46. package/esm2022/lib/storage/local-storage-keys.js +24 -0
  47. package/esm2022/lib/storage/local-storage.service.js +54 -0
  48. package/esm2022/lib/style/rounded-border.service.js +22 -0
  49. package/esm2022/lib/theme/ui-theme.enum.js +238 -0
  50. package/esm2022/lib/user/user-email-constants.js +13 -0
  51. package/esm2022/lib/user/user-is-emgapps.function.js +23 -0
  52. package/esm2022/lib/widths/breakpoint-width-constants.js +11 -0
  53. package/esm2022/lib/widths/width-constants.js +4 -0
  54. package/index.d.ts +51 -0
  55. package/index.d.ts.map +1 -0
  56. package/jebgem-util.d.ts +6 -0
  57. package/jebgem-util.d.ts.map +1 -0
  58. package/lib/chargebee/dev-types.d.ts +637 -0
  59. package/lib/chargebee/dev-types.d.ts.map +1 -0
  60. package/lib/chargebee/hosted-page-state.enum.d.ts +10 -0
  61. package/lib/chargebee/hosted-page-state.enum.d.ts.map +1 -0
  62. package/lib/chargebee/hosted-page-type.enum.d.ts +16 -0
  63. package/lib/chargebee/hosted-page-type.enum.d.ts.map +1 -0
  64. package/lib/chargebee/hosted-page.interface.d.ts +13 -0
  65. package/lib/chargebee/hosted-page.interface.d.ts.map +1 -0
  66. package/lib/chargebee/portal-session-status.enum.d.ts +9 -0
  67. package/lib/chargebee/portal-session-status.enum.d.ts.map +1 -0
  68. package/lib/chargebee/portal-session.interface.d.ts +11 -0
  69. package/lib/chargebee/portal-session.interface.d.ts.map +1 -0
  70. package/lib/chart/chart-theme.enum.d.ts +14 -0
  71. package/lib/chart/chart-theme.enum.d.ts.map +1 -0
  72. package/lib/constants/avatar.constants.d.ts +4 -0
  73. package/lib/constants/avatar.constants.d.ts.map +1 -0
  74. package/lib/constants/item-fields/account-item-fields.enum.d.ts +5 -0
  75. package/lib/constants/item-fields/account-item-fields.enum.d.ts.map +1 -0
  76. package/lib/constants/item-fields/item-fields.enum.d.ts +5 -0
  77. package/lib/constants/item-fields/item-fields.enum.d.ts.map +1 -0
  78. package/lib/constants/item-fields/recommendation-item-fields.enum.d.ts +4 -0
  79. package/lib/constants/item-fields/recommendation-item-fields.enum.d.ts.map +1 -0
  80. package/lib/constants/item-fields/shop-item-fields.enum.d.ts +10 -0
  81. package/lib/constants/item-fields/shop-item-fields.enum.d.ts.map +1 -0
  82. package/lib/constants/locale/locale.type.d.ts +2 -0
  83. package/lib/constants/locale/locale.type.d.ts.map +1 -0
  84. package/lib/constants/timezone.constants.d.ts +4 -0
  85. package/lib/constants/timezone.constants.d.ts.map +1 -0
  86. package/lib/copy/clipboard-copy.service.d.ts +7 -0
  87. package/lib/copy/clipboard-copy.service.d.ts.map +1 -0
  88. package/lib/dates/date-range-display.service.d.ts +12 -0
  89. package/lib/dates/date-range-display.service.d.ts.map +1 -0
  90. package/lib/dates/utc-to-local.service.d.ts +8 -0
  91. package/lib/dates/utc-to-local.service.d.ts.map +1 -0
  92. package/lib/functions/dates/is-same-dayjs.function.d.ts +4 -0
  93. package/lib/functions/dates/is-same-dayjs.function.d.ts.map +1 -0
  94. package/lib/functions/is-defined.function.d.ts +2 -0
  95. package/lib/functions/is-defined.function.d.ts.map +1 -0
  96. package/lib/functions/ng-changes.function.d.ts +15 -0
  97. package/lib/functions/ng-changes.function.d.ts.map +1 -0
  98. package/lib/functions/param-to-enum.function.d.ts +3 -0
  99. package/lib/functions/param-to-enum.function.d.ts.map +1 -0
  100. package/lib/functions/string/safe-text-to-html.function.d.ts +2 -0
  101. package/lib/functions/string/safe-text-to-html.function.d.ts.map +1 -0
  102. package/lib/functions/string/snake-to-camel.function.d.ts +5 -0
  103. package/lib/functions/string/snake-to-camel.function.d.ts.map +1 -0
  104. package/lib/functions/to-form-group.function.d.ts +6 -0
  105. package/lib/functions/to-form-group.function.d.ts.map +1 -0
  106. package/lib/hover/demphasized.d.ts +4 -0
  107. package/lib/hover/demphasized.d.ts.map +1 -0
  108. package/lib/ion-definitions/color/ion-color.type.d.ts +2 -0
  109. package/lib/ion-definitions/color/ion-color.type.d.ts.map +1 -0
  110. package/lib/ion-definitions/ion-accordion/ion-accordion-group-event.interface.d.ts +5 -0
  111. package/lib/ion-definitions/ion-accordion/ion-accordion-group-event.interface.d.ts.map +1 -0
  112. package/lib/ion-definitions/ion-alert/ion-alert-constants.d.ts +4 -0
  113. package/lib/ion-definitions/ion-alert/ion-alert-constants.d.ts.map +1 -0
  114. package/lib/ion-definitions/ion-button/ion-button-constants.d.ts +8 -0
  115. package/lib/ion-definitions/ion-button/ion-button-constants.d.ts.map +1 -0
  116. package/lib/ion-definitions/ion-button/ion-button.interface.d.ts +6 -0
  117. package/lib/ion-definitions/ion-button/ion-button.interface.d.ts.map +1 -0
  118. package/lib/ion-definitions/ion-button/ion-result.interface.d.ts +6 -0
  119. package/lib/ion-definitions/ion-button/ion-result.interface.d.ts.map +1 -0
  120. package/lib/ion-definitions/ion-datetime/ion-datetime-event.interface.d.ts +5 -0
  121. package/lib/ion-definitions/ion-datetime/ion-datetime-event.interface.d.ts.map +1 -0
  122. package/lib/ion-definitions/ion-segment/ion-segment-event.interface.d.ts +5 -0
  123. package/lib/ion-definitions/ion-segment/ion-segment-event.interface.d.ts.map +1 -0
  124. package/lib/ion-definitions/label/ion-label-placement.type.d.ts +2 -0
  125. package/lib/ion-definitions/label/ion-label-placement.type.d.ts.map +1 -0
  126. package/lib/ion-definitions/lines/ion-lines.type.d.ts +2 -0
  127. package/lib/ion-definitions/lines/ion-lines.type.d.ts.map +1 -0
  128. package/lib/ion-definitions/mode/ion-mode.type.d.ts +2 -0
  129. package/lib/ion-definitions/mode/ion-mode.type.d.ts.map +1 -0
  130. package/lib/ion-definitions/popover/ion-popover-alignment.type.d.ts +2 -0
  131. package/lib/ion-definitions/popover/ion-popover-alignment.type.d.ts.map +1 -0
  132. package/lib/ion-definitions/popover/ion-popover-side.type.d.ts +2 -0
  133. package/lib/ion-definitions/popover/ion-popover-side.type.d.ts.map +1 -0
  134. package/lib/numbers/compare-percentage.service.d.ts +13 -0
  135. package/lib/numbers/compare-percentage.service.d.ts.map +1 -0
  136. package/lib/numbers/standard-deviation.service.d.ts +9 -0
  137. package/lib/numbers/standard-deviation.service.d.ts.map +1 -0
  138. package/lib/photo/convert-photo.service.d.ts +7 -0
  139. package/lib/photo/convert-photo.service.d.ts.map +1 -0
  140. package/lib/pipes/html-sanitize.pipe.d.ts +10 -0
  141. package/lib/pipes/html-sanitize.pipe.d.ts.map +1 -0
  142. package/lib/storage/local-storage-keys.d.ts +24 -0
  143. package/lib/storage/local-storage-keys.d.ts.map +1 -0
  144. package/lib/storage/local-storage.service.d.ts +13 -0
  145. package/lib/storage/local-storage.service.d.ts.map +1 -0
  146. package/lib/style/rounded-border.service.d.ts +11 -0
  147. package/lib/style/rounded-border.service.d.ts.map +1 -0
  148. package/lib/theme/ui-theme.enum.d.ts +25 -0
  149. package/lib/theme/ui-theme.enum.d.ts.map +1 -0
  150. package/lib/user/user-email-constants.d.ts +13 -0
  151. package/lib/user/user-email-constants.d.ts.map +1 -0
  152. package/lib/user/user-is-emgapps.function.d.ts +4 -0
  153. package/lib/user/user-is-emgapps.function.d.ts.map +1 -0
  154. package/lib/widths/breakpoint-width-constants.d.ts +11 -0
  155. package/lib/widths/breakpoint-width-constants.d.ts.map +1 -0
  156. package/lib/widths/width-constants.d.ts +4 -0
  157. package/lib/widths/width-constants.d.ts.map +1 -0
  158. package/package.json +31 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ui-theme.enum.d.ts","sourceRoot":"","sources":["../../../../../../../libs/shared/util/src/lib/theme/ui-theme.enum.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,2BAA2B,CAAC;AAEzD,oBAAY,WAAW;IACrB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,WAAW,gBAAgB;IAC3B,gBAAgB,qBAAqB;IACrC,OAAO,YAAY;CACpB;AAED,qBAAa,eAAe;WACZ,WAAW,CACvB,OAAO,EAAE,WAAW,GACnB,MAAM;WA+BK,OAAO,CACnB,OAAO,EAAE,WAAW,GACnB,MAAM;WA+BK,SAAS,CACrB,OAAO,EAAE,WAAW,GACnB,MAAM;WA+BK,SAAS,CACrB,OAAO,EAAE,WAAW,GAAG,SAAS,GAC/B,MAAM;WA+BK,SAAS,CACrB,OAAO,EAAE,WAAW,GACnB,MAAM;WA8BK,mBAAmB,CAE/B,OAAO,EAAE,WAAW,EAEpB,KAAK,EAAE,cAAc,GACpB,MAAM;WAKK,eAAe,CAC3B,OAAO,EAAE,WAAW,GACnB,MAAM;WAUK,eAAe,CAC3B,OAAO,EAAE,WAAW,GACnB,MAAM;WASK,iBAAiB,CAC7B,OAAO,EAAE,WAAW,GACnB,MAAM;WAUK,oBAAoB,CAChC,OAAO,EAAE,WAAW,GACnB,MAAM,EAAE;WAqCG,eAAe,IAAI,MAAM,EAAE;CAU1C"}
@@ -0,0 +1,13 @@
1
+ export declare class UserEmailConstants {
2
+ static readonly ERIC_STEPHEN_MAAS_GMAIL: string;
3
+ static readonly JEREMYRGUNN_GMAIL: string;
4
+ static readonly JON_R_OLER_GMAIL: string;
5
+ static readonly JON_R_OLER_2_GMAIL: string;
6
+ static readonly BJORN_ESPENES_GMAIL: string;
7
+ static readonly EMGAPPS_AI: string;
8
+ static readonly SYMPHIQ_COM: string;
9
+ static readonly ERIC_EMGAPPS_AI: string;
10
+ static readonly ERIC_SYMPHIQ_COM: string;
11
+ static readonly JEREMY_EMGAPPS_AI: string;
12
+ }
13
+ //# sourceMappingURL=user-email-constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user-email-constants.d.ts","sourceRoot":"","sources":["../../../../../../../libs/shared/util/src/lib/user/user-email-constants.ts"],"names":[],"mappings":"AAAA,qBAAa,kBAAkB;IAC7B,gBAAuB,uBAAuB,EAAE,MAAM,CAAiC;IACvF,gBAAuB,iBAAiB,EAAE,MAAM,CAA2B;IAC3E,gBAAuB,gBAAgB,EAAE,MAAM,CAAwB;IACvE,gBAAuB,kBAAkB,EAAE,MAAM,CAA2B;IAC5E,gBAAuB,mBAAmB,EAAE,MAAM,CAA6B;IAC/E,gBAAuB,UAAU,EAAE,MAAM,CAAiB;IAC1D,gBAAuB,WAAW,EAAE,MAAM,CAAkB;IAC5D,gBAAuB,eAAe,EAAE,MAAM,CAAqB;IACnE,gBAAuB,gBAAgB,EAAE,MAAM,CAAsB;IACrE,gBAAuB,iBAAiB,EAAE,MAAM,CAAuB;CACxE"}
@@ -0,0 +1,4 @@
1
+ export declare const EMAIL_IS_EMG_APPS: (email: string | undefined) => boolean;
2
+ export declare const EMAIL_IS_EMG_APPS_CROSS_ACCOUNTS_ENABLED: (email: string | undefined) => boolean;
3
+ export declare const EMAIL_IS_DEV: (email: string | undefined) => boolean;
4
+ //# sourceMappingURL=user-is-emgapps.function.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user-is-emgapps.function.d.ts","sourceRoot":"","sources":["../../../../../../../libs/shared/util/src/lib/user/user-is-emgapps.function.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,GAAI,OAAO,MAAM,GAAG,SAAS,KAAG,OAU7D,CAAA;AACD,eAAO,MAAM,wCAAwC,GAAI,OAAO,MAAM,GAAG,SAAS,KAAG,OAGpF,CAAA;AACD,eAAO,MAAM,YAAY,GAAI,OAAO,MAAM,GAAG,SAAS,KAAG,OAOxD,CAAA"}
@@ -0,0 +1,11 @@
1
+ export declare class BreakpointWidthConstants {
2
+ static readonly PERSISTENT_SIDE_NAV_WIDTH: string;
3
+ static readonly NON_PERSISTENT_SIDE_NAV_WIDTH: string;
4
+ static readonly BOTTOM_TABS_WIDTH: string;
5
+ static readonly MEDIUM_VIEW_WIDTH: string;
6
+ static readonly MEDIUM_VIEW_MIN_SIDE_MENU_WIDTH: string;
7
+ static readonly MEDIUM_VIEW_NO_SIDE_MENU_WIDTH: string;
8
+ static readonly SMALL_VIEW_WIDTH: string;
9
+ static readonly MODAL_WIDTH: string;
10
+ }
11
+ //# sourceMappingURL=breakpoint-width-constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"breakpoint-width-constants.d.ts","sourceRoot":"","sources":["../../../../../../../libs/shared/util/src/lib/widths/breakpoint-width-constants.ts"],"names":[],"mappings":"AAAA,qBAAa,wBAAwB;IACnC,gBAAuB,yBAAyB,EAAE,MAAM,CAAyB;IACjF,gBAAuB,6BAA6B,EAAE,MAAM,CAAsB;IAClF,gBAAuB,iBAAiB,EAAE,MAAM,CAAyB;IACzE,gBAAuB,iBAAiB,EAAE,MAAM,CAAwB;IACxE,gBAAuB,+BAA+B,EAAE,MAAM,CAAwB;IACtF,gBAAuB,8BAA8B,EAAE,MAAM,CAAwB;IACrF,gBAAuB,gBAAgB,EAAE,MAAM,CAAuB;IACtE,gBAAuB,WAAW,EAAE,MAAM,CAAuB;CAClE"}
@@ -0,0 +1,4 @@
1
+ export declare class WidthConstants {
2
+ static readonly SMALL_MAX_WIDTH_CLASS: string;
3
+ }
4
+ //# sourceMappingURL=width-constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"width-constants.d.ts","sourceRoot":"","sources":["../../../../../../../libs/shared/util/src/lib/widths/width-constants.ts"],"names":[],"mappings":"AAAA,qBAAa,cAAc;IACzB,gBAAuB,qBAAqB,EAAE,MAAM,CAAM;CAC3D"}
package/package.json ADDED
@@ -0,0 +1,31 @@
1
+ {
2
+ "name": "@jebgem/util",
3
+ "version": "0.0.1",
4
+ "peerDependencies": {
5
+ "@angular/forms": "20.1.2",
6
+ "@angular/core": "20.1.2",
7
+ "@angular/platform-browser": "20.1.2",
8
+ "@angular/common": "20.1.2",
9
+ "dayjs": "^1.11.10",
10
+ "@ionic/angular": "^8.2.4",
11
+ "@amcharts/amcharts5": "^5.9.12"
12
+ },
13
+ "dependencies": {
14
+ "tslib": "^2.3.0"
15
+ },
16
+ "sideEffects": false,
17
+ "module": "esm2022/jebgem-util.js",
18
+ "typings": "jebgem-util.d.ts",
19
+ "exports": {
20
+ "./package.json": {
21
+ "default": "./package.json"
22
+ },
23
+ ".": {
24
+ "types": "./jebgem-util.d.ts",
25
+ "default": "./esm2022/jebgem-util.js"
26
+ }
27
+ },
28
+ "scripts": {
29
+ "prepublishOnly": "node --eval \"console.error('ERROR: Trying to publish a package that has been compiled in full compilation mode. This is not allowed.\\nPlease delete and rebuild the package with partial compilation mode, before attempting to publish.\\n')\" && exit 1"
30
+ }
31
+ }