@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.
- package/README.md +7 -0
- package/esm2022/index.js +51 -0
- package/esm2022/jebgem-util.js +5 -0
- package/esm2022/lib/chargebee/dev-types.js +221 -0
- package/esm2022/lib/chargebee/hosted-page-state.enum.js +11 -0
- package/esm2022/lib/chargebee/hosted-page-type.enum.js +17 -0
- package/esm2022/lib/chargebee/hosted-page.interface.js +2 -0
- package/esm2022/lib/chargebee/portal-session-status.enum.js +10 -0
- package/esm2022/lib/chargebee/portal-session.interface.js +2 -0
- package/esm2022/lib/chart/chart-theme.enum.js +81 -0
- package/esm2022/lib/constants/avatar.constants.js +4 -0
- package/esm2022/lib/constants/item-fields/account-item-fields.enum.js +6 -0
- package/esm2022/lib/constants/item-fields/item-fields.enum.js +6 -0
- package/esm2022/lib/constants/item-fields/recommendation-item-fields.enum.js +5 -0
- package/esm2022/lib/constants/item-fields/shop-item-fields.enum.js +11 -0
- package/esm2022/lib/constants/locale/locale.type.js +2 -0
- package/esm2022/lib/constants/timezone.constants.js +4 -0
- package/esm2022/lib/copy/clipboard-copy.service.js +16 -0
- package/esm2022/lib/dates/date-range-display.service.js +66 -0
- package/esm2022/lib/dates/utc-to-local.service.js +23 -0
- package/esm2022/lib/functions/dates/is-same-dayjs.function.js +11 -0
- package/esm2022/lib/functions/is-defined.function.js +2 -0
- package/esm2022/lib/functions/ng-changes.function.js +3 -0
- package/esm2022/lib/functions/param-to-enum.function.js +3 -0
- package/esm2022/lib/functions/string/safe-text-to-html.function.js +25 -0
- package/esm2022/lib/functions/string/snake-to-camel.function.js +6 -0
- package/esm2022/lib/functions/to-form-group.function.js +2 -0
- package/esm2022/lib/hover/demphasized.js +12 -0
- package/esm2022/lib/ion-definitions/color/ion-color.type.js +2 -0
- package/esm2022/lib/ion-definitions/ion-accordion/ion-accordion-group-event.interface.js +2 -0
- package/esm2022/lib/ion-definitions/ion-alert/ion-alert-constants.js +4 -0
- package/esm2022/lib/ion-definitions/ion-button/ion-button-constants.js +8 -0
- package/esm2022/lib/ion-definitions/ion-button/ion-button.interface.js +2 -0
- package/esm2022/lib/ion-definitions/ion-button/ion-result.interface.js +2 -0
- package/esm2022/lib/ion-definitions/ion-datetime/ion-datetime-event.interface.js +2 -0
- package/esm2022/lib/ion-definitions/ion-segment/ion-segment-event.interface.js +2 -0
- package/esm2022/lib/ion-definitions/label/ion-label-placement.type.js +2 -0
- package/esm2022/lib/ion-definitions/lines/ion-lines.type.js +2 -0
- package/esm2022/lib/ion-definitions/mode/ion-mode.type.js +2 -0
- package/esm2022/lib/ion-definitions/popover/ion-popover-alignment.type.js +2 -0
- package/esm2022/lib/ion-definitions/popover/ion-popover-side.type.js +2 -0
- package/esm2022/lib/numbers/compare-percentage.service.js +54 -0
- package/esm2022/lib/numbers/standard-deviation.service.js +52 -0
- package/esm2022/lib/photo/convert-photo.service.js +23 -0
- package/esm2022/lib/pipes/html-sanitize.pipe.js +22 -0
- package/esm2022/lib/storage/local-storage-keys.js +24 -0
- package/esm2022/lib/storage/local-storage.service.js +54 -0
- package/esm2022/lib/style/rounded-border.service.js +22 -0
- package/esm2022/lib/theme/ui-theme.enum.js +238 -0
- package/esm2022/lib/user/user-email-constants.js +13 -0
- package/esm2022/lib/user/user-is-emgapps.function.js +23 -0
- package/esm2022/lib/widths/breakpoint-width-constants.js +11 -0
- package/esm2022/lib/widths/width-constants.js +4 -0
- package/index.d.ts +51 -0
- package/index.d.ts.map +1 -0
- package/jebgem-util.d.ts +6 -0
- package/jebgem-util.d.ts.map +1 -0
- package/lib/chargebee/dev-types.d.ts +637 -0
- package/lib/chargebee/dev-types.d.ts.map +1 -0
- package/lib/chargebee/hosted-page-state.enum.d.ts +10 -0
- package/lib/chargebee/hosted-page-state.enum.d.ts.map +1 -0
- package/lib/chargebee/hosted-page-type.enum.d.ts +16 -0
- package/lib/chargebee/hosted-page-type.enum.d.ts.map +1 -0
- package/lib/chargebee/hosted-page.interface.d.ts +13 -0
- package/lib/chargebee/hosted-page.interface.d.ts.map +1 -0
- package/lib/chargebee/portal-session-status.enum.d.ts +9 -0
- package/lib/chargebee/portal-session-status.enum.d.ts.map +1 -0
- package/lib/chargebee/portal-session.interface.d.ts +11 -0
- package/lib/chargebee/portal-session.interface.d.ts.map +1 -0
- package/lib/chart/chart-theme.enum.d.ts +14 -0
- package/lib/chart/chart-theme.enum.d.ts.map +1 -0
- package/lib/constants/avatar.constants.d.ts +4 -0
- package/lib/constants/avatar.constants.d.ts.map +1 -0
- package/lib/constants/item-fields/account-item-fields.enum.d.ts +5 -0
- package/lib/constants/item-fields/account-item-fields.enum.d.ts.map +1 -0
- package/lib/constants/item-fields/item-fields.enum.d.ts +5 -0
- package/lib/constants/item-fields/item-fields.enum.d.ts.map +1 -0
- package/lib/constants/item-fields/recommendation-item-fields.enum.d.ts +4 -0
- package/lib/constants/item-fields/recommendation-item-fields.enum.d.ts.map +1 -0
- package/lib/constants/item-fields/shop-item-fields.enum.d.ts +10 -0
- package/lib/constants/item-fields/shop-item-fields.enum.d.ts.map +1 -0
- package/lib/constants/locale/locale.type.d.ts +2 -0
- package/lib/constants/locale/locale.type.d.ts.map +1 -0
- package/lib/constants/timezone.constants.d.ts +4 -0
- package/lib/constants/timezone.constants.d.ts.map +1 -0
- package/lib/copy/clipboard-copy.service.d.ts +7 -0
- package/lib/copy/clipboard-copy.service.d.ts.map +1 -0
- package/lib/dates/date-range-display.service.d.ts +12 -0
- package/lib/dates/date-range-display.service.d.ts.map +1 -0
- package/lib/dates/utc-to-local.service.d.ts +8 -0
- package/lib/dates/utc-to-local.service.d.ts.map +1 -0
- package/lib/functions/dates/is-same-dayjs.function.d.ts +4 -0
- package/lib/functions/dates/is-same-dayjs.function.d.ts.map +1 -0
- package/lib/functions/is-defined.function.d.ts +2 -0
- package/lib/functions/is-defined.function.d.ts.map +1 -0
- package/lib/functions/ng-changes.function.d.ts +15 -0
- package/lib/functions/ng-changes.function.d.ts.map +1 -0
- package/lib/functions/param-to-enum.function.d.ts +3 -0
- package/lib/functions/param-to-enum.function.d.ts.map +1 -0
- package/lib/functions/string/safe-text-to-html.function.d.ts +2 -0
- package/lib/functions/string/safe-text-to-html.function.d.ts.map +1 -0
- package/lib/functions/string/snake-to-camel.function.d.ts +5 -0
- package/lib/functions/string/snake-to-camel.function.d.ts.map +1 -0
- package/lib/functions/to-form-group.function.d.ts +6 -0
- package/lib/functions/to-form-group.function.d.ts.map +1 -0
- package/lib/hover/demphasized.d.ts +4 -0
- package/lib/hover/demphasized.d.ts.map +1 -0
- package/lib/ion-definitions/color/ion-color.type.d.ts +2 -0
- package/lib/ion-definitions/color/ion-color.type.d.ts.map +1 -0
- package/lib/ion-definitions/ion-accordion/ion-accordion-group-event.interface.d.ts +5 -0
- package/lib/ion-definitions/ion-accordion/ion-accordion-group-event.interface.d.ts.map +1 -0
- package/lib/ion-definitions/ion-alert/ion-alert-constants.d.ts +4 -0
- package/lib/ion-definitions/ion-alert/ion-alert-constants.d.ts.map +1 -0
- package/lib/ion-definitions/ion-button/ion-button-constants.d.ts +8 -0
- package/lib/ion-definitions/ion-button/ion-button-constants.d.ts.map +1 -0
- package/lib/ion-definitions/ion-button/ion-button.interface.d.ts +6 -0
- package/lib/ion-definitions/ion-button/ion-button.interface.d.ts.map +1 -0
- package/lib/ion-definitions/ion-button/ion-result.interface.d.ts +6 -0
- package/lib/ion-definitions/ion-button/ion-result.interface.d.ts.map +1 -0
- package/lib/ion-definitions/ion-datetime/ion-datetime-event.interface.d.ts +5 -0
- package/lib/ion-definitions/ion-datetime/ion-datetime-event.interface.d.ts.map +1 -0
- package/lib/ion-definitions/ion-segment/ion-segment-event.interface.d.ts +5 -0
- package/lib/ion-definitions/ion-segment/ion-segment-event.interface.d.ts.map +1 -0
- package/lib/ion-definitions/label/ion-label-placement.type.d.ts +2 -0
- package/lib/ion-definitions/label/ion-label-placement.type.d.ts.map +1 -0
- package/lib/ion-definitions/lines/ion-lines.type.d.ts +2 -0
- package/lib/ion-definitions/lines/ion-lines.type.d.ts.map +1 -0
- package/lib/ion-definitions/mode/ion-mode.type.d.ts +2 -0
- package/lib/ion-definitions/mode/ion-mode.type.d.ts.map +1 -0
- package/lib/ion-definitions/popover/ion-popover-alignment.type.d.ts +2 -0
- package/lib/ion-definitions/popover/ion-popover-alignment.type.d.ts.map +1 -0
- package/lib/ion-definitions/popover/ion-popover-side.type.d.ts +2 -0
- package/lib/ion-definitions/popover/ion-popover-side.type.d.ts.map +1 -0
- package/lib/numbers/compare-percentage.service.d.ts +13 -0
- package/lib/numbers/compare-percentage.service.d.ts.map +1 -0
- package/lib/numbers/standard-deviation.service.d.ts +9 -0
- package/lib/numbers/standard-deviation.service.d.ts.map +1 -0
- package/lib/photo/convert-photo.service.d.ts +7 -0
- package/lib/photo/convert-photo.service.d.ts.map +1 -0
- package/lib/pipes/html-sanitize.pipe.d.ts +10 -0
- package/lib/pipes/html-sanitize.pipe.d.ts.map +1 -0
- package/lib/storage/local-storage-keys.d.ts +24 -0
- package/lib/storage/local-storage-keys.d.ts.map +1 -0
- package/lib/storage/local-storage.service.d.ts +13 -0
- package/lib/storage/local-storage.service.d.ts.map +1 -0
- package/lib/style/rounded-border.service.d.ts +11 -0
- package/lib/style/rounded-border.service.d.ts.map +1 -0
- package/lib/theme/ui-theme.enum.d.ts +25 -0
- package/lib/theme/ui-theme.enum.d.ts.map +1 -0
- package/lib/user/user-email-constants.d.ts +13 -0
- package/lib/user/user-email-constants.d.ts.map +1 -0
- package/lib/user/user-is-emgapps.function.d.ts +4 -0
- package/lib/user/user-is-emgapps.function.d.ts.map +1 -0
- package/lib/widths/breakpoint-width-constants.d.ts +11 -0
- package/lib/widths/breakpoint-width-constants.d.ts.map +1 -0
- package/lib/widths/width-constants.d.ts +4 -0
- package/lib/widths/width-constants.d.ts.map +1 -0
- 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 @@
|
|
|
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
|
+
}
|