@taiga-ui/cdk
Version:
Base library for creating Angular components and applications using Taiga UI principles regarding of actual visual appearance
51 lines • 1.72 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.FUNCTION_PARAMETERS_TO_REPLACE = void 0;
exports.FUNCTION_PARAMETERS_TO_REPLACE = [
{
names: ['tuiAmountOptionsProvider'],
parameters: [{ name: 'currencyAlign' }],
valueReplacer: [
{ from: 'left', to: 'start' },
{ from: 'right', to: 'end' },
],
},
{
names: ['tuiDropdownOptionsProvider'],
parameters: [{ name: 'align' }],
valueReplacer: [
{ from: 'left', to: 'start' },
{ from: 'right', to: 'end' },
],
},
{
names: ['tuiHintOptionsProvider'],
parameters: [{ name: 'direction' }],
valueReplacer: [
{ from: 'bottom-left', to: 'bottom-start' },
{ from: 'bottom-right', to: 'bottom-end' },
{ from: 'top-left', to: 'top-start' },
{ from: 'top-right', to: 'top-end' },
{ from: 'left-bottom', to: 'start-bottom' },
{ from: 'left-top', to: 'start-top' },
{ from: 'left', to: 'start' },
{ from: 'right-bottom', to: 'end-bottom' },
{ from: 'right-top', to: 'end-top' },
{ from: 'right', to: 'end' },
],
},
{
names: [
'tuiDialogOptionsProvider',
'tuiSheetDialogOptionsProvider',
'tuiAlertOptionsProvider',
'tuiNotificationOptionsProvider',
],
parameters: [{ name: 'closeable', renameTo: 'closable' }],
},
{
names: ['tuiGetClosestFocusable'],
parameters: [{ name: 'keyboard', remove: true }],
},
];
//# sourceMappingURL=function-parameters-to-replace.js.map