UNPKG

@cds/angular

Version:

Core component modules for Clarity Angular

1 lines 7.81 kB
{"version":3,"file":"pagination.mjs","sources":["../../../projects/cds-angular/pagination/cds-pagination.directive.ts","../../../projects/cds-angular/pagination/cds-pagination-button.directive.ts","../../../projects/cds-angular/pagination/pagination.module.ts","../../../projects/cds-angular/pagination/index.ts","../../../projects/cds-angular/pagination/public-api.ts","../../../projects/cds-angular/pagination/pagination.ts"],"sourcesContent":["/*\n * Copyright (c) 2016-2023 VMware, Inc. All Rights Reserved.\n * This software is released under MIT license.\n * The full license information can be found in LICENSE in the root directory of this project.\n */\n\nimport { Directive, ElementRef } from '@angular/core';\nimport { CdsPagination } from '@cds/core/pagination';\n\n@Directive({ selector: 'cds-pagination' })\nexport class CdsPaginationDirective {\n protected element: CdsPagination;\n\n\n\n constructor(elementRef: ElementRef) {\n this.element = elementRef.nativeElement;\n }\n}\n","/*\n * Copyright (c) 2016-2023 VMware, Inc. All Rights Reserved.\n * This software is released under MIT license.\n * The full license information can be found in LICENSE in the root directory of this project.\n */\n\nimport { Directive, ElementRef , Input } from '@angular/core';\nimport { CdsPaginationButton } from '@cds/core/pagination';\n\n@Directive({ selector: 'cds-pagination-button' })\nexport class CdsPaginationButtonDirective {\n protected element: CdsPaginationButton;\n\n get action() {\n return this.element.action;\n }\n @Input() set action(value) {\n this.element.action = value;\n };\n get disabled() {\n return this.element.disabled;\n }\n @Input() set disabled(value: boolean | '') {\n this.element.disabled = value === '' ? true : value;\n };\n get shape() {\n return this.element.shape;\n }\n @Input() set shape(value) {\n this.element.shape = value;\n };\n get iconSize() {\n return this.element.iconSize;\n }\n @Input() set iconSize(value) {\n this.element.iconSize = value;\n };\n get i18n() {\n return this.element.i18n;\n }\n @Input() set i18n(value) {\n this.element.i18n = value;\n };\n get pressed() {\n return this.element.pressed;\n }\n @Input() set pressed(value: boolean | '') {\n this.element.pressed = value === '' ? true : value;\n };\n get expanded() {\n return this.element.expanded;\n }\n @Input() set expanded(value: boolean | '') {\n this.element.expanded = value === '' ? true : value;\n };\n get readonly() {\n return this.element.readonly;\n }\n @Input() set readonly(value: boolean | '') {\n this.element.readonly = value === '' ? true : value;\n };\n get type() {\n return this.element.type;\n }\n @Input() set type(value) {\n this.element.type = value;\n };\n get name() {\n return this.element.name;\n }\n @Input() set name(value) {\n this.element.name = value;\n };\n get value() {\n return this.element.value;\n }\n @Input() set value(value) {\n this.element.value = value;\n };\n get popup() {\n return this.element.popup;\n }\n @Input() set popup(value) {\n this.element.popup = value;\n };\n\n\n constructor(elementRef: ElementRef) {\n this.element = elementRef.nativeElement;\n }\n}\n","/*\n * Copyright (c) 2016-2023 VMware, Inc. All Rights Reserved.\n * This software is released under MIT license.\n * The full license information can be found in LICENSE in the root directory of this project.\n */\n\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport '@cds/core/pagination/register.js';\n\nimport { CdsPaginationDirective } from './cds-pagination.directive';\nimport { CdsPaginationButtonDirective } from './cds-pagination-button.directive';\n\n@NgModule({\n imports: [CommonModule],\n declarations: [\n CdsPaginationDirective,\n CdsPaginationButtonDirective,\n ],\n exports: [\n CdsPaginationDirective,\n CdsPaginationButtonDirective,\n ],\n})\nexport class CdsPaginationModule {}\n","/*\n * Copyright (c) 2016-2023 VMware, Inc. All Rights Reserved.\n * This software is released under MIT license.\n * The full license information can be found in LICENSE in the root directory of this project.\n */\n\nexport * from './cds-pagination.directive';\nexport * from './cds-pagination-button.directive';\nexport * from './pagination.module';\n","/*\n * Copyright (c) 2016-2023 VMware, Inc. All Rights Reserved.\n * This software is released under MIT license.\n * The full license information can be found in LICENSE in the root directory of this project.\n */\n\n/*\n * Copyright (c) 2016-2023 VMware, Inc. All Rights Reserved.\n * This software is released under MIT license.\n * The full license information can be found in LICENSE in the root directory of this project.\n */\n\n/*\n * Public API Surface of cds-angular\n */\n\nexport * from './index';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAAA;;;;;MAUa,sBA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