fix: allow to build types
This commit is contained in:
parent
87c4545f5f
commit
8ad5cc56f1
4 changed files with 4 additions and 73 deletions
52
packages/form-core/index.d.ts
vendored
52
packages/form-core/index.d.ts
vendored
|
|
@ -1,52 +0,0 @@
|
||||||
export { FocusMixin } from './src/FocusMixin.js';
|
|
||||||
export { FormatMixin } from './src/FormatMixin.js';
|
|
||||||
export { FormControlMixin } from './src/FormControlMixin.js';
|
|
||||||
export { InteractionStateMixin } from './src/InteractionStateMixin.js'; // applies FocusMixin
|
|
||||||
export { LionField } from './src/LionField.js';
|
|
||||||
export { FormRegisteringMixin } from './src/registration/FormRegisteringMixin.js';
|
|
||||||
export { FormRegistrarMixin } from './src/registration/FormRegistrarMixin.js';
|
|
||||||
export { FormRegistrarPortalMixin } from './src/registration/FormRegistrarPortalMixin.js';
|
|
||||||
export { FormControlsCollection } from './src/registration/FormControlsCollection.js';
|
|
||||||
|
|
||||||
// validate
|
|
||||||
|
|
||||||
export { ValidateMixin } from './src/validate/ValidateMixin.js';
|
|
||||||
export { Unparseable } from './src/validate/Unparseable.js';
|
|
||||||
export { Validator } from './src/validate/Validator.js';
|
|
||||||
export { ResultValidator } from './src/validate/ResultValidator.js';
|
|
||||||
|
|
||||||
export { Required } from './src/validate/validators/Required.js';
|
|
||||||
|
|
||||||
export {
|
|
||||||
IsString,
|
|
||||||
EqualsLength,
|
|
||||||
MinLength,
|
|
||||||
MaxLength,
|
|
||||||
MinMaxLength,
|
|
||||||
IsEmail,
|
|
||||||
Pattern,
|
|
||||||
} from './src/validate/validators/StringValidators.js';
|
|
||||||
|
|
||||||
export {
|
|
||||||
IsNumber,
|
|
||||||
MinNumber,
|
|
||||||
MaxNumber,
|
|
||||||
MinMaxNumber,
|
|
||||||
} from './src/validate/validators/NumberValidators.js';
|
|
||||||
|
|
||||||
export {
|
|
||||||
IsDate,
|
|
||||||
MinDate,
|
|
||||||
MaxDate,
|
|
||||||
MinMaxDate,
|
|
||||||
IsDateDisabled,
|
|
||||||
} from './src/validate/validators/DateValidators.js';
|
|
||||||
|
|
||||||
export { DefaultSuccess } from './src/validate/resultValidators/DefaultSuccess.js';
|
|
||||||
|
|
||||||
export { LionValidationFeedback } from './src/validate/LionValidationFeedback.js';
|
|
||||||
|
|
||||||
export { ChoiceGroupMixin } from './src/choice-group/ChoiceGroupMixin.js';
|
|
||||||
export { ChoiceInputMixin } from './src/choice-group/ChoiceInputMixin.js';
|
|
||||||
|
|
||||||
export { FormGroupMixin } from './src/form-group/FormGroupMixin.js';
|
|
||||||
16
packages/localize/index.d.ts
vendored
16
packages/localize/index.d.ts
vendored
|
|
@ -1,16 +0,0 @@
|
||||||
export { formatDate } from "./src/date/formatDate.js";
|
|
||||||
export { getDateFormatBasedOnLocale } from "./src/date/getDateFormatBasedOnLocale.js";
|
|
||||||
export { getMonthNames } from "./src/date/getMonthNames.js";
|
|
||||||
export { getWeekdayNames } from "./src/date/getWeekdayNames.js";
|
|
||||||
export { normalizeDateTime } from "./src/date/normalizeDateTime.js";
|
|
||||||
export { parseDate } from "./src/date/parseDate.js";
|
|
||||||
export { formatNumber } from "./src/number/formatNumber.js";
|
|
||||||
export { formatNumberToParts } from "./src/number/formatNumberToParts.js";
|
|
||||||
export { getCurrencyName } from "./src/number/getCurrencyName.js";
|
|
||||||
export { getDecimalSeparator } from "./src/number/getDecimalSeparator.js";
|
|
||||||
export { getFractionDigits } from "./src/number/getFractionDigits.js";
|
|
||||||
export { getGroupSeparator } from "./src/number/getGroupSeparator.js";
|
|
||||||
export { LocalizeManager } from "./src/LocalizeManager.js";
|
|
||||||
export { LocalizeMixin } from "./src/LocalizeMixin.js";
|
|
||||||
export { normalizeCurrencyLabel } from "./src/number/normalizeCurrencyLabel.js";
|
|
||||||
export { localize, setLocalize } from "./src/localize.js";
|
|
||||||
3
packages/singleton-manager/index.d.ts
vendored
3
packages/singleton-manager/index.d.ts
vendored
|
|
@ -1,3 +0,0 @@
|
||||||
export { SingletonManagerClass } from "./src/SingletonManagerClass.js";
|
|
||||||
export const singletonManager: SingletonManagerClass;
|
|
||||||
import { SingletonManagerClass } from "./src/SingletonManagerClass.js";
|
|
||||||
|
|
@ -6,13 +6,15 @@
|
||||||
"noEmit": false
|
"noEmit": false
|
||||||
},
|
},
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"packages/*/index.js",
|
|
||||||
"node_modules",
|
"node_modules",
|
||||||
"**/node_modules/*",
|
"**/node_modules/*",
|
||||||
"**/coverage/*",
|
"**/coverage/*",
|
||||||
"**/dist/**/*",
|
"**/dist/**/*",
|
||||||
"packages/**/test-helpers",
|
"packages/**/test-helpers",
|
||||||
|
// ignore test/demos for singleton manager until overlays are typed as it's used in there
|
||||||
"packages/singleton-manager/demo/",
|
"packages/singleton-manager/demo/",
|
||||||
"packages/singleton-manager/test/"
|
"packages/singleton-manager/test/",
|
||||||
|
// specific for building types
|
||||||
|
"packages/core/index.js"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue