Hello, I'm having problems with the components
of KTUI, it all started with the KTToast, wanting to import it
import {KTToast} from "@keenthemes/ktui/src";
// Tambien encuentra estas rutas para importar pero ninguna funciona
// import { KTToast } from "@keenthemes/ktui/src/components/toast";
// import { KTToast } from "@keenthemes/ktui/src/components/toast/toast";
KTToast.show({
message: "This is a basic toast!",
});
â [ERROR] TS4111: Property 'popper' comes from an index signature, so it must be accessed with ['popper']. [plugin angular-compiler]
node_modules/@keenthemes/ktui/src/components/select/dropdown.ts:268:20:
268 â state.styles.popper.width = `${state.rects.referenc...
âµ ~~~~~~
â [ERROR] TS4111: Property 'value' comes from an index signature, so it must be accessed with ['value']. [plugin angular-compiler]
node_modules/@keenthemes/ktui/src/components/select/select.ts:1514:47:
1514 â const selectedValue = focusedOption.dataset.value;
âµ ~~~~~
â [ERROR] TS4111: Property 'value' comes from an index signature, so it must be accessed with ['value']. [plugin angular-compiler]
node_modules/@keenthemes/ktui/src/components/select/select.ts:1578:44:
1578 â const optionValue = clickedOption.dataset.value;
âµ ~~~~~
â [ERROR] TS4111: Property 'value' comes from an index signature, so it must be accessed with ['value']. [plugin angular-compiler]
node_modules/@keenthemes/ktui/src/components/select/select.ts:2547:42:
2547 â const val = focusedOptionEl.dataset.value;
âµ ~~~~~
â [ERROR] TS4111: Property 'value' comes from an index signature, so it must be accessed with ['value']. [plugin angular-compiler]
node_modules/@keenthemes/ktui/src/components/select/select.ts:2723:24:
2723 â (opt) => opt.dataset.value as string,
âµ ~~~~~
â [ERROR] TS4111: Property 'value' comes from an index signature, so it must be accessed with ['value']. [plugin angular-compiler]
node_modules/@keenthemes/ktui/src/components/select/select.ts:2727:34:
2727 â selectedValues.has(opt.dataset.value as string),
âµ ~~~~~
â [ERROR] TS4111: Property 'value' comes from an index signature, so it must be accessed with ['value']. [plugin angular-compiler]
node_modules/@keenthemes/ktui/src/components/select/select.ts:2769:34:
2769 â selectedValues.has(opt.dataset.value as string),
âµ ~~~~~
â [ERROR] TS4111: Property 'value' comes from an index signature, so it must be accessed with ['value']. [plugin angular-compiler]
node_modules/@keenthemes/ktui/src/components/select/tags.ts:58:37:
58 â if ((opt as HTMLElement).dataset.value === optionValue) {
âµ ~~~~~
â [ERROR] TS4111: Property 'text' comes from an index signature, so it must be accessed with ['text']. [plugin angular-compiler]
node_modules/@keenthemes/ktui/src/components/select/templates.ts:291:28:
291 â let content = optionData?.text?.trim(); // Default content to...
âµ ~~~~
â [ERROR] TS4111: Property 'text' comes from an index signature, so it must be accessed with ['text']. [plugin angular-compiler]
node_modules/@keenthemes/ktui/src/components/select/templates.ts:298:24:
298 â content = optionData.text || optionData.content; // Prefer ...
âµ ~~~~
â [ERROR] TS4111: Property 'content' comes from an index signature, so it must be accessed with ['content']. [plugin angular-compiler]
node_modules/@keenthemes/ktui/src/components/select/templates.ts:298:43:
298 â ...tionData.text || optionData.content; // Prefer explicit text, ...
âµ ~~~~~~~
â [ERROR] TS4111: Property 'disabled' comes from an index signature, so it must be accessed with ['disabled']. [plugin angular-compiler]
node_modules/@keenthemes/ktui/src/components/select/templates.ts:305:17:
305 â if (optionData.disabled) {
âµ ~~~~~~~~
â [ERROR] TS4111: Property 'selected' comes from an index signature, so it must be accessed with ['selected']. [plugin angular-compiler]
node_modules/@keenthemes/ktui/src/components/select/templates.ts:314:24:
314 â selected: optionData.selected
âµ ~~~~~~~~
â [ERROR] TS4111: Property 'disabled' comes from an index signature, so it must be accessed with ['disabled']. [plugin angular-compiler]
node_modules/@keenthemes/ktui/src/components/select/templates.ts:317:24:
317 â disabled: optionData.disabled ? 'aria-disabled="true"' : '',
âµ ~~~~~~~~
â [ERROR] TS4111: Property 'text' comes from an index signature, so it must be accessed with ['text']. [plugin angular-compiler]
node_modules/@keenthemes/ktui/src/components/select/templates.ts:329:48:
329 â ...lement.setAttribute('data-text', optionData?.text?.trim() || '');
âµ ~~~~
â [ERROR] TS4111: Property 'text' comes from an index signature, so it must be accessed with ['text']. [plugin angular-compiler]
node_modules/@keenthemes/ktui/src/components/select/utils.ts:57:18:
57 â option.dataset.text ||
âµ ~~~~
â [ERROR] TS4111: Property 'value' comes from an index signature, so it must be accessed with ['value']. [plugin angular-compiler]
node_modules/@keenthemes/ktui/src/components/select/utils.ts:208:20:
208 â option.dataset.value?.toLowerCase().startsWith(lowerStr))
âµ ~~~~~
â [ERROR] TS4111: Property 'value' comes from an index signature, so it must be accessed with ['value']. [plugin angular-compiler]
node_modules/@keenthemes/ktui/src/components/select/utils.ts:338:61:
338 â ... = options.findIndex((option) => option.dataset.value === value);
âµ ~~~~~
â [ERROR] TS4111: Property 'top' comes from an index signature, so it must be accessed with ['top']. [plugin angular-compiler]
node_modules/@keenthemes/ktui/src/components/toast/toast.ts:167:20:
167 â positionGroups.top.push(toast);
âµ ~~~
â [ERROR] TS4111: Property 'bottom' comes from an index signature, so it must be accessed with ['bottom']. [plugin angular-compiler]
node_modules/@keenthemes/ktui/src/components/toast/toast.ts:169:20:
169 â positionGroups.bottom.push(toast);
âµ ~~~~~~
â [ERROR] TS4111: Property 'top' comes from an index signature, so it must be accessed with ['top']. [plugin angular-compiler]
node_modules/@keenthemes/ktui/src/components/toast/toast.ts:175:18:
175 â positionGroups.top.forEach((toast) => {
âµ ~~~
â [ERROR] TS4111: Property 'bottom' comes from an index signature, so it must be accessed with ['bottom']. [plugin angular-compiler]
node_modules/@keenthemes/ktui/src/components/toast/toast.ts:193:31:
193 â for (let i = positionGroups.bottom.length - 1; i >= 0; i--) {
âµ ~~~~~~
â [ERROR] TS4111: Property 'bottom' comes from an index signature, so it must be accessed with ['bottom']. [plugin angular-compiler]
node_modules/@keenthemes/ktui/src/components/toast/toast.ts:194:33:
194 â const toast = positionGroups.bottom[i];