Refactor on d.ts
parent
191ec6b1c2
commit
98b93be202
|
@ -26,7 +26,9 @@
|
|||
"./usestyle": "./src/usestyle/UseStyle.js",
|
||||
"./utils": "./src/utils/Utils.js"
|
||||
},
|
||||
"types": "./src/index.d.ts",
|
||||
"publishConfig": {
|
||||
"types": "./index.d.ts",
|
||||
"exports": {
|
||||
"./*": {
|
||||
"types": "./*/index.d.ts",
|
||||
|
@ -52,4 +54,4 @@
|
|||
"engines": {
|
||||
"node": ">=12.11.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@primevue/core/*": ["./src/*"],
|
||||
"primevue/*": ["../../packages/primevue/src/*"]
|
||||
"primevue/themes/*": ["../../packages/themes/src/*"]
|
||||
}
|
||||
},
|
||||
"include": ["**/*.ts", "src/*"],
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class AngleDoubleDownIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class AngleDoubleLeftIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class AngleDoubleRightIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class AngleDoubleUpIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class AngleDownIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class AngleLeftIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class AngleRightIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class AngleUpIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class ArrowDownIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class ArrowUpIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class BanIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class BarsIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class BlankIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class CalendarIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class CheckIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class ChevronDownIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class ChevronLeftIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class ChevronRightIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class ChevronUpIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class ExclamationTriangleIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class EyeIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class EyeSlashIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class FilterIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class FilterSlashIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { DefineComponent, EmitFn } from '../../primevue/src/ts-helpers';
|
||||
import type { DefineComponent, EmitFn } from '@primevue/core';
|
||||
|
||||
export interface IconProps {
|
||||
label?: string | undefined;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class InfoCircleIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class MinusIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class PencilIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class PlusIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class RefreshIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class SearchIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class SearchMinusIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class SearchPlusIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class SortAltIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class SortAmountDownIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class SortAmountUpAltIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class SpinnerIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class StarIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class StarFillIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class ThLargeIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class TimesIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class TimesCircleIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class TrashIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class UndoIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class UploadIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class WindowMaximizeIcon extends Icon {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { GlobalComponentConstructor } from '../../../primevue/src/ts-helpers';
|
||||
import { Icon } from '../../icons/index';
|
||||
import type { GlobalComponentConstructor } from '@primevue/core';
|
||||
import type { Icon } from '@primevue/icons';
|
||||
|
||||
declare class WindowMinimizeIcon extends Icon {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue