Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release #7865

Merged
merged 18 commits into from
Jun 8, 2024
Merged

Release #7865

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import { TranslateService } from '@ngx-translate/core';
import { filter, tap } from 'rxjs/operators';
import { Store } from '@gauzy/ui-sdk/common';
import { ApprovalPolicyService } from '@gauzy/ui-sdk/core';
import { FormHelpers } from '../forms/helpers';
import { TranslationBaseComponent } from '@gauzy/ui-sdk/shared';
import { TranslationBaseComponent } from '@gauzy/ui-sdk/i18n';
import { ToastrService } from '@gauzy/ui-sdk/core';
import { FormHelpers } from '@gauzy/ui-sdk/shared';

@UntilDestroy({ checkProperties: true })
@Component({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { OnInit, Component, OnDestroy, ViewChild } from '@angular/core';
import { TranslationBaseComponent } from '@gauzy/ui-sdk/shared';
import { TranslationBaseComponent } from '@gauzy/ui-sdk/i18n';
import { UntypedFormGroup, UntypedFormBuilder, Validators, FormGroupDirective } from '@angular/forms';
import {
IRequestApproval,
Expand All @@ -20,7 +20,7 @@ import {
OrganizationTeamsService,
RequestApprovalService
} from '@gauzy/ui-sdk/core';
import { FormHelpers } from '../forms/helpers';
import { FormHelpers } from '@gauzy/ui-sdk/shared';

@UntilDestroy({ checkProperties: true })
@Component({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Component, OnDestroy, Input } from '@angular/core';
import { NbDialogRef } from '@nebular/theme';
import { TranslateService } from '@ngx-translate/core';
import { UntilDestroy } from '@ngneat/until-destroy';
import { TranslationBaseComponent } from '@gauzy/ui-sdk/shared';
import { TranslationBaseComponent } from '@gauzy/ui-sdk/i18n';
import { ToastrService } from '@gauzy/ui-sdk/core';
import { CandidateCriterionsRatingService, CandidateFeedbacksService } from '@gauzy/ui-sdk/core';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
CandidateTechnologiesService,
ToastrService
} from '@gauzy/ui-sdk/core';
import { TranslationBaseComponent } from '@gauzy/ui-sdk/shared';
import { TranslationBaseComponent } from '@gauzy/ui-sdk/i18n';

@UntilDestroy()
@Component({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Component, OnInit, Input, ViewChild } from '@angular/core';
import { NbDialogRef } from '@nebular/theme';
import { UntypedFormBuilder, Validators, FormArray } from '@angular/forms';
import { TranslateService } from '@ngx-translate/core';
import { TranslationBaseComponent } from '@gauzy/ui-sdk/shared';
import { TranslationBaseComponent } from '@gauzy/ui-sdk/i18n';
import {
CandidateStatusEnum,
ICandidateFeedback,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Component, OnInit, Input, OnDestroy } from '@angular/core';
import { NbDialogRef, NbDialogService } from '@nebular/theme';
import { ICandidateInterview, ICandidate, IOrganization } from '@gauzy/contracts';
import { TranslationBaseComponent } from '@gauzy/ui-sdk/shared';
import { TranslationBaseComponent } from '@gauzy/ui-sdk/i18n';
import {
CandidateInterviewService,
CandidateInterviewersService,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Component, Input } from '@angular/core';
import { UntilDestroy } from '@ngneat/until-destroy';
import { DateFormatPipe } from '../../pipes';
import { DateFormatPipe } from '@gauzy/ui-sdk/shared';

@UntilDestroy({ checkProperties: true })
@Component({
Expand Down Expand Up @@ -58,11 +58,7 @@ export class DateRangeTitleComponent {
* GET date range title
*/
get title() {
const start = this.dateFormatPipe.transform(
this.start,
null,
this.format
);
const start = this.dateFormatPipe.transform(this.start, null, this.format);
const end = this.dateFormatPipe.transform(this.end, null, this.format);
return [start, end].filter(Boolean).join(' - ');
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { NbDialogService } from '@nebular/theme';
import { Subject } from 'rxjs';
import { takeUntil, take, tap, filter } from 'rxjs/operators';

import { TranslationBaseComponent } from '@gauzy/ui-sdk/shared';
import { TranslationBaseComponent } from '@gauzy/ui-sdk/i18n';

export type ItemActionType = 'create' | 'edit' | 'delete';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { map, Observable, Subject } from 'rxjs';
import { debounceTime, filter, tap } from 'rxjs/operators';
import { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';
import { TranslateService } from '@ngx-translate/core';
import { TranslationBaseComponent } from '@gauzy/ui-sdk/shared';
import { TranslationBaseComponent } from '@gauzy/ui-sdk/i18n';
import { Store } from '@gauzy/ui-sdk/common';
import { ErrorHandlingService, ToastrService } from '@gauzy/ui-sdk/core';
import { OrganizationContactService } from '@gauzy/ui-sdk/core';
Expand Down
39 changes: 0 additions & 39 deletions apps/gauzy/src/app/@shared/country/country.component.html

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { GuiDrag, ILayoutPersistance, IPersistance } from '@gauzy/ui-sdk/shared';
import { GuiDrag, ILayoutPersistance, IPersistance } from '@gauzy/ui-sdk/common';
import { Persistance } from './persistance.class';

export class LayoutPersistance implements ILayoutPersistance {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { IPersistance } from '@gauzy/ui-sdk/shared';
import { IPersistance } from '@gauzy/ui-sdk/common';
import { LayoutPersistance } from './layout-persistance.class';

export class PersistanceTakers {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { GuiDrag, IPersistance } from '@gauzy/ui-sdk/shared';
import { GuiDrag, IPersistance } from '@gauzy/ui-sdk/common';

export class Persistance implements IPersistance {
private _state: Partial<GuiDrag>[];
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BackupStrategy, GuiDrag } from '@gauzy/ui-sdk/shared';
import { BackupStrategy, GuiDrag } from '@gauzy/ui-sdk/common';

export class LocalstorageStrategy implements BackupStrategy {
private _serializables: Partial<GuiDrag>[];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
} from '@angular/core';
import { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';
import { tap } from 'rxjs/operators';
import { GuiDrag, LayoutWithDraggableObject } from '@gauzy/ui-sdk/shared';
import { GuiDrag, LayoutWithDraggableObject } from '@gauzy/ui-sdk/common';
import { WidgetComponent } from '../widget/widget.component';
import { WidgetService } from '../widget/widget.service';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { NbPopoverDirective } from '@nebular/theme';
import { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';
import { Observable } from 'rxjs/internal/Observable';
import { filter, tap } from 'rxjs/operators';
import { GuiDrag } from '@gauzy/ui-sdk/shared';
import { GuiDrag } from '@gauzy/ui-sdk/common';
import { WidgetService } from './widget.service';

@UntilDestroy({ checkProperties: true })
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ import { Injectable, OnDestroy, TemplateRef } from '@angular/core';
import { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';
import { Subject } from 'rxjs/internal/Subject';
import { filter, tap } from 'rxjs/operators';
import { BackupStrategy, GuiDrag } from '@gauzy/ui-sdk/shared';
import { Store } from '@gauzy/ui-sdk/common';
import { BackupStrategy, GuiDrag, Store } from '@gauzy/ui-sdk/common';
import { LayoutPersistance } from '../concretes/contexts/layout-persistance.class';
import { PersistanceTakers } from '../concretes/contexts/persistance-takers.class';
import { LocalstorageStrategy } from '../concretes/strategies/localstorage-strategy.class';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
} from '@angular/core';
import { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';
import { tap } from 'rxjs/operators';
import { GuiDrag, LayoutWithDraggableObject } from '@gauzy/ui-sdk/shared';
import { GuiDrag, LayoutWithDraggableObject } from '@gauzy/ui-sdk/common';
import { WindowComponent } from '../window/window.component';
import { WindowService } from '../window/window.service';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { NbPopoverDirective } from '@nebular/theme';
import { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';
import { Observable } from 'rxjs/internal/Observable';
import { filter, tap } from 'rxjs/operators';
import { GuiDrag } from '@gauzy/ui-sdk/shared';
import { GuiDrag } from '@gauzy/ui-sdk/common';
import { WindowService } from './window.service';

@UntilDestroy({ checkProperties: true })
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ import { Injectable, OnDestroy, TemplateRef } from '@angular/core';
import { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';
import { Subject } from 'rxjs/internal/Subject';
import { filter, tap } from 'rxjs/operators';
import { BackupStrategy, GuiDrag } from '@gauzy/ui-sdk/shared';
import { Store } from '@gauzy/ui-sdk/common';
import { BackupStrategy, GuiDrag, Store } from '@gauzy/ui-sdk/common';
import { LayoutPersistance } from '../concretes/contexts/layout-persistance.class';
import { PersistanceTakers } from '../concretes/contexts/persistance-takers.class';
import { LocalstorageStrategy } from '../concretes/strategies/localstorage-strategy.class';
Expand Down

This file was deleted.

45 changes: 0 additions & 45 deletions apps/gauzy/src/app/@shared/directives/debounce-click.directive.ts

This file was deleted.

13 changes: 0 additions & 13 deletions apps/gauzy/src/app/@shared/directives/no-space-edges.directive.ts

This file was deleted.

26 changes: 0 additions & 26 deletions apps/gauzy/src/app/@shared/directives/outside.directive.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ import { IEmployee, ICandidate } from '@gauzy/contracts';
import { filter, tap } from 'rxjs/operators';
import { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';
import { LatLng } from 'leaflet';
import { LocationFormComponent } from '../../forms/location';
import { LeafletMapComponent } from '../../forms/maps';
import { Store } from '@gauzy/ui-sdk/common';
import { CandidateStore, EmployeeStore } from '@gauzy/ui-sdk/core';
import { LeafletMapComponent, LocationFormComponent } from '@gauzy/ui-sdk/shared';

@UntilDestroy({ checkProperties: true })
@Component({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@ import {
NbInputModule
} from '@nebular/theme';
import { I18nTranslateModule } from '@gauzy/ui-sdk/i18n';
import { CandidateStore, EmployeeStore } from '@gauzy/ui-sdk/core';
import { LocationFormModule, LeafletMapModule } from '@gauzy/ui-sdk/shared';
import { ThemeModule } from '../../../@theme/theme.module';
import { EmployeeLocationComponent } from './employee-location.component';
import { CandidateStore, EmployeeStore } from '@gauzy/ui-sdk/core';
import { LeafletMapModule } from '../../forms/maps/leaflet/leaflet.module';
import { LocationFormModule } from '../../forms/location';

@NgModule({
imports: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import {
} from '@nebular/theme';
import { I18nTranslateModule } from '@gauzy/ui-sdk/i18n';
import { CandidateStore, EmployeeStore } from '@gauzy/ui-sdk/core';
import { CurrencyModule } from '@gauzy/ui-sdk/shared';
import { ThemeModule } from '../../../@theme/theme.module';
import { SharedModule } from '../../shared.module';
import { EmployeeRatesComponent } from './employee-rates.component';
import { CurrencyModule } from '../../currency/currency.module';

@NgModule({
imports: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { Observable, EMPTY } from 'rxjs';
import { CKEditor4 } from 'ckeditor4-angular/ckeditor';
import { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';
import { ckEditorConfig } from '@gauzy/ui-sdk/shared';
import { TranslationBaseComponent } from '@gauzy/ui-sdk/shared';
import { TranslationBaseComponent } from '@gauzy/ui-sdk/i18n';
import {
EmployeeAwardService,
EmployeeLevelService,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ import {
} from '@nebular/theme';
import { NgSelectModule } from '@ng-select/ng-select';
import { CKEditorModule } from 'ckeditor4-angular';
import { I18nTranslateModule } from '@gauzy/ui-sdk/i18n';
import { CurrencyModule } from '@gauzy/ui-sdk/shared';
import { PublicPageEmployeeMutationComponent } from './public-page-employee-mutation.component';
import { SkillsInputModule } from '../../skills/skills-input/skills-input.module';
import { TagsColorInputModule } from '../../tags/tags-color-input/tags-color-input.module';
import { CurrencyModule } from '../../currency/currency.module';
import { I18nTranslateModule } from '@gauzy/ui-sdk/i18n';
import { LanguageSelectorModule } from '../../language/language-selector';
import { ThemeModule } from '../../../@theme/theme.module';
import { SharedModule } from '../../shared.module';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { OnInit, Component } from '@angular/core';
import { TranslationBaseComponent } from '@gauzy/ui-sdk/shared';
import { TranslationBaseComponent } from '@gauzy/ui-sdk/i18n';
import { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms';
import { IEquipmentSharingPolicy, IOrganization } from '@gauzy/contracts';
import { NbDialogRef } from '@nebular/theme';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { NbDialogRef } from '@nebular/theme';
import { Store, distinctUntilChange, isNotEmpty } from '@gauzy/ui-sdk/common';
import { filter } from 'rxjs/operators';
import { TranslateService } from '@ngx-translate/core';
import { TranslationBaseComponent } from '@gauzy/ui-sdk/shared';
import { TranslationBaseComponent } from '@gauzy/ui-sdk/i18n';
import {
EmployeesService,
EquipmentService,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { NbDialogRef, NbDialogService } from '@nebular/theme';
import { TranslateService } from '@ngx-translate/core';
import { Subject, firstValueFrom, filter, tap } from 'rxjs';
import { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';
import { TranslationBaseComponent } from '@gauzy/ui-sdk/shared';
import { TranslationBaseComponent } from '@gauzy/ui-sdk/i18n';
import { environment as ENV } from '@gauzy/ui-config';
import { ToastrService } from '@gauzy/ui-sdk/core';
import { Store } from '@gauzy/ui-sdk/common';
Expand Down
Loading
Loading