Fixed naming
This commit is contained in:
parent
2ed0e306e5
commit
aab59fd243
@ -1,11 +1,9 @@
|
|||||||
import { ICreateBreadCrumb } from './components/create-element/create-element.interface';
|
|
||||||
import {
|
import {
|
||||||
CreateBreadCrumb,
|
createBreadCrumb,
|
||||||
createNativeSelect,
|
createNativeSelect,
|
||||||
createNativeSelectOption,
|
createNativeSelectOption,
|
||||||
} from './components/create-element/create-elementTs';
|
} from './components/create-element/create-elementTs';
|
||||||
|
import { ICreateBreadCrumb } from './components/create-element/create-element.interface';
|
||||||
import { IDataItem, ITextSelect } from './components/utils/urils.interface';
|
|
||||||
|
|
||||||
import {
|
import {
|
||||||
createSelected,
|
createSelected,
|
||||||
@ -14,9 +12,11 @@ import {
|
|||||||
nativeOptionMultiple,
|
nativeOptionMultiple,
|
||||||
nativeOptionOrdinary,
|
nativeOptionOrdinary,
|
||||||
} from './components/utils/utilsTs';
|
} from './components/utils/utilsTs';
|
||||||
|
import { IDataItem, ITextSelect } from './components/utils/urils.interface';
|
||||||
|
|
||||||
import { ICgSelect } from './interfaces/cg-select.interface';
|
import { ICgSelect } from './interfaces/cg-select.interface';
|
||||||
import { IItems } from './interfaces/items.interface';
|
import { IItems } from './interfaces/items.interface';
|
||||||
|
|
||||||
import './main.scss';
|
import './main.scss';
|
||||||
|
|
||||||
export class CGSelect implements ICgSelect {
|
export class CGSelect implements ICgSelect {
|
||||||
@ -337,7 +337,7 @@ export class CGSelect implements ICgSelect {
|
|||||||
this.selectedItems.push(item.title);
|
this.selectedItems.push(item.title);
|
||||||
select!.appendChild(ulMultipul);
|
select!.appendChild(ulMultipul);
|
||||||
ulMultipul.appendChild(
|
ulMultipul.appendChild(
|
||||||
CreateBreadCrumb(dataBreadCrumb, item.title, index, item.id),
|
createBreadCrumb(dataBreadCrumb, item.title, index, item.id),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
@ -32,7 +32,7 @@ export function createNativeSelectOption(): HTMLOptionElement {
|
|||||||
* @param {string} id уникальное id выбранного элемента
|
* @param {string} id уникальное id выбранного элемента
|
||||||
* @returns {HTMLElement} возвращает сформированный HTMLElement chips item
|
* @returns {HTMLElement} возвращает сформированный HTMLElement chips item
|
||||||
*/
|
*/
|
||||||
export function CreateBreadCrumb(
|
export function createBreadCrumb(
|
||||||
data: ICreateBreadCrumb,
|
data: ICreateBreadCrumb,
|
||||||
title: string,
|
title: string,
|
||||||
index: number,
|
index: number,
|
||||||
|
Loading…
Reference in New Issue
Block a user