@ng-nest/ui 19.0.9 → 20.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/affix/index.d.ts +58 -3
- package/alert/index.d.ts +424 -3
- package/anchor/index.d.ts +186 -3
- package/api/index.d.ts +20 -3
- package/auto-complete/index.d.ts +454 -3
- package/avatar/index.d.ts +198 -3
- package/back-top/index.d.ts +75 -3
- package/badge/index.d.ts +153 -3
- package/base-form/index.d.ts +248 -3
- package/button/index.d.ts +380 -3
- package/calendar/index.d.ts +194 -3
- package/card/index.d.ts +99 -3
- package/carousel/index.d.ts +328 -3
- package/cascade/index.d.ts +459 -3
- package/checkbox/index.d.ts +351 -3
- package/collapse/index.d.ts +198 -3
- package/color/index.d.ts +80 -3
- package/color-picker/index.d.ts +484 -3
- package/comment/index.d.ts +158 -3
- package/container/index.d.ts +143 -3
- package/core/index.d.ts +1900 -3
- package/crumb/index.d.ts +91 -3
- package/date-picker/index.d.ts +2081 -3
- package/description/index.d.ts +234 -3
- package/dialog/index.d.ts +525 -3
- package/doc/index.d.ts +20 -3
- package/drag/index.d.ts +45 -3
- package/drawer/index.d.ts +244 -3
- package/dropdown/index.d.ts +201 -3
- package/empty/index.d.ts +60 -3
- package/examples/index.d.ts +20 -3
- package/fesm2022/ng-nest-ui-affix.mjs +11 -11
- package/fesm2022/ng-nest-ui-alert.mjs +11 -11
- package/fesm2022/ng-nest-ui-anchor.mjs +17 -17
- package/fesm2022/ng-nest-ui-api.mjs +8 -8
- package/fesm2022/ng-nest-ui-auto-complete.mjs +14 -14
- package/fesm2022/ng-nest-ui-avatar.mjs +17 -17
- package/fesm2022/ng-nest-ui-back-top.mjs +11 -11
- package/fesm2022/ng-nest-ui-badge.mjs +11 -11
- package/fesm2022/ng-nest-ui-base-form.mjs +7 -7
- package/fesm2022/ng-nest-ui-button.mjs +18 -18
- package/fesm2022/ng-nest-ui-button.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-calendar.mjs +11 -11
- package/fesm2022/ng-nest-ui-card.mjs +11 -11
- package/fesm2022/ng-nest-ui-carousel.mjs +17 -17
- package/fesm2022/ng-nest-ui-cascade.mjs +14 -14
- package/fesm2022/ng-nest-ui-checkbox.mjs +11 -11
- package/fesm2022/ng-nest-ui-collapse.mjs +17 -17
- package/fesm2022/ng-nest-ui-color-picker.mjs +17 -17
- package/fesm2022/ng-nest-ui-color.mjs +11 -11
- package/fesm2022/ng-nest-ui-comment.mjs +17 -17
- package/fesm2022/ng-nest-ui-container.mjs +32 -32
- package/fesm2022/ng-nest-ui-core.mjs +19 -19
- package/fesm2022/ng-nest-ui-crumb.mjs +11 -11
- package/fesm2022/ng-nest-ui-date-picker.mjs +50 -50
- package/fesm2022/ng-nest-ui-description.mjs +17 -17
- package/fesm2022/ng-nest-ui-dialog.mjs +41 -41
- package/fesm2022/ng-nest-ui-doc.mjs +8 -8
- package/fesm2022/ng-nest-ui-drag.mjs +10 -10
- package/fesm2022/ng-nest-ui-drawer.mjs +32 -32
- package/fesm2022/ng-nest-ui-dropdown.mjs +14 -14
- package/fesm2022/ng-nest-ui-empty.mjs +11 -11
- package/fesm2022/ng-nest-ui-examples.mjs +8 -8
- package/fesm2022/ng-nest-ui-find.mjs +11 -11
- package/fesm2022/ng-nest-ui-form.mjs +17 -17
- package/fesm2022/ng-nest-ui-highlight.mjs +14 -14
- package/fesm2022/ng-nest-ui-i18n.mjs +13 -13
- package/fesm2022/ng-nest-ui-icon.mjs +18 -15
- package/fesm2022/ng-nest-ui-icon.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-image.mjs +20 -20
- package/fesm2022/ng-nest-ui-inner.mjs +11 -11
- package/fesm2022/ng-nest-ui-input-number.mjs +11 -11
- package/fesm2022/ng-nest-ui-input.mjs +17 -17
- package/fesm2022/ng-nest-ui-keyword.mjs +10 -10
- package/fesm2022/ng-nest-ui-layout.mjs +17 -17
- package/fesm2022/ng-nest-ui-link.mjs +11 -11
- package/fesm2022/ng-nest-ui-list.mjs +24 -24
- package/fesm2022/ng-nest-ui-list.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-loading.mjs +11 -11
- package/fesm2022/ng-nest-ui-menu.mjs +17 -17
- package/fesm2022/ng-nest-ui-message-box.mjs +11 -11
- package/fesm2022/ng-nest-ui-message.mjs +11 -11
- package/fesm2022/ng-nest-ui-notification.mjs +11 -11
- package/fesm2022/ng-nest-ui-outlet.mjs +7 -7
- package/fesm2022/ng-nest-ui-page-header.mjs +11 -11
- package/fesm2022/ng-nest-ui-pagination.mjs +11 -11
- package/fesm2022/ng-nest-ui-pattern.mjs +8 -8
- package/fesm2022/ng-nest-ui-popconfirm.mjs +11 -11
- package/fesm2022/ng-nest-ui-popover.mjs +14 -14
- package/fesm2022/ng-nest-ui-portal.mjs +8 -8
- package/fesm2022/ng-nest-ui-portal.mjs.map +1 -1
- package/fesm2022/ng-nest-ui-progress.mjs +11 -11
- package/fesm2022/ng-nest-ui-radio.mjs +11 -11
- package/fesm2022/ng-nest-ui-rate.mjs +11 -11
- package/fesm2022/ng-nest-ui-resizable.mjs +11 -11
- package/fesm2022/ng-nest-ui-result.mjs +11 -11
- package/fesm2022/ng-nest-ui-ripple.mjs +10 -10
- package/fesm2022/ng-nest-ui-select.mjs +14 -14
- package/fesm2022/ng-nest-ui-skeleton.mjs +11 -11
- package/fesm2022/ng-nest-ui-slider-select.mjs +11 -11
- package/fesm2022/ng-nest-ui-slider.mjs +11 -11
- package/fesm2022/ng-nest-ui-statistic.mjs +17 -17
- package/fesm2022/ng-nest-ui-steps.mjs +11 -11
- package/fesm2022/ng-nest-ui-switch.mjs +11 -11
- package/fesm2022/ng-nest-ui-table.mjs +28 -28
- package/fesm2022/ng-nest-ui-tabs.mjs +26 -26
- package/fesm2022/ng-nest-ui-tag.mjs +11 -11
- package/fesm2022/ng-nest-ui-text-retract.mjs +11 -11
- package/fesm2022/ng-nest-ui-textarea.mjs +11 -11
- package/fesm2022/ng-nest-ui-theme.mjs +11 -11
- package/fesm2022/ng-nest-ui-time-ago.mjs +7 -7
- package/fesm2022/ng-nest-ui-time-picker.mjs +17 -17
- package/fesm2022/ng-nest-ui-time-range.mjs +7 -7
- package/fesm2022/ng-nest-ui-timeline.mjs +11 -11
- package/fesm2022/ng-nest-ui-tooltip.mjs +14 -14
- package/fesm2022/ng-nest-ui-transfer.mjs +11 -11
- package/fesm2022/ng-nest-ui-tree-file.mjs +11 -11
- package/fesm2022/ng-nest-ui-tree-select.mjs +14 -14
- package/fesm2022/ng-nest-ui-tree.mjs +20 -20
- package/fesm2022/ng-nest-ui-typography.mjs +11 -11
- package/fesm2022/ng-nest-ui-upload.mjs +14 -14
- package/find/index.d.ts +625 -3
- package/form/index.d.ts +556 -3
- package/highlight/index.d.ts +107 -3
- package/i18n/index.d.ts +9399 -3
- package/icon/index.d.ts +134 -3
- package/image/index.d.ts +282 -3
- package/index.d.ts +0 -21
- package/inner/index.d.ts +38 -3
- package/input/index.d.ts +615 -3
- package/input-number/index.d.ts +352 -3
- package/keyword/index.d.ts +61 -3
- package/layout/index.d.ts +171 -3
- package/link/index.d.ts +128 -3
- package/list/index.d.ts +482 -3
- package/loading/index.d.ts +92 -3
- package/menu/index.d.ts +206 -3
- package/message/index.d.ts +192 -3
- package/message-box/index.d.ts +234 -3
- package/notification/index.d.ts +136 -3
- package/outlet/index.d.ts +28 -3
- package/package.json +33 -33
- package/page-header/index.d.ts +61 -3
- package/pagination/index.d.ts +212 -3
- package/pattern/index.d.ts +20 -3
- package/popconfirm/index.d.ts +124 -3
- package/popover/index.d.ts +163 -3
- package/portal/index.d.ts +157 -3
- package/progress/index.d.ts +191 -3
- package/radio/index.d.ts +313 -3
- package/rate/index.d.ts +231 -3
- package/resizable/index.d.ts +155 -3
- package/result/index.d.ts +61 -3
- package/ripple/index.d.ts +67 -3
- package/select/index.d.ts +633 -3
- package/skeleton/index.d.ts +132 -3
- package/slider/index.d.ts +188 -3
- package/slider-select/index.d.ts +386 -3
- package/statistic/index.d.ts +129 -3
- package/steps/index.d.ts +101 -3
- package/switch/index.d.ts +223 -3
- package/table/index.d.ts +1076 -3
- package/tabs/index.d.ts +238 -3
- package/tag/index.d.ts +99 -3
- package/text-retract/index.d.ts +45 -3
- package/textarea/index.d.ts +340 -3
- package/theme/index.d.ts +152 -3
- package/time-ago/index.d.ts +32 -3
- package/time-picker/index.d.ts +615 -3
- package/time-range/index.d.ts +24 -3
- package/timeline/index.d.ts +108 -3
- package/tooltip/index.d.ts +154 -3
- package/transfer/index.d.ts +340 -3
- package/tree/index.d.ts +601 -3
- package/tree-file/index.d.ts +167 -3
- package/tree-select/index.d.ts +642 -3
- package/typography/index.d.ts +42 -3
- package/upload/index.d.ts +304 -3
- package/affix/affix.component.d.ts +0 -6
- package/affix/affix.module.d.ts +0 -7
- package/affix/affix.property.d.ts +0 -46
- package/affix/public-api.d.ts +0 -3
- package/alert/alert.component.d.ts +0 -21
- package/alert/alert.module.d.ts +0 -7
- package/alert/alert.property.d.ts +0 -396
- package/alert/public-api.d.ts +0 -3
- package/anchor/anchor-inner.component.d.ts +0 -6
- package/anchor/anchor.component.d.ts +0 -38
- package/anchor/anchor.module.d.ts +0 -8
- package/anchor/anchor.property.d.ts +0 -136
- package/anchor/public-api.d.ts +0 -4
- package/api/api.component.d.ts +0 -6
- package/api/api.module.d.ts +0 -7
- package/api/api.property.d.ts +0 -6
- package/api/public-api.d.ts +0 -3
- package/auto-complete/auto-complete-portal.component.d.ts +0 -35
- package/auto-complete/auto-complete.component.d.ts +0 -54
- package/auto-complete/auto-complete.module.d.ts +0 -7
- package/auto-complete/auto-complete.property.d.ts +0 -364
- package/auto-complete/public-api.d.ts +0 -4
- package/avatar/avatar-group.component.d.ts +0 -7
- package/avatar/avatar.component.d.ts +0 -37
- package/avatar/avatar.module.d.ts +0 -8
- package/avatar/avatar.property.d.ts +0 -149
- package/avatar/public-api.d.ts +0 -4
- package/back-top/back-top.component.d.ts +0 -25
- package/back-top/back-top.module.d.ts +0 -7
- package/back-top/back-top.property.d.ts +0 -45
- package/back-top/public-api.d.ts +0 -3
- package/badge/badge.component.d.ts +0 -14
- package/badge/badge.module.d.ts +0 -7
- package/badge/badge.property.d.ts +0 -132
- package/badge/public-api.d.ts +0 -3
- package/base-form/base-form.component.d.ts +0 -60
- package/base-form/base-form.module.d.ts +0 -6
- package/base-form/base-form.property.d.ts +0 -180
- package/base-form/public-api.d.ts +0 -3
- package/button/button.component.d.ts +0 -25
- package/button/button.module.d.ts +0 -8
- package/button/button.property.d.ts +0 -336
- package/button/buttons.component.d.ts +0 -13
- package/button/public-api.d.ts +0 -4
- package/calendar/calendar.component.d.ts +0 -55
- package/calendar/calendar.module.d.ts +0 -7
- package/calendar/calendar.property.d.ts +0 -132
- package/calendar/public-api.d.ts +0 -3
- package/card/card.component.d.ts +0 -9
- package/card/card.module.d.ts +0 -7
- package/card/card.property.d.ts +0 -83
- package/card/public-api.d.ts +0 -3
- package/carousel/carousel-panel.component.d.ts +0 -34
- package/carousel/carousel.component.d.ts +0 -33
- package/carousel/carousel.module.d.ts +0 -8
- package/carousel/carousel.property.d.ts +0 -259
- package/carousel/public-api.d.ts +0 -4
- package/cascade/cascade-portal.component.d.ts +0 -41
- package/cascade/cascade.component.d.ts +0 -56
- package/cascade/cascade.module.d.ts +0 -7
- package/cascade/cascade.property.d.ts +0 -359
- package/cascade/public-api.d.ts +0 -4
- package/checkbox/checkbox.component.d.ts +0 -26
- package/checkbox/checkbox.module.d.ts +0 -7
- package/checkbox/checkbox.property.d.ts +0 -319
- package/checkbox/public-api.d.ts +0 -3
- package/collapse/collapse-panel.component.d.ts +0 -16
- package/collapse/collapse.component.d.ts +0 -10
- package/collapse/collapse.module.d.ts +0 -8
- package/collapse/collapse.property.d.ts +0 -168
- package/collapse/public-api.d.ts +0 -4
- package/color/color.component.d.ts +0 -10
- package/color/color.module.d.ts +0 -7
- package/color/color.property.d.ts +0 -64
- package/color/public-api.d.ts +0 -3
- package/color-picker/color-map.data.d.ts +0 -3
- package/color-picker/color-picker-portal.component.d.ts +0 -118
- package/color-picker/color-picker.component.d.ts +0 -53
- package/color-picker/color-picker.directive.d.ts +0 -9
- package/color-picker/color-picker.module.d.ts +0 -8
- package/color-picker/color-picker.property.d.ts +0 -303
- package/color-picker/public-api.d.ts +0 -5
- package/comment/comment-reply.component.d.ts +0 -8
- package/comment/comment.component.d.ts +0 -14
- package/comment/comment.module.d.ts +0 -8
- package/comment/comment.property.d.ts +0 -131
- package/comment/public-api.d.ts +0 -4
- package/container/aside.component.d.ts +0 -8
- package/container/container.component.d.ts +0 -10
- package/container/container.module.d.ts +0 -11
- package/container/container.property.d.ts +0 -94
- package/container/footer.component.d.ts +0 -12
- package/container/header.component.d.ts +0 -12
- package/container/main.component.d.ts +0 -6
- package/container/public-api.d.ts +0 -7
- package/core/README.md +0 -25
- package/core/animation/badge.d.ts +0 -11
- package/core/animation/connect.d.ts +0 -11
- package/core/animation/consts.d.ts +0 -9
- package/core/animation/drop.d.ts +0 -6
- package/core/animation/fade.d.ts +0 -6
- package/core/animation/move.d.ts +0 -7
- package/core/animation/opacity.d.ts +0 -6
- package/core/animation/public-api.d.ts +0 -8
- package/core/animation/slide.d.ts +0 -6
- package/core/components/inner-html.component.d.ts +0 -9
- package/core/components/public-api.d.ts +0 -1
- package/core/config/config.d.ts +0 -620
- package/core/config/config.service.d.ts +0 -22
- package/core/config/index.d.ts +0 -1
- package/core/config/public-api.d.ts +0 -2
- package/core/functions/chunk.d.ts +0 -12
- package/core/functions/clone-deep.d.ts +0 -17
- package/core/functions/convert.d.ts +0 -90
- package/core/functions/csspx.d.ts +0 -5
- package/core/functions/date.d.ts +0 -70
- package/core/functions/drop.d.ts +0 -13
- package/core/functions/flex.d.ts +0 -7
- package/core/functions/group-by.d.ts +0 -5
- package/core/functions/guid.d.ts +0 -5
- package/core/functions/has-in.d.ts +0 -5
- package/core/functions/order-by.d.ts +0 -5
- package/core/functions/parent-path.d.ts +0 -10
- package/core/functions/property.d.ts +0 -16
- package/core/functions/public-api.d.ts +0 -15
- package/core/functions/remove.d.ts +0 -5
- package/core/functions/resize.d.ts +0 -19
- package/core/interfaces/data.type.d.ts +0 -194
- package/core/interfaces/identify.type.d.ts +0 -83
- package/core/interfaces/index.d.ts +0 -1
- package/core/interfaces/layout.type.d.ts +0 -169
- package/core/interfaces/public-api.d.ts +0 -4
- package/core/interfaces/result-list.type.d.ts +0 -116
- package/core/public-api.d.ts +0 -8
- package/core/services/http.service.d.ts +0 -28
- package/core/services/preloading-strategy.service.d.ts +0 -9
- package/core/services/public-api.d.ts +0 -5
- package/core/services/repository.service.d.ts +0 -28
- package/core/services/reuse-strategy.service.d.ts +0 -17
- package/core/services/storage.service.d.ts +0 -15
- package/core/theme/index.d.ts +0 -1
- package/core/theme/public-api.d.ts +0 -2
- package/core/theme/theme.d.ts +0 -73
- package/core/theme/theme.service.d.ts +0 -76
- package/core/util/animation.d.ts +0 -1
- package/core/util/camel-to-kebab.d.ts +0 -13
- package/core/util/check.d.ts +0 -10
- package/core/util/computed-style.d.ts +0 -10
- package/core/util/host.d.ts +0 -5
- package/core/util/html.d.ts +0 -5
- package/core/util/index.d.ts +0 -1
- package/core/util/kebab-to-camel.d.ts +0 -13
- package/core/util/log.d.ts +0 -10
- package/core/util/option.d.ts +0 -9
- package/core/util/public-api.d.ts +0 -10
- package/core/util/sleep.d.ts +0 -5
- package/crumb/crumb.component.d.ts +0 -7
- package/crumb/crumb.module.d.ts +0 -7
- package/crumb/crumb.property.d.ts +0 -77
- package/crumb/public-api.d.ts +0 -3
- package/date-picker/date-picker-portal.component.d.ts +0 -104
- package/date-picker/date-picker.component.d.ts +0 -113
- package/date-picker/date-picker.module.d.ts +0 -8
- package/date-picker/date-picker.property.d.ts +0 -1314
- package/date-picker/date-quarter.pipe.d.ts +0 -9
- package/date-picker/date-range-portal.component.d.ts +0 -135
- package/date-picker/date-range.component.d.ts +0 -134
- package/date-picker/picker-date.component.d.ts +0 -97
- package/date-picker/picker-month.component.d.ts +0 -86
- package/date-picker/picker-quarter.component.d.ts +0 -86
- package/date-picker/picker-year.component.d.ts +0 -32
- package/date-picker/public-api.d.ts +0 -11
- package/description/description-item.component.d.ts +0 -8
- package/description/description.component.d.ts +0 -15
- package/description/description.module.d.ts +0 -8
- package/description/description.property.d.ts +0 -207
- package/description/public-api.d.ts +0 -4
- package/dialog/dialog-container.component.d.ts +0 -7
- package/dialog/dialog-portal.component.d.ts +0 -45
- package/dialog/dialog-portal.directives.d.ts +0 -36
- package/dialog/dialog-ref.d.ts +0 -23
- package/dialog/dialog.component.d.ts +0 -72
- package/dialog/dialog.module.d.ts +0 -9
- package/dialog/dialog.property.d.ts +0 -338
- package/dialog/dialog.service.d.ts +0 -20
- package/dialog/public-api.d.ts +0 -8
- package/doc/doc.component.d.ts +0 -6
- package/doc/doc.module.d.ts +0 -7
- package/doc/doc.property.d.ts +0 -6
- package/doc/public-api.d.ts +0 -3
- package/drag/drag.directive.d.ts +0 -13
- package/drag/drag.module.d.ts +0 -7
- package/drag/drag.property.d.ts +0 -25
- package/drag/public-api.d.ts +0 -3
- package/drawer/drawer-container.component.d.ts +0 -7
- package/drawer/drawer-portal.component.d.ts +0 -17
- package/drawer/drawer-portal.directives.d.ts +0 -18
- package/drawer/drawer-ref.d.ts +0 -9
- package/drawer/drawer.component.d.ts +0 -34
- package/drawer/drawer.module.d.ts +0 -9
- package/drawer/drawer.property.d.ts +0 -149
- package/drawer/drawer.service.d.ts +0 -17
- package/drawer/public-api.d.ts +0 -9
- package/dropdown/dropdown-portal.component.d.ts +0 -55
- package/dropdown/dropdown.component.d.ts +0 -42
- package/dropdown/dropdown.module.d.ts +0 -7
- package/dropdown/dropdown.property.d.ts +0 -102
- package/dropdown/public-api.d.ts +0 -4
- package/empty/empty.component.d.ts +0 -6
- package/empty/empty.module.d.ts +0 -7
- package/empty/empty.property.d.ts +0 -48
- package/empty/public-api.d.ts +0 -3
- package/examples/examples.component.d.ts +0 -6
- package/examples/examples.module.d.ts +0 -7
- package/examples/examples.property.d.ts +0 -6
- package/examples/public-api.d.ts +0 -3
- package/find/find.component.d.ts +0 -57
- package/find/find.module.d.ts +0 -7
- package/find/find.property.d.ts +0 -562
- package/find/public-api.d.ts +0 -3
- package/form/control.component.d.ts +0 -51
- package/form/form.component.d.ts +0 -25
- package/form/form.module.d.ts +0 -8
- package/form/form.property.d.ts +0 -493
- package/form/public-api.d.ts +0 -4
- package/highlight/highlight.component.d.ts +0 -19
- package/highlight/highlight.module.d.ts +0 -7
- package/highlight/highlight.property.d.ts +0 -72
- package/highlight/highlight.service.d.ts +0 -8
- package/highlight/public-api.d.ts +0 -4
- package/i18n/i18n.directive.d.ts +0 -11
- package/i18n/i18n.module.d.ts +0 -8
- package/i18n/i18n.pipe.d.ts +0 -12
- package/i18n/i18n.property.d.ts +0 -195
- package/i18n/i18n.service.d.ts +0 -17
- package/i18n/languages/ar_EG.d.ts +0 -180
- package/i18n/languages/bg_BG.d.ts +0 -180
- package/i18n/languages/ca_ES.d.ts +0 -180
- package/i18n/languages/cs_CZ.d.ts +0 -180
- package/i18n/languages/da_DK.d.ts +0 -180
- package/i18n/languages/de_DE.d.ts +0 -180
- package/i18n/languages/el_GR.d.ts +0 -180
- package/i18n/languages/en_GB.d.ts +0 -181
- package/i18n/languages/en_US.d.ts +0 -181
- package/i18n/languages/es_ES.d.ts +0 -180
- package/i18n/languages/et_EE.d.ts +0 -180
- package/i18n/languages/fa_IR.d.ts +0 -180
- package/i18n/languages/fi_FI.d.ts +0 -180
- package/i18n/languages/fr_BE.d.ts +0 -180
- package/i18n/languages/fr_FR.d.ts +0 -180
- package/i18n/languages/he_IL.d.ts +0 -180
- package/i18n/languages/hi_IN.d.ts +0 -180
- package/i18n/languages/hr_HR.d.ts +0 -180
- package/i18n/languages/hu_HU.d.ts +0 -180
- package/i18n/languages/hy_AM.d.ts +0 -180
- package/i18n/languages/id_ID.d.ts +0 -180
- package/i18n/languages/is_IS.d.ts +0 -180
- package/i18n/languages/it_IT.d.ts +0 -180
- package/i18n/languages/ja_JP.d.ts +0 -180
- package/i18n/languages/ka_GE.d.ts +0 -180
- package/i18n/languages/kn_IN.d.ts +0 -180
- package/i18n/languages/ko_KR.d.ts +0 -180
- package/i18n/languages/ku_IQ.d.ts +0 -156
- package/i18n/languages/lv_LV.d.ts +0 -180
- package/i18n/languages/mn_MN.d.ts +0 -180
- package/i18n/languages/ms_MY.d.ts +0 -180
- package/i18n/languages/nb_NO.d.ts +0 -180
- package/i18n/languages/ne_NP.d.ts +0 -180
- package/i18n/languages/nl_BE.d.ts +0 -180
- package/i18n/languages/nl_NL.d.ts +0 -180
- package/i18n/languages/pl_PL.d.ts +0 -180
- package/i18n/languages/pt_BR.d.ts +0 -180
- package/i18n/languages/pt_PT.d.ts +0 -180
- package/i18n/languages/ro_RO.d.ts +0 -180
- package/i18n/languages/ru_RU.d.ts +0 -180
- package/i18n/languages/sk_SK.d.ts +0 -179
- package/i18n/languages/sl_SI.d.ts +0 -180
- package/i18n/languages/sr_RS.d.ts +0 -180
- package/i18n/languages/sv_SE.d.ts +0 -180
- package/i18n/languages/ta_IN.d.ts +0 -180
- package/i18n/languages/th_TH.d.ts +0 -180
- package/i18n/languages/tr_TR.d.ts +0 -180
- package/i18n/languages/uk_UA.d.ts +0 -180
- package/i18n/languages/vi_VN.d.ts +0 -180
- package/i18n/languages/zh_CN.d.ts +0 -180
- package/i18n/languages/zh_TW.d.ts +0 -180
- package/i18n/public-api.d.ts +0 -56
- package/icon/icon.component.d.ts +0 -31
- package/icon/icon.module.d.ts +0 -7
- package/icon/icon.property.d.ts +0 -64
- package/icon/icon.service.d.ts +0 -33
- package/icon/public-api.d.ts +0 -4
- package/image/image-group.component.d.ts +0 -9
- package/image/image-preview.component.d.ts +0 -33
- package/image/image.component.d.ts +0 -24
- package/image/image.module.d.ts +0 -9
- package/image/image.property.d.ts +0 -213
- package/image/public-api.d.ts +0 -5
- package/inner/inner.component.d.ts +0 -8
- package/inner/inner.module.d.ts +0 -7
- package/inner/inner.property.d.ts +0 -24
- package/inner/public-api.d.ts +0 -3
- package/input/input-group.component.d.ts +0 -8
- package/input/input.component.d.ts +0 -52
- package/input/input.module.d.ts +0 -8
- package/input/input.property.d.ts +0 -552
- package/input/public-api.d.ts +0 -4
- package/input-number/input-number.component.d.ts +0 -35
- package/input-number/input-number.module.d.ts +0 -7
- package/input-number/input-number.property.d.ts +0 -312
- package/input-number/public-api.d.ts +0 -3
- package/keyword/keyword.directive.d.ts +0 -10
- package/keyword/keyword.module.d.ts +0 -7
- package/keyword/keyword.property.d.ts +0 -44
- package/keyword/public-api.d.ts +0 -3
- package/layout/col.component.d.ts +0 -14
- package/layout/layout.module.d.ts +0 -8
- package/layout/layout.property.d.ts +0 -139
- package/layout/public-api.d.ts +0 -4
- package/layout/row.component.d.ts +0 -13
- package/link/link.component.d.ts +0 -13
- package/link/link.module.d.ts +0 -7
- package/link/link.property.d.ts +0 -108
- package/link/public-api.d.ts +0 -3
- package/list/list-drop-group.directive.d.ts +0 -13
- package/list/list-option.component.d.ts +0 -18
- package/list/list.component.d.ts +0 -76
- package/list/list.module.d.ts +0 -9
- package/list/list.property.d.ts +0 -377
- package/list/public-api.d.ts +0 -5
- package/loading/loading.component.d.ts +0 -23
- package/loading/loading.module.d.ts +0 -7
- package/loading/loading.property.d.ts +0 -64
- package/loading/public-api.d.ts +0 -3
- package/menu/menu-node.component.d.ts +0 -19
- package/menu/menu.component.d.ts +0 -35
- package/menu/menu.module.d.ts +0 -8
- package/menu/menu.property.d.ts +0 -150
- package/menu/public-api.d.ts +0 -4
- package/message/README.md +0 -20
- package/message/message-ref.d.ts +0 -9
- package/message/message.component.d.ts +0 -15
- package/message/message.module.d.ts +0 -6
- package/message/message.property.d.ts +0 -137
- package/message/message.service.d.ts +0 -27
- package/message/public-api.d.ts +0 -5
- package/message-box/message-box.component.d.ts +0 -31
- package/message-box/message-box.module.d.ts +0 -6
- package/message-box/message-box.property.d.ts +0 -180
- package/message-box/message-box.service.d.ts +0 -17
- package/message-box/public-api.d.ts +0 -4
- package/notification/notification.component.d.ts +0 -15
- package/notification/notification.module.d.ts +0 -6
- package/notification/notification.property.d.ts +0 -96
- package/notification/notification.service.d.ts +0 -20
- package/notification/public-api.d.ts +0 -4
- package/outlet/outlet.directive.d.ts +0 -14
- package/outlet/outlet.module.d.ts +0 -7
- package/outlet/outlet.property.d.ts +0 -6
- package/outlet/public-api.d.ts +0 -3
- package/page-header/page-header.component.d.ts +0 -12
- package/page-header/page-header.module.d.ts +0 -7
- package/page-header/page-header.property.d.ts +0 -43
- package/page-header/public-api.d.ts +0 -3
- package/pagination/pagination.component.d.ts +0 -53
- package/pagination/pagination.module.d.ts +0 -7
- package/pagination/pagination.property.d.ts +0 -151
- package/pagination/public-api.d.ts +0 -3
- package/pattern/pattern.component.d.ts +0 -6
- package/pattern/pattern.module.d.ts +0 -7
- package/pattern/pattern.property.d.ts +0 -6
- package/pattern/public-api.d.ts +0 -3
- package/popconfirm/popconfirm.component.d.ts +0 -22
- package/popconfirm/popconfirm.module.d.ts +0 -7
- package/popconfirm/popconfirm.property.d.ts +0 -96
- package/popconfirm/public-api.d.ts +0 -3
- package/popover/popover-portal.component.d.ts +0 -23
- package/popover/popover.directive.d.ts +0 -34
- package/popover/popover.module.d.ts +0 -7
- package/popover/popover.property.d.ts +0 -103
- package/popover/public-api.d.ts +0 -4
- package/portal/portal.module.d.ts +0 -6
- package/portal/portal.property.d.ts +0 -76
- package/portal/portal.service.d.ts +0 -80
- package/portal/public-api.d.ts +0 -3
- package/progress/progress.component.d.ts +0 -39
- package/progress/progress.module.d.ts +0 -7
- package/progress/progress.property.d.ts +0 -147
- package/progress/public-api.d.ts +0 -3
- package/radio/public-api.d.ts +0 -3
- package/radio/radio.component.d.ts +0 -23
- package/radio/radio.module.d.ts +0 -7
- package/radio/radio.property.d.ts +0 -283
- package/rate/public-api.d.ts +0 -3
- package/rate/rate.component.d.ts +0 -26
- package/rate/rate.module.d.ts +0 -7
- package/rate/rate.property.d.ts +0 -199
- package/resizable/public-api.d.ts +0 -3
- package/resizable/resizable.directive.d.ts +0 -52
- package/resizable/resizable.module.d.ts +0 -7
- package/resizable/resizable.property.d.ts +0 -97
- package/result/public-api.d.ts +0 -3
- package/result/result.component.d.ts +0 -10
- package/result/result.module.d.ts +0 -7
- package/result/result.property.d.ts +0 -44
- package/ripple/public-api.d.ts +0 -3
- package/ripple/ripple.directive.d.ts +0 -21
- package/ripple/ripple.module.d.ts +0 -7
- package/ripple/ripple.property.d.ts +0 -39
- package/select/public-api.d.ts +0 -4
- package/select/select-portal.component.d.ts +0 -55
- package/select/select.component.d.ts +0 -106
- package/select/select.module.d.ts +0 -7
- package/select/select.property.d.ts +0 -473
- package/skeleton/public-api.d.ts +0 -3
- package/skeleton/skeleton.component.d.ts +0 -9
- package/skeleton/skeleton.module.d.ts +0 -7
- package/skeleton/skeleton.property.d.ts +0 -116
- package/slider/public-api.d.ts +0 -3
- package/slider/slider.component.d.ts +0 -62
- package/slider/slider.module.d.ts +0 -7
- package/slider/slider.property.d.ts +0 -121
- package/slider-select/public-api.d.ts +0 -3
- package/slider-select/slider-select.component.d.ts +0 -60
- package/slider-select/slider-select.module.d.ts +0 -7
- package/slider-select/slider-select.property.d.ts +0 -320
- package/statistic/countdown.component.d.ts +0 -21
- package/statistic/public-api.d.ts +0 -4
- package/statistic/statistic.component.d.ts +0 -8
- package/statistic/statistic.module.d.ts +0 -8
- package/statistic/statistic.property.d.ts +0 -95
- package/steps/public-api.d.ts +0 -3
- package/steps/steps.component.d.ts +0 -11
- package/steps/steps.module.d.ts +0 -7
- package/steps/steps.property.d.ts +0 -82
- package/switch/public-api.d.ts +0 -3
- package/switch/switch.component.d.ts +0 -15
- package/switch/switch.module.d.ts +0 -7
- package/switch/switch.property.d.ts +0 -201
- package/table/public-api.d.ts +0 -6
- package/table/table-body.component.d.ts +0 -48
- package/table/table-foot.component.d.ts +0 -15
- package/table/table-head.component.d.ts +0 -48
- package/table/table.component.d.ts +0 -106
- package/table/table.module.d.ts +0 -10
- package/table/table.property.d.ts +0 -869
- package/tabs/public-api.d.ts +0 -6
- package/tabs/tab-content.component.d.ts +0 -10
- package/tabs/tab-link.directive.d.ts +0 -17
- package/tabs/tab.component.d.ts +0 -11
- package/tabs/tabs.component.d.ts +0 -36
- package/tabs/tabs.module.d.ts +0 -9
- package/tabs/tabs.property.d.ts +0 -167
- package/tag/public-api.d.ts +0 -3
- package/tag/tag.component.d.ts +0 -17
- package/tag/tag.module.d.ts +0 -7
- package/tag/tag.property.d.ts +0 -76
- package/text-retract/public-api.d.ts +0 -3
- package/text-retract/text-retract.component.d.ts +0 -10
- package/text-retract/text-retract.module.d.ts +0 -7
- package/text-retract/text-retract.property.d.ts +0 -29
- package/textarea/public-api.d.ts +0 -3
- package/textarea/textarea.component.d.ts +0 -26
- package/textarea/textarea.module.d.ts +0 -7
- package/textarea/textarea.property.d.ts +0 -309
- package/theme/public-api.d.ts +0 -3
- package/theme/theme.component.d.ts +0 -47
- package/theme/theme.module.d.ts +0 -7
- package/theme/theme.property.d.ts +0 -100
- package/time-ago/public-api.d.ts +0 -3
- package/time-ago/time-ago.module.d.ts +0 -7
- package/time-ago/time-ago.pipe.d.ts +0 -17
- package/time-ago/time-ago.property.d.ts +0 -6
- package/time-picker/public-api.d.ts +0 -5
- package/time-picker/time-picker-frame.component.d.ts +0 -73
- package/time-picker/time-picker-portal.component.d.ts +0 -39
- package/time-picker/time-picker.component.d.ts +0 -64
- package/time-picker/time-picker.module.d.ts +0 -8
- package/time-picker/time-picker.property.d.ts +0 -441
- package/time-range/public-api.d.ts +0 -3
- package/time-range/time-range.module.d.ts +0 -7
- package/time-range/time-range.pipe.d.ts +0 -10
- package/time-range/time-range.property.d.ts +0 -6
- package/timeline/public-api.d.ts +0 -3
- package/timeline/timeline.component.d.ts +0 -11
- package/timeline/timeline.module.d.ts +0 -7
- package/timeline/timeline.property.d.ts +0 -90
- package/tooltip/public-api.d.ts +0 -4
- package/tooltip/tooltip-portal.component.d.ts +0 -34
- package/tooltip/tooltip.directive.d.ts +0 -36
- package/tooltip/tooltip.module.d.ts +0 -7
- package/tooltip/tooltip.property.d.ts +0 -81
- package/transfer/public-api.d.ts +0 -3
- package/transfer/transfer.component.d.ts +0 -72
- package/transfer/transfer.module.d.ts +0 -7
- package/transfer/transfer.property.d.ts +0 -263
- package/tree/public-api.d.ts +0 -4
- package/tree/tree-node.component.d.ts +0 -57
- package/tree/tree.component.d.ts +0 -77
- package/tree/tree.module.d.ts +0 -8
- package/tree/tree.property.d.ts +0 -460
- package/tree/tree.service.d.ts +0 -10
- package/tree-file/public-api.d.ts +0 -3
- package/tree-file/tree-file.component.d.ts +0 -24
- package/tree-file/tree-file.module.d.ts +0 -7
- package/tree-file/tree-file.property.d.ts +0 -138
- package/tree-select/public-api.d.ts +0 -4
- package/tree-select/tree-select-portal.component.d.ts +0 -46
- package/tree-select/tree-select.component.d.ts +0 -109
- package/tree-select/tree-select.module.d.ts +0 -7
- package/tree-select/tree-select.property.d.ts +0 -486
- package/typography/public-api.d.ts +0 -3
- package/typography/typography.component.d.ts +0 -11
- package/typography/typography.module.d.ts +0 -7
- package/typography/typography.property.d.ts +0 -25
- package/upload/public-api.d.ts +0 -4
- package/upload/upload-portal.component.d.ts +0 -48
- package/upload/upload.component.d.ts +0 -44
- package/upload/upload.module.d.ts +0 -7
- package/upload/upload.property.d.ts +0 -208
package/form/index.d.ts
CHANGED
|
@@ -1,5 +1,558 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { TemplateRef, OnChanges, AfterViewInit, SimpleChanges, OnInit, OnDestroy, ComponentRef } from '@angular/core';
|
|
3
|
+
import * as _ng_nest_ui_core from '@ng-nest/ui/core';
|
|
4
|
+
import { XBoolean, XNumber, XIdentity } from '@ng-nest/ui/core';
|
|
5
|
+
import { UntypedFormGroup, UntypedFormControl, FormControlStatus } from '@angular/forms';
|
|
6
|
+
import { XInputOption, XInputComponent } from '@ng-nest/ui/input';
|
|
7
|
+
import { XSelectOption, XSelectComponent } from '@ng-nest/ui/select';
|
|
8
|
+
import { XCascadeOption, XCascadeComponent } from '@ng-nest/ui/cascade';
|
|
9
|
+
import { XCheckboxOption, XCheckboxComponent } from '@ng-nest/ui/checkbox';
|
|
10
|
+
import { XColorPickerOption, XColorPickerComponent } from '@ng-nest/ui/color-picker';
|
|
11
|
+
import { XDatePickerOption, XDatePickerComponent } from '@ng-nest/ui/date-picker';
|
|
12
|
+
import { XInputNumberOption, XInputNumberComponent } from '@ng-nest/ui/input-number';
|
|
13
|
+
import { XRadioOption, XRadioComponent } from '@ng-nest/ui/radio';
|
|
14
|
+
import { XRateOption, XRateComponent } from '@ng-nest/ui/rate';
|
|
15
|
+
import { XSliderSelectOption, XSliderSelectComponent } from '@ng-nest/ui/slider-select';
|
|
16
|
+
import { XSwitchOption, XSwitchComponent } from '@ng-nest/ui/switch';
|
|
17
|
+
import { XTimePickerOption, XTimePickerComponent } from '@ng-nest/ui/time-picker';
|
|
18
|
+
import { XTextareaComponent, XTextareaOption } from '@ng-nest/ui/textarea';
|
|
19
|
+
import { XFindOption, XFindComponent } from '@ng-nest/ui/find';
|
|
20
|
+
import { XFormOption } from '@ng-nest/ui/base-form';
|
|
21
|
+
import { XAutoCompleteComponent, XAutoCompleteOption } from '@ng-nest/ui/auto-complete';
|
|
22
|
+
import { XI18nForm } from '@ng-nest/ui/i18n';
|
|
23
|
+
import { Portal, ComponentPortal, CdkPortalOutlet } from '@angular/cdk/portal';
|
|
24
|
+
|
|
1
25
|
/**
|
|
2
|
-
*
|
|
26
|
+
* Form
|
|
27
|
+
* @selector x-form
|
|
28
|
+
* @decorator component
|
|
3
29
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
30
|
+
declare const XFormPrefix = "x-form";
|
|
31
|
+
/**
|
|
32
|
+
* @zh_CN 模板
|
|
33
|
+
* @en_US Template
|
|
34
|
+
*/
|
|
35
|
+
type XFormTemplate = {
|
|
36
|
+
[property: string]: TemplateRef<any>;
|
|
37
|
+
};
|
|
38
|
+
declare const XFormProperty_base: new () => {
|
|
39
|
+
config: _ng_nest_ui_core.XFormConfig | undefined;
|
|
40
|
+
cdr: _angular_core.ChangeDetectorRef;
|
|
41
|
+
invalid: _angular_core.Signal<boolean>;
|
|
42
|
+
invalidPattern: _angular_core.Signal<boolean>;
|
|
43
|
+
requiredIsEmpty: _angular_core.Signal<boolean>;
|
|
44
|
+
invalidMessage: _angular_core.Signal<string>;
|
|
45
|
+
invalidIndex: _angular_core.Signal<number>;
|
|
46
|
+
value: _angular_core.WritableSignal<any>;
|
|
47
|
+
validatorSignal: _angular_core.WritableSignal<boolean>;
|
|
48
|
+
disabledSignal: _angular_core.WritableSignal<boolean>;
|
|
49
|
+
requiredSignal: _angular_core.WritableSignal<boolean>;
|
|
50
|
+
patternSignal: _angular_core.WritableSignal<any>;
|
|
51
|
+
messageSignal: _angular_core.WritableSignal<string | string[]>;
|
|
52
|
+
requiredComputed: _angular_core.Signal<boolean>;
|
|
53
|
+
disabledComputed: _angular_core.Signal<boolean>;
|
|
54
|
+
validatorComputed: _angular_core.Signal<boolean>;
|
|
55
|
+
patternComputed: _angular_core.Signal<any>;
|
|
56
|
+
messageComputed: _angular_core.Signal<string | string[]>;
|
|
57
|
+
invalidInputValidator: _angular_core.WritableSignal<boolean>;
|
|
58
|
+
onChange: (value: any) => void;
|
|
59
|
+
onTouched: () => void;
|
|
60
|
+
writeValue(value: any): void;
|
|
61
|
+
registerOnChange(fn: (value: any) => void): void;
|
|
62
|
+
registerOnTouched(fn: () => void): void;
|
|
63
|
+
setDisabledState(disabled: boolean): void;
|
|
64
|
+
formControlValidator(): void;
|
|
65
|
+
readonly validator: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
66
|
+
readonly label: _angular_core.InputSignal<string>;
|
|
67
|
+
readonly labelWidth: _angular_core.InputSignalWithTransform<string, XNumber>;
|
|
68
|
+
readonly labelAlign: _angular_core.InputSignal<_ng_nest_ui_core.XAlign>;
|
|
69
|
+
readonly justify: _angular_core.InputSignal<_ng_nest_ui_core.XJustify>;
|
|
70
|
+
readonly align: _angular_core.InputSignal<_ng_nest_ui_core.XAlign>;
|
|
71
|
+
readonly direction: _angular_core.InputSignal<_ng_nest_ui_core.XDirection>;
|
|
72
|
+
readonly size: _angular_core.InputSignal<_ng_nest_ui_core.XSize>;
|
|
73
|
+
readonly placeholder: _angular_core.InputSignal<string | string[]>;
|
|
74
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
75
|
+
readonly required: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
76
|
+
readonly readonly: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
77
|
+
readonly valueTpl: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
78
|
+
readonly valueTplContext: _angular_core.InputSignal<unknown>;
|
|
79
|
+
readonly before: _angular_core.InputSignal<_ng_nest_ui_core.XTemplate | undefined>;
|
|
80
|
+
readonly after: _angular_core.InputSignal<_ng_nest_ui_core.XTemplate | undefined>;
|
|
81
|
+
readonly pattern: _angular_core.InputSignal<RegExp | RegExp[]>;
|
|
82
|
+
readonly message: _angular_core.InputSignal<string | string[]>;
|
|
83
|
+
readonly active: _angular_core.ModelSignal<boolean>;
|
|
84
|
+
readonly pointer: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
85
|
+
readonly inputValidator: _angular_core.InputSignal<((value: any) => boolean) | undefined>;
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* Form Property
|
|
89
|
+
*/
|
|
90
|
+
declare class XFormProperty extends XFormProperty_base {
|
|
91
|
+
/**
|
|
92
|
+
* @zh_CN 表单 FormGroup
|
|
93
|
+
* @en_US Form FormGroup
|
|
94
|
+
* @default new UntypedFormGroup({})
|
|
95
|
+
*/
|
|
96
|
+
readonly formGroup: _angular_core.InputSignal<UntypedFormGroup>;
|
|
97
|
+
/**
|
|
98
|
+
* @zh_CN 表单名称
|
|
99
|
+
* @en_US Form name
|
|
100
|
+
*/
|
|
101
|
+
readonly title: _angular_core.InputSignal<string>;
|
|
102
|
+
/**
|
|
103
|
+
* @zh_CN 控件间距
|
|
104
|
+
* @en_US Control spacing
|
|
105
|
+
*/
|
|
106
|
+
readonly space: _angular_core.InputSignalWithTransform<string, XNumber>;
|
|
107
|
+
/**
|
|
108
|
+
* @zh_CN 控件宽度,24栅格
|
|
109
|
+
* @en_US Control width, 24 grid
|
|
110
|
+
*/
|
|
111
|
+
readonly span: _angular_core.InputSignalWithTransform<number | null, XNumber>;
|
|
112
|
+
/**
|
|
113
|
+
* @zh_CN 标签后缀
|
|
114
|
+
* @en_US Label suffix
|
|
115
|
+
*/
|
|
116
|
+
readonly labelSuffix: _angular_core.InputSignal<string>;
|
|
117
|
+
/**
|
|
118
|
+
* @zh_CN 表单控件
|
|
119
|
+
* @en_US Form control
|
|
120
|
+
*/
|
|
121
|
+
readonly controls: _angular_core.InputSignal<XFormControlOption[] | XFormRow[]>;
|
|
122
|
+
/**
|
|
123
|
+
* @zh_CN 表单宽度
|
|
124
|
+
* @en_US Form width
|
|
125
|
+
*/
|
|
126
|
+
readonly width: _angular_core.InputSignalWithTransform<string, XNumber>;
|
|
127
|
+
/**
|
|
128
|
+
* @zh_CN 自定义模板
|
|
129
|
+
* @en_US Custom template
|
|
130
|
+
*/
|
|
131
|
+
readonly controlTpl: _angular_core.InputSignal<XFormTemplate>;
|
|
132
|
+
/**
|
|
133
|
+
* @zh_CN 禁用
|
|
134
|
+
* @en_US Disabled
|
|
135
|
+
*/
|
|
136
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, XBoolean>;
|
|
137
|
+
/**
|
|
138
|
+
* @zh_CN Submit
|
|
139
|
+
* @en_US Submit
|
|
140
|
+
*/
|
|
141
|
+
readonly xSubmit: _angular_core.OutputEmitterRef<SubmitEvent>;
|
|
142
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XFormProperty, never>;
|
|
143
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XFormProperty, "x-form-property", never, { "formGroup": { "alias": "formGroup"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "space": { "alias": "space"; "required": false; "isSignal": true; }; "span": { "alias": "span"; "required": false; "isSignal": true; }; "labelSuffix": { "alias": "labelSuffix"; "required": false; "isSignal": true; }; "controls": { "alias": "controls"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "controlTpl": { "alias": "controlTpl"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "xSubmit": "xSubmit"; }, never, never, true, never>;
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* @zh_CN 控件对象
|
|
147
|
+
* @en_US Control object
|
|
148
|
+
*/
|
|
149
|
+
interface XControlOption {
|
|
150
|
+
/**
|
|
151
|
+
* @zh_CN 列 Id
|
|
152
|
+
* @en_US The column Id
|
|
153
|
+
*/
|
|
154
|
+
id?: any;
|
|
155
|
+
/**
|
|
156
|
+
* @zh_CN 值
|
|
157
|
+
* @en_US Value
|
|
158
|
+
*/
|
|
159
|
+
value?: any;
|
|
160
|
+
/**
|
|
161
|
+
* @zh_CN 初始默认值
|
|
162
|
+
* @en_US Default value
|
|
163
|
+
*/
|
|
164
|
+
defaultValue?: any;
|
|
165
|
+
/**
|
|
166
|
+
* @zh_CN 控件类型
|
|
167
|
+
* @en_US Control type
|
|
168
|
+
*/
|
|
169
|
+
control?: XControlType;
|
|
170
|
+
/**
|
|
171
|
+
* @zh_CN 禁用
|
|
172
|
+
* @en_US Disabled
|
|
173
|
+
*/
|
|
174
|
+
disabled?: boolean;
|
|
175
|
+
/**
|
|
176
|
+
* @zh_CN 只读
|
|
177
|
+
* @en_US Read only
|
|
178
|
+
*/
|
|
179
|
+
readonly?: boolean;
|
|
180
|
+
/**
|
|
181
|
+
* @zh_CN 必填
|
|
182
|
+
* @en_US Required
|
|
183
|
+
*/
|
|
184
|
+
required?: boolean;
|
|
185
|
+
/**
|
|
186
|
+
* @zh_CN 隐藏
|
|
187
|
+
* @en_US Hide
|
|
188
|
+
*/
|
|
189
|
+
hidden?: boolean;
|
|
190
|
+
/**
|
|
191
|
+
* @zh_CN 列宽
|
|
192
|
+
* @en_US Column width
|
|
193
|
+
*/
|
|
194
|
+
span?: number;
|
|
195
|
+
/**
|
|
196
|
+
* @zh_CN 正则验证规则
|
|
197
|
+
* @en_US Regular validation rules
|
|
198
|
+
*/
|
|
199
|
+
pattern?: RegExp | RegExp[];
|
|
200
|
+
/**
|
|
201
|
+
* @zh_CN 验证不通过提示文字
|
|
202
|
+
* @en_US Verification failed prompt text
|
|
203
|
+
*/
|
|
204
|
+
message?: string | string[];
|
|
205
|
+
/**
|
|
206
|
+
* @zh_CN 输入框的验证函数
|
|
207
|
+
* @en_US Validation function of input box
|
|
208
|
+
*/
|
|
209
|
+
inputValidator?: (value: any) => boolean;
|
|
210
|
+
/**
|
|
211
|
+
* @zh_CN 外部改变事件
|
|
212
|
+
* @en_US External change event
|
|
213
|
+
*/
|
|
214
|
+
change?: () => void;
|
|
215
|
+
/**
|
|
216
|
+
* @zh_CN 自定义属性
|
|
217
|
+
* @en_US Custom attributes
|
|
218
|
+
*/
|
|
219
|
+
[property: string]: any;
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* @zh_CN 控件对象
|
|
223
|
+
* @en_US Control object
|
|
224
|
+
*/
|
|
225
|
+
declare class XControl extends XIdentity implements XControlOption {
|
|
226
|
+
/**
|
|
227
|
+
* @zh_CN 值
|
|
228
|
+
* @en_US Value
|
|
229
|
+
*/
|
|
230
|
+
value?: any;
|
|
231
|
+
/**
|
|
232
|
+
* @zh_CN 开启这个,执行 reset 的时候初始为设置的 value,默认为 null
|
|
233
|
+
* @en_US Enable this. When performing a reset, the initial value is the set value, which defaults to null
|
|
234
|
+
*/
|
|
235
|
+
nonNullable?: any;
|
|
236
|
+
/**
|
|
237
|
+
* @zh_CN 控件类型
|
|
238
|
+
* @en_US Control type
|
|
239
|
+
*/
|
|
240
|
+
control?: XControlType;
|
|
241
|
+
/**
|
|
242
|
+
* @zh_CN 禁用
|
|
243
|
+
* @en_US Disabled
|
|
244
|
+
*/
|
|
245
|
+
disabled?: boolean;
|
|
246
|
+
/**
|
|
247
|
+
* @zh_CN 只读
|
|
248
|
+
* @en_US Read only
|
|
249
|
+
*/
|
|
250
|
+
readonly?: boolean;
|
|
251
|
+
/**
|
|
252
|
+
* @zh_CN 必填
|
|
253
|
+
* @en_US Required
|
|
254
|
+
*/
|
|
255
|
+
required?: boolean;
|
|
256
|
+
/**
|
|
257
|
+
* @zh_CN 隐藏
|
|
258
|
+
* @en_US Hide
|
|
259
|
+
*/
|
|
260
|
+
hidden?: boolean;
|
|
261
|
+
/**
|
|
262
|
+
* @zh_CN 列宽
|
|
263
|
+
* @en_US Column width
|
|
264
|
+
*/
|
|
265
|
+
span?: number;
|
|
266
|
+
/**
|
|
267
|
+
* @zh_CN 正则验证规则
|
|
268
|
+
* @en_US Regular validation rules
|
|
269
|
+
*/
|
|
270
|
+
pattern?: RegExp | RegExp[];
|
|
271
|
+
/**
|
|
272
|
+
* @zh_CN 验证不通过提示文字
|
|
273
|
+
* @en_US Verification failed prompt text
|
|
274
|
+
*/
|
|
275
|
+
message?: string | string[];
|
|
276
|
+
/**
|
|
277
|
+
* @zh_CN 输入框的验证函数
|
|
278
|
+
* @en_US Validation function of input box
|
|
279
|
+
*/
|
|
280
|
+
inputValidator?: (value: any) => boolean;
|
|
281
|
+
/**
|
|
282
|
+
* @zh_CN 外部改变事件
|
|
283
|
+
* @en_US External change event
|
|
284
|
+
*/
|
|
285
|
+
change?: () => void;
|
|
286
|
+
/**
|
|
287
|
+
* @zh_CN 设置验证
|
|
288
|
+
* @en_US Set verification
|
|
289
|
+
*/
|
|
290
|
+
setValidators?: () => void;
|
|
291
|
+
/**
|
|
292
|
+
* @zh_CN 自定义属性
|
|
293
|
+
* @en_US Custom attributes
|
|
294
|
+
*/
|
|
295
|
+
[property: string]: any;
|
|
296
|
+
constructor(option?: XControlOption);
|
|
297
|
+
}
|
|
298
|
+
/**
|
|
299
|
+
* @zh_CN 表单行对象
|
|
300
|
+
* @en_US Form row object
|
|
301
|
+
*/
|
|
302
|
+
interface XFormRow {
|
|
303
|
+
/**
|
|
304
|
+
* @zh_CN 行标题
|
|
305
|
+
* @en_US Row header
|
|
306
|
+
*/
|
|
307
|
+
title?: string;
|
|
308
|
+
/**
|
|
309
|
+
* @zh_CN 行图标
|
|
310
|
+
* @en_US Row icon
|
|
311
|
+
*/
|
|
312
|
+
icon?: string;
|
|
313
|
+
/**
|
|
314
|
+
* @zh_CN 行中的控件
|
|
315
|
+
* @en_US Control in row
|
|
316
|
+
*/
|
|
317
|
+
controls: XFormControlOption[];
|
|
318
|
+
/**
|
|
319
|
+
* @zh_CN 隐藏
|
|
320
|
+
* @en_US Hidden
|
|
321
|
+
*/
|
|
322
|
+
hidden?: XBoolean;
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* Control
|
|
326
|
+
* @selector x-control
|
|
327
|
+
* @decorator component
|
|
328
|
+
*/
|
|
329
|
+
declare const XControlPrefix = "x-control";
|
|
330
|
+
/**
|
|
331
|
+
* Control Property
|
|
332
|
+
*/
|
|
333
|
+
declare class XControlProperty {
|
|
334
|
+
/**
|
|
335
|
+
* @zh_CN 控件对象
|
|
336
|
+
* @en_US Control object
|
|
337
|
+
*/
|
|
338
|
+
readonly option: _angular_core.ModelSignal<XControl>;
|
|
339
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XControlProperty, never>;
|
|
340
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XControlProperty, "x-control-property", never, { "option": { "alias": "option"; "required": true; "isSignal": true; }; }, { "option": "optionChange"; }, never, never, true, never>;
|
|
341
|
+
}
|
|
342
|
+
/**
|
|
343
|
+
* Form control
|
|
344
|
+
*/
|
|
345
|
+
declare class XFormControl extends UntypedFormControl {
|
|
346
|
+
/**
|
|
347
|
+
* @zh_CN 提示信息
|
|
348
|
+
* @en_US Prompt information
|
|
349
|
+
*/
|
|
350
|
+
messages?: string[];
|
|
351
|
+
}
|
|
352
|
+
/**
|
|
353
|
+
* @zh_CN 表单控件参数
|
|
354
|
+
* @en_US Form control option
|
|
355
|
+
*/
|
|
356
|
+
type XFormControlOption = XInputControlOption | XSelectControlOption | XCascadeControlOption | XCheckboxControlOption | XColorPickerControlOption | XDatePickerControlOption | XInputNumberControlOption | XRadioControlOption | XRateControlOption | XSliderSelectControlOption | XSwitchControlOption | XTimePickerControlOption | XFindControlOption | XTemplateControlOption;
|
|
357
|
+
/**
|
|
358
|
+
* @zh_CN 表单控件组件
|
|
359
|
+
* @en_US Form control component
|
|
360
|
+
*/
|
|
361
|
+
type XFormControlComponent = XInputComponent | XSelectComponent | XCascadeComponent | XCheckboxComponent | XColorPickerComponent | XDatePickerComponent | XInputNumberComponent | XRadioComponent | XRateComponent | XSliderSelectComponent | XSwitchComponent | XTimePickerComponent | XTextareaComponent | XFindComponent | XAutoCompleteComponent;
|
|
362
|
+
/**
|
|
363
|
+
* @zh_CN 表单控件类型
|
|
364
|
+
* @en_US Form control type
|
|
365
|
+
*/
|
|
366
|
+
type XFormControlType = XInputControl | XSelectControl | XCascadeControl | XCheckboxControl | XColorPickerControl | XDatePickerControl | XInputNumberControl | XRadioControl | XRateControl | XSliderSelectControl | XSwitchControl | XTimePickerControl | XTextareaControl | XFindControl | XAutoCompleteControl;
|
|
367
|
+
/**
|
|
368
|
+
* @zh_CN 表单控件类型
|
|
369
|
+
* @en_US Form control type
|
|
370
|
+
*/
|
|
371
|
+
type XControlType = 'input' | 'select' | 'cascade' | 'checkbox' | 'color-picker' | 'date-picker' | 'input-number' | 'radio' | 'rate' | 'slider-select' | 'switch' | 'time-picker' | 'textarea' | 'find' | 'auto-complete' | 'template';
|
|
372
|
+
/**
|
|
373
|
+
* Input Control
|
|
374
|
+
*/
|
|
375
|
+
interface XInputControlOption extends XControlOption, XInputOption {
|
|
376
|
+
}
|
|
377
|
+
declare class XInputControl extends XControl {
|
|
378
|
+
constructor(option?: XInputControlOption);
|
|
379
|
+
}
|
|
380
|
+
/**
|
|
381
|
+
* Select Control
|
|
382
|
+
*/
|
|
383
|
+
interface XSelectControlOption extends XControlOption, XSelectOption {
|
|
384
|
+
}
|
|
385
|
+
declare class XSelectControl extends XControl {
|
|
386
|
+
constructor(option?: XSelectControlOption);
|
|
387
|
+
}
|
|
388
|
+
/**
|
|
389
|
+
* Cascade Control
|
|
390
|
+
*/
|
|
391
|
+
interface XCascadeControlOption extends XControlOption, XCascadeOption {
|
|
392
|
+
}
|
|
393
|
+
declare class XCascadeControl extends XControl {
|
|
394
|
+
constructor(option?: XCascadeControlOption);
|
|
395
|
+
}
|
|
396
|
+
/**
|
|
397
|
+
* Checkbox Control
|
|
398
|
+
*/
|
|
399
|
+
interface XCheckboxControlOption extends XControlOption, XCheckboxOption {
|
|
400
|
+
}
|
|
401
|
+
declare class XCheckboxControl extends XControl {
|
|
402
|
+
constructor(option?: XCheckboxControlOption);
|
|
403
|
+
}
|
|
404
|
+
/**
|
|
405
|
+
* ColorPicker Control
|
|
406
|
+
*/
|
|
407
|
+
interface XColorPickerControlOption extends XControlOption, XColorPickerOption {
|
|
408
|
+
}
|
|
409
|
+
declare class XColorPickerControl extends XControl {
|
|
410
|
+
constructor(option?: XColorPickerControlOption);
|
|
411
|
+
}
|
|
412
|
+
/**
|
|
413
|
+
* DatePicker Control
|
|
414
|
+
*/
|
|
415
|
+
interface XDatePickerControlOption extends XControlOption, XDatePickerOption {
|
|
416
|
+
}
|
|
417
|
+
declare class XDatePickerControl extends XControl {
|
|
418
|
+
constructor(option?: XDatePickerControlOption);
|
|
419
|
+
}
|
|
420
|
+
/**
|
|
421
|
+
* InputNumber Control
|
|
422
|
+
*/
|
|
423
|
+
interface XInputNumberControlOption extends XControlOption, XInputNumberOption {
|
|
424
|
+
}
|
|
425
|
+
declare class XInputNumberControl extends XControl {
|
|
426
|
+
constructor(option?: XInputNumberControlOption);
|
|
427
|
+
}
|
|
428
|
+
/**
|
|
429
|
+
* Radio Control
|
|
430
|
+
*/
|
|
431
|
+
interface XRadioControlOption extends XControlOption, XRadioOption {
|
|
432
|
+
}
|
|
433
|
+
declare class XRadioControl extends XControl {
|
|
434
|
+
constructor(option?: XRadioControlOption);
|
|
435
|
+
}
|
|
436
|
+
/**
|
|
437
|
+
* Rate Control
|
|
438
|
+
*/
|
|
439
|
+
interface XRateControlOption extends XControlOption, XRateOption {
|
|
440
|
+
}
|
|
441
|
+
declare class XRateControl extends XControl {
|
|
442
|
+
constructor(option?: XRateControlOption);
|
|
443
|
+
}
|
|
444
|
+
/**
|
|
445
|
+
* SliderSelect Control
|
|
446
|
+
*/
|
|
447
|
+
interface XSliderSelectControlOption extends XControlOption, XSliderSelectOption {
|
|
448
|
+
}
|
|
449
|
+
declare class XSliderSelectControl extends XControl {
|
|
450
|
+
constructor(option?: XSliderSelectControlOption);
|
|
451
|
+
}
|
|
452
|
+
/**
|
|
453
|
+
* Switch Control
|
|
454
|
+
*/
|
|
455
|
+
interface XSwitchControlOption extends XControlOption, XSwitchOption {
|
|
456
|
+
}
|
|
457
|
+
declare class XSwitchControl extends XControl {
|
|
458
|
+
constructor(option?: XSwitchControlOption);
|
|
459
|
+
}
|
|
460
|
+
/**
|
|
461
|
+
* TimePicker Control
|
|
462
|
+
*/
|
|
463
|
+
interface XTimePickerControlOption extends XControlOption, XTimePickerOption {
|
|
464
|
+
}
|
|
465
|
+
declare class XTimePickerControl extends XControl {
|
|
466
|
+
constructor(option?: XTimePickerControlOption);
|
|
467
|
+
}
|
|
468
|
+
/**
|
|
469
|
+
* Textarea Control
|
|
470
|
+
*/
|
|
471
|
+
interface XTextareaControlOption extends XControlOption, XTextareaOption {
|
|
472
|
+
}
|
|
473
|
+
declare class XTextareaControl extends XControl {
|
|
474
|
+
constructor(option?: XTextareaControlOption);
|
|
475
|
+
}
|
|
476
|
+
/**
|
|
477
|
+
* Find Control
|
|
478
|
+
*/
|
|
479
|
+
interface XFindControlOption extends XControlOption, XFindOption {
|
|
480
|
+
}
|
|
481
|
+
declare class XFindControl extends XControl {
|
|
482
|
+
constructor(option?: XFindControlOption);
|
|
483
|
+
}
|
|
484
|
+
/**
|
|
485
|
+
* AutoComplete Control
|
|
486
|
+
*/
|
|
487
|
+
interface XAutoCompleteControlOption extends XControlOption, XAutoCompleteOption {
|
|
488
|
+
}
|
|
489
|
+
declare class XAutoCompleteControl extends XControl {
|
|
490
|
+
constructor(option?: XAutoCompleteControlOption);
|
|
491
|
+
}
|
|
492
|
+
/**
|
|
493
|
+
* Template Control
|
|
494
|
+
*/
|
|
495
|
+
interface XTemplateControlOption extends XControlOption, XFormOption {
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
declare class XFormComponent extends XFormProperty implements OnChanges, AfterViewInit {
|
|
499
|
+
controlsType: _angular_core.Signal<"rows" | "controls">;
|
|
500
|
+
controlComponents: {
|
|
501
|
+
[property: string]: XFormControlComponent;
|
|
502
|
+
};
|
|
503
|
+
controlTypes: {
|
|
504
|
+
[property: string]: XControl;
|
|
505
|
+
};
|
|
506
|
+
formId: string;
|
|
507
|
+
classMap: _angular_core.Signal<{
|
|
508
|
+
[x: string]: boolean;
|
|
509
|
+
}>;
|
|
510
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
511
|
+
ngAfterViewInit(): void;
|
|
512
|
+
setDisabled(): void;
|
|
513
|
+
setValidator(): void;
|
|
514
|
+
resetValidator(): void;
|
|
515
|
+
getValidatorMessages(): string[];
|
|
516
|
+
onSubmit(event: SubmitEvent): void;
|
|
517
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XFormComponent, never>;
|
|
518
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XFormComponent, "x-form", never, {}, {}, never, ["*"], true, never>;
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
declare class XControlComponent extends XControlProperty implements OnInit, AfterViewInit, OnDestroy {
|
|
522
|
+
private i18n;
|
|
523
|
+
private viewContainerRef;
|
|
524
|
+
private _sharedProps;
|
|
525
|
+
private validatorFns;
|
|
526
|
+
private formControl;
|
|
527
|
+
private _unSubject;
|
|
528
|
+
value: _angular_core.WritableSignal<any>;
|
|
529
|
+
form: XFormComponent;
|
|
530
|
+
locale: _angular_core.Signal<XI18nForm | {
|
|
531
|
+
required: string;
|
|
532
|
+
}>;
|
|
533
|
+
portal: _angular_core.WritableSignal<Portal<any> | null>;
|
|
534
|
+
componentPortal: ComponentPortal<XFormControlComponent>;
|
|
535
|
+
componentRef: ComponentRef<XFormControlComponent>;
|
|
536
|
+
portalOutlet: _angular_core.Signal<CdkPortalOutlet>;
|
|
537
|
+
constructor();
|
|
538
|
+
ngOnInit(): void;
|
|
539
|
+
ngAfterViewInit(): void;
|
|
540
|
+
ngOnDestroy(): void;
|
|
541
|
+
setValidators(): void;
|
|
542
|
+
setOption(): void;
|
|
543
|
+
setPattern(): void;
|
|
544
|
+
getPatternMsg(pattern: string): any;
|
|
545
|
+
setMessages(state: FormControlStatus): void;
|
|
546
|
+
createComponentPortal(option: XFormControlOption): ComponentPortal<XInputComponent> | ComponentPortal<XSelectComponent> | ComponentPortal<XCheckboxComponent> | ComponentPortal<XRadioComponent> | ComponentPortal<XSwitchComponent> | ComponentPortal<XRateComponent> | ComponentPortal<XDatePickerComponent> | ComponentPortal<XTimePickerComponent> | ComponentPortal<XInputNumberComponent> | ComponentPortal<XSliderSelectComponent> | ComponentPortal<XCascadeComponent> | ComponentPortal<XColorPickerComponent> | ComponentPortal<XTextareaComponent> | ComponentPortal<XFindComponent> | ComponentPortal<XAutoCompleteComponent>;
|
|
547
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XControlComponent, never>;
|
|
548
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<XControlComponent, "x-control", never, {}, {}, never, never, true, never>;
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
declare class XFormModule {
|
|
552
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<XFormModule, never>;
|
|
553
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<XFormModule, never, [typeof XFormComponent, typeof XControlComponent], [typeof XFormComponent, typeof XControlComponent]>;
|
|
554
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<XFormModule>;
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
export { XAutoCompleteControl, XCascadeControl, XCheckboxControl, XColorPickerControl, XControl, XControlComponent, XControlPrefix, XControlProperty, XDatePickerControl, XFindControl, XFormComponent, XFormControl, XFormModule, XFormPrefix, XFormProperty, XInputControl, XInputNumberControl, XRadioControl, XRateControl, XSelectControl, XSliderSelectControl, XSwitchControl, XTextareaControl, XTimePickerControl };
|
|
558
|
+
export type { XAutoCompleteControlOption, XCascadeControlOption, XCheckboxControlOption, XColorPickerControlOption, XControlOption, XControlType, XDatePickerControlOption, XFindControlOption, XFormControlComponent, XFormControlOption, XFormControlType, XFormRow, XFormTemplate, XInputControlOption, XInputNumberControlOption, XRadioControlOption, XRateControlOption, XSelectControlOption, XSliderSelectControlOption, XSwitchControlOption, XTemplateControlOption, XTextareaControlOption, XTimePickerControlOption };
|
package/highlight/index.d.ts
CHANGED
|
@@ -1,5 +1,109 @@
|
|
|
1
|
+
import * as _angular_platform_browser from '@angular/platform-browser';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { ElementRef } from '@angular/core';
|
|
4
|
+
import * as _ng_nest_ui_core from '@ng-nest/ui/core';
|
|
5
|
+
import { XBoolean } from '@ng-nest/ui/core';
|
|
6
|
+
|
|
1
7
|
/**
|
|
2
|
-
*
|
|
8
|
+
* Highlight
|
|
9
|
+
* @selector x-highlight
|
|
10
|
+
* @decorator component
|
|
3
11
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
12
|
+
declare const XHighlightPrefix = "x-highlight";
|
|
13
|
+
declare const XHighlightProperty_base: new () => {
|
|
14
|
+
config: _ng_nest_ui_core.XHighlightConfig | undefined;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Highlight Property
|
|
18
|
+
*/
|
|
19
|
+
declare class XHighlightProperty extends XHighlightProperty_base {
|
|
20
|
+
/**
|
|
21
|
+
* @zh_CN 代码类型
|
|
22
|
+
* @en_US Code type
|
|
23
|
+
*/
|
|
24
|
+
readonly type: i0.InputSignal<string | undefined>;
|
|
25
|
+
/**
|
|
26
|
+
* @zh_CN 数据
|
|
27
|
+
* @en_US Data
|
|
28
|
+
*/
|
|
29
|
+
readonly data: i0.InputSignal<string | undefined>;
|
|
30
|
+
/**
|
|
31
|
+
* @zh_CN 高亮行数据
|
|
32
|
+
* @en_US Highlight row data
|
|
33
|
+
*/
|
|
34
|
+
readonly highlightLines: i0.InputSignal<XHighlightLines>;
|
|
35
|
+
/**
|
|
36
|
+
* @zh_CN 显示复制按钮
|
|
37
|
+
* @en_US display copy
|
|
38
|
+
*/
|
|
39
|
+
readonly showCopy: i0.InputSignalWithTransform<boolean, XBoolean>;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<XHighlightProperty, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<XHighlightProperty, "x-highlight-property", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "highlightLines": { "alias": "highlightLines"; "required": false; "isSignal": true; }; "showCopy": { "alias": "showCopy"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @zh_CN 高亮行数据
|
|
45
|
+
* 示例:{'danger': '1, 2, 4', 'primary': '7-10, 12, 15-20'}
|
|
46
|
+
* @en_US Highlight row data
|
|
47
|
+
* Example:{'danger': '1, 2, 4', 'primary': '7-10, 12, 15-20'}
|
|
48
|
+
*/
|
|
49
|
+
interface XHighlightLines {
|
|
50
|
+
/**
|
|
51
|
+
* @zh_CN 主色
|
|
52
|
+
* @en_US Primary
|
|
53
|
+
*/
|
|
54
|
+
primary?: string;
|
|
55
|
+
/**
|
|
56
|
+
* @zh_CN 成功
|
|
57
|
+
* @en_US Success
|
|
58
|
+
*/
|
|
59
|
+
success?: string;
|
|
60
|
+
/**
|
|
61
|
+
* @zh_CN 警告
|
|
62
|
+
* @en_US Warning
|
|
63
|
+
*/
|
|
64
|
+
warning?: string;
|
|
65
|
+
/**
|
|
66
|
+
* @zh_CN 危险
|
|
67
|
+
* @en_US Danger
|
|
68
|
+
*/
|
|
69
|
+
danger?: string;
|
|
70
|
+
/**
|
|
71
|
+
* @zh_CN 信息
|
|
72
|
+
* @en_US Info
|
|
73
|
+
*/
|
|
74
|
+
info?: string;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
declare class XHighlightComponent extends XHighlightProperty {
|
|
78
|
+
className: string;
|
|
79
|
+
codeRef: i0.Signal<ElementRef<HTMLElement>>;
|
|
80
|
+
lineHeight: i0.WritableSignal<number>;
|
|
81
|
+
iconCopy: i0.WritableSignal<string>;
|
|
82
|
+
platformId: Object;
|
|
83
|
+
isBrowser: boolean;
|
|
84
|
+
private sanitizer;
|
|
85
|
+
private highlight;
|
|
86
|
+
display: i0.Signal<_angular_platform_browser.SafeHtml | undefined>;
|
|
87
|
+
createLineNumbers(lines: string[]): string;
|
|
88
|
+
createHighlightLines(): string;
|
|
89
|
+
onCopy(): Promise<void>;
|
|
90
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<XHighlightComponent, never>;
|
|
91
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<XHighlightComponent, "x-highlight", never, {}, {}, never, never, true, never>;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
declare class XHighlightModule {
|
|
95
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<XHighlightModule, never>;
|
|
96
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<XHighlightModule, never, [typeof XHighlightComponent], [typeof XHighlightComponent]>;
|
|
97
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<XHighlightModule>;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
declare class XHighlightService {
|
|
101
|
+
platformId: Object;
|
|
102
|
+
isBrowser: boolean;
|
|
103
|
+
prism: any;
|
|
104
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<XHighlightService, never>;
|
|
105
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<XHighlightService>;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export { XHighlightComponent, XHighlightModule, XHighlightPrefix, XHighlightProperty, XHighlightService };
|
|
109
|
+
export type { XHighlightLines };
|