@linid-dm/directory-manager-client-core
Version:
Core package by providing a set of angular components for the Directory Manager app.
314 lines (313 loc) • 9.98 kB
TypeScript
/**
* Copyright (C) 2020-2024 Linagora
*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License as published by the Free
* Software Foundation, either version 3 of the License, or (at your option) any
* later version, provided you comply with the Additional Terms applicable for
* LinID Directory Manager software by LINAGORA pursuant to Section 7 of the GNU
* Affero General Public License, subsections (b), (c), and (e), pursuant to
* which these Appropriate Legal Notices must notably (i) retain the display of
* the "LinID™" trademark/logo at the top of the interface window, the display
* of the “You are using the Open Source and free version of LinID™, powered by
* Linagora © 2009–2013. Contribute to LinID R&D by subscribing to an Enterprise
* offer!” infobox and in the e-mails sent with the Program, notice appended to
* any type of outbound messages (e.g. e-mail and meeting requests) as well as
* in the LinID Directory Manager user interface, (ii) retain all hypertext
* links between LinID Directory Manager and https://linid.org/, as well as
* between LINAGORA and LINAGORA.com, and (iii) refrain from infringing LINAGORA
* intellectual property rights over its trademarks and commercial brands. Other
* Additional Terms apply, see <http://www.linagora.com/licenses/> for more
* details.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
* details.
*
* You should have received a copy of the GNU Affero General Public License and
* its applicable Additional Terms for LinID Directory Manager along with this
* program. If not, see <http://www.gnu.org/licenses/> for the GNU Affero
* General Public License version 3 and <http://www.linagora.com/licenses/> for
* the Additional Terms applicable to the LinID Directory Manager software.
*/
import { IData, IDataItem, IDataNode, IEntryIds } from '../../interfaces/data.interface';
import { IAdvancedSearchChip } from '../../interfaces/ui.interface';
export declare class SetSelectedResourceTypeId {
payload: {
id: string;
};
static readonly type = "[Data] Set selected LDAP type id";
constructor(payload: {
id: string;
});
}
export declare class ResetSelectedResourceTypeId {
static readonly type = "[Data] Reset selected LDAP type id";
}
export declare class SetSelectedEntryIds {
payload: {
ids: IEntryIds;
};
static readonly type = "[Data] Set selected LDAP element ids";
constructor(payload: {
ids: IEntryIds;
});
}
export declare class ResetSelectedEntryIds {
static readonly type = "[Data] Reset selected LDAP element ids";
}
export declare class SetSelectedEntryId {
payload: {
id: string;
};
static readonly type = "[Data] Set selected LDAP element id";
constructor(payload: {
id: string;
});
}
export declare class ResetSelectedEntryId {
static readonly type = "[Data] Reset selected LDAP element id";
}
export declare class SetSelectedEntryExternalId {
payload: {
externalId: string;
};
static readonly type = "[Data] Set selected LDAP element externalId";
constructor(payload: {
externalId: string;
});
}
export declare class ResetSelectedEntryExternalId {
static readonly type = "[Data] Reset selected LDAP element externalId";
}
export declare class SetSelectedEntryParentIds {
payload: {
ids: IEntryIds;
};
static readonly type = "[Data] Set selected LDAP parent element ids";
constructor(payload: {
ids: IEntryIds;
});
}
export declare class ResetSelectedEntryParentIds {
static readonly type = "[Data] Reset selected LDAP parent element ids";
}
export declare class SetSelectedEntryParentId {
payload: {
id: string;
};
static readonly type = "[Data] Set selected LDAP parent element id";
constructor(payload: {
id: string;
});
}
export declare class ResetSelectedEntryParentId {
static readonly type = "[Data] Reset selected LDAP parent element id";
}
export declare class SetSelectedEntryParentExternalId {
payload: {
externalId: string;
};
static readonly type = "[Data] Set selected LDAP parent element externalId";
constructor(payload: {
externalId: string;
});
}
export declare class ResetSelectedEntryParentExternalId {
static readonly type = "[Data] Reset selected LDAP parent element externalId";
}
export declare class SetRootIdSelectedResourceType {
payload: {
id: string;
};
static readonly type = "[Data] Set root id selected LDAP type";
constructor(payload: {
id: string;
});
}
export declare class ResetRootIdSelectedResourceType {
static readonly type = "[Data] Reset root id selected LDAP type";
}
export declare class InitDataJsTable {
payload: {
resourcesTypesIds: string[];
};
static readonly type = "[Data] Init data JsTable";
constructor(payload: {
resourcesTypesIds: string[];
});
}
export declare class ToggleFoldTreeNode {
payload: {
treeNodeId: string;
isFolding: boolean;
dataTypeId: string;
};
static readonly type = "[Data] Toggle fold tree node";
constructor(payload: {
treeNodeId: string;
isFolding: boolean;
dataTypeId: string;
});
}
export declare class SetFilterValue {
payload: {
filterValue: string;
dataTypeId: string;
};
static readonly type = "[Data] Set filter value";
constructor(payload: {
filterValue: string;
dataTypeId: string;
});
}
export declare class SetSearchFormValue {
payload: {
searchForm: string;
dataTypeId: string;
};
static readonly type = "[Data] Set search form value";
constructor(payload: {
searchForm: string;
dataTypeId: string;
});
}
export declare class ResetSearchFormValue {
payload: {
dataTypeId: string;
};
static readonly type = "[Data] Reset search form value";
constructor(payload: {
dataTypeId: string;
});
}
export declare class SetAdvancedSearchChips {
payload: {
advancedSearchChips: IAdvancedSearchChip[];
dataTypeId: string;
};
static readonly type = "[Data] Set advanced search chips";
constructor(payload: {
advancedSearchChips: IAdvancedSearchChip[];
dataTypeId: string;
});
}
export declare class RemoveAdvancedSearchChip {
payload: {
modelRef: string;
dataTypeId: string;
};
static readonly type = "[Data] Remove advanced search chip";
constructor(payload: {
modelRef: string;
dataTypeId: string;
});
}
export declare class ResetAdvancedSearchChips {
payload: {
dataTypeId: string;
};
static readonly type = "[Data] Reset advanced search chips";
constructor(payload: {
dataTypeId: string;
});
}
export declare class FetchResources {
payload: {
resourceTypeId: string;
isRedirectingToDetail: boolean;
};
static readonly type = "[Data] Fetch resources";
constructor(payload: {
resourceTypeId: string;
isRedirectingToDetail: boolean;
});
}
export declare class StopFilteringResources {
static readonly type = "[Data] Stop Filtering resources";
constructor();
}
export declare class FilterResources {
payload: {
actionOnSuccess: any;
filterPayload: string | IAdvancedSearchChip[];
};
static readonly type = "[Data] Filter resources";
constructor(payload: {
actionOnSuccess: any;
filterPayload: string | IAdvancedSearchChip[];
});
}
export declare class FetchResourcesSuccess {
payload: {
resources: IData | IDataNode[] | IDataItem[];
entriesIdsMatchingAdvancedSearch: {
[id: string]: true;
};
};
static readonly type = "[Data] Fetch resources success";
constructor(payload: {
resources: IData | IDataNode[] | IDataItem[];
entriesIdsMatchingAdvancedSearch: {
[id: string]: true;
};
});
}
export declare class FetchResourcesError {
static readonly type = "[Data] Fetch resources error";
}
export declare class SetResources {
payload: {
resources: IData | IDataNode[] | IDataItem[];
};
static readonly type = "[Data] Set resources";
constructor(payload: {
resources: IData | IDataNode[] | IDataItem[];
});
}
export declare class ResetResources {
static readonly type = "[Data] Reset resources";
}
export declare class FetchDataDetail {
static readonly type = "[Data] Fetch data detail";
payload: {
resourceTypeId: string;
};
}
export declare class FetchDataDetailSuccess {
static readonly type = "[Data] Fetch data detail success";
}
export declare class FetchDataDetailError {
static readonly type = "[Data] Fetch data detail error";
}
export declare class SetDataDetail {
payload: {
dataDetail: any;
};
static readonly type = "[Data] Set data detail";
constructor(payload: {
dataDetail: any;
});
}
export declare class ResetDataDetail {
static readonly type = "[Data] Reset data detail";
}
export declare class AddEntryIdMatchingAdvancedSearch {
payload: {
entryId: string;
};
static readonly type = "[Data] Add entry id matching advanced search";
constructor(payload: {
entryId: string;
});
}
export declare class RemoveEntriesIdsMatchingAdvancedSearch {
payload: {
entriesIds: string[];
};
static readonly type = "[Data] Remove entries ids matching advanced search";
constructor(payload: {
entriesIds: string[];
});
}