intelica-library-ui 0.1.121 → 0.1.123
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.
|
@@ -234,10 +234,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImpor
|
|
|
234
234
|
}]
|
|
235
235
|
}] });
|
|
236
236
|
|
|
237
|
-
|
|
238
|
-
const
|
|
239
|
-
const
|
|
240
|
-
const CookieAttributesGeneral = { domain: domain, path: "/", secure: secure };
|
|
237
|
+
const Domain = window.location.hostname.split(".").slice(-2).join(".");
|
|
238
|
+
const Secure = !Domain.includes("localhost");
|
|
239
|
+
const CookieAttributesGeneral = { domain: Domain, path: "/", secure: Secure };
|
|
241
240
|
|
|
242
241
|
const Color = {
|
|
243
242
|
mastercard: "#ff7f00",
|
|
@@ -4144,6 +4143,15 @@ function EmailInputValidation(event) {
|
|
|
4144
4143
|
}
|
|
4145
4144
|
}
|
|
4146
4145
|
|
|
4146
|
+
function GetCookieAttributes(environment) {
|
|
4147
|
+
const domain = window.location.hostname
|
|
4148
|
+
.split(".")
|
|
4149
|
+
.slice(environment == "main" ? -2 : -3)
|
|
4150
|
+
.join(".");
|
|
4151
|
+
const secure = !domain.includes("localhost");
|
|
4152
|
+
return { domain: domain, path: "/", secure: secure };
|
|
4153
|
+
}
|
|
4154
|
+
|
|
4147
4155
|
const IntelicaTheme = definePreset(Aura, {
|
|
4148
4156
|
primitive: {
|
|
4149
4157
|
blue: {
|
|
@@ -6451,5 +6459,5 @@ const IntelicaTheme = definePreset(Aura, {
|
|
|
6451
6459
|
* Generated bundle index. Do not edit.
|
|
6452
6460
|
*/
|
|
6453
6461
|
|
|
6454
|
-
export { ActionDirective, ActionsMenuComponent, ButtonSplitComponent, Color, ColumnComponent, ColumnGroupComponent, CompareByField, ConfigService, CookieAttributesGeneral, DataDirective, DynamicInputValidation, EchartComponent, EchartService, EmailInputValidation, ErrorInterceptor, FeatureFlagService, FormatAmountPipe, GlobalFeatureFlagService, GlobalTermService, HtmlToExcelService, InitializeConfigService, InputValidation, IntelicaTheme, ItemSplitDirective, LanguageService, ModalDialogComponent, MultiSelectComponent, OrderConstants, PaginatorComponent, Patterns, PopoverComponent, ProfileService, RecordPerPageComponent, RefreshTokenInterceptor, RouteGuard, RowResumenComponent, SearchComponent, SharedService, SkeletonChartComponent, SkeletonComponent, SkeletonService, SkeletonTableComponent, SortingComponent, SpinnerComponent, SpinnerService, SweetAlertService, TableComponent, TemplateMenuComponent, TermGuard, TermPipe, TermService, TruncatePipe, decryptData, encryptData, getColor };
|
|
6462
|
+
export { ActionDirective, ActionsMenuComponent, ButtonSplitComponent, Color, ColumnComponent, ColumnGroupComponent, CompareByField, ConfigService, CookieAttributesGeneral, DataDirective, DynamicInputValidation, EchartComponent, EchartService, EmailInputValidation, ErrorInterceptor, FeatureFlagService, FormatAmountPipe, GetCookieAttributes, GlobalFeatureFlagService, GlobalTermService, HtmlToExcelService, InitializeConfigService, InputValidation, IntelicaTheme, ItemSplitDirective, LanguageService, ModalDialogComponent, MultiSelectComponent, OrderConstants, PaginatorComponent, Patterns, PopoverComponent, ProfileService, RecordPerPageComponent, RefreshTokenInterceptor, RouteGuard, RowResumenComponent, SearchComponent, SharedService, SkeletonChartComponent, SkeletonComponent, SkeletonService, SkeletonTableComponent, SortingComponent, SpinnerComponent, SpinnerService, SweetAlertService, TableComponent, TemplateMenuComponent, TermGuard, TermPipe, TermService, TruncatePipe, decryptData, encryptData, getColor };
|
|
6455
6463
|
//# sourceMappingURL=intelica-library-ui.mjs.map
|