@ni/nimble-angular 12.1.0 → 12.1.2
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/bundles/ni-nimble-angular.umd.js +423 -36
- package/bundles/ni-nimble-angular.umd.js.map +1 -1
- package/directives/radio/nimble-radio-control-value-accessor.directive.d.ts +2 -2
- package/directives/radio/nimble-radio.module.d.ts +2 -1
- package/esm2015/directives/radio/nimble-radio-control-value-accessor.directive.js +7 -7
- package/esm2015/directives/radio/nimble-radio.module.js +5 -4
- package/esm2015/thirdparty/directives/control_value_accessor.js +215 -0
- package/esm2015/thirdparty/directives/radio_control_value_accessor.js +197 -0
- package/fesm2015/ni-nimble-angular.js +400 -10
- package/fesm2015/ni-nimble-angular.js.map +1 -1
- package/package.json +2 -2
- package/thirdparty/directives/control_value_accessor.d.ts +87 -0
- package/thirdparty/directives/radio_control_value_accessor.d.ts +134 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@ni/nimble-components/dist/esm/breadcrumb/types'), require('@angular/common'), require('@ni/nimble-components/dist/esm/breadcrumb'), require('@angular/router'), require('@ni/nimble-components/dist/esm/breadcrumb-item'), require('@ni/nimble-components/dist/esm/button/types'), require('@ni/nimble-components/dist/esm/button'), require('@ni/nimble-components/dist/esm/card-button'), require('@angular/forms'), require('@ni/nimble-components/dist/esm/checkbox'), require('@ni/nimble-components/dist/esm/combobox/types'), require('@ni/nimble-components/dist/esm/combobox'), require('@ni/nimble-components/dist/esm/dialog'), require('@ni/nimble-components/dist/esm/drawer/types'), require('@ni/nimble-components/dist/esm/drawer'), require('@ni/nimble-components/dist/esm/icons/add'), require('@ni/nimble-components/dist/esm/icons/arrow-down-right-and-arrow-up-left'), require('@ni/nimble-components/dist/esm/icons/arrow-expander-down'), require('@ni/nimble-components/dist/esm/icons/arrow-expander-left'), require('@ni/nimble-components/dist/esm/icons/arrow-expander-right'), require('@ni/nimble-components/dist/esm/icons/arrow-expander-up'), require('@ni/nimble-components/dist/esm/icons/arrow-left-from-line'), require('@ni/nimble-components/dist/esm/icons/arrow-partial-rotate-left'), require('@ni/nimble-components/dist/esm/icons/arrow-right-to-line'), require('@ni/nimble-components/dist/esm/icons/arrow-rotate-right'), require('@ni/nimble-components/dist/esm/icons/arrow-u-rotate-left'), require('@ni/nimble-components/dist/esm/icons/arrow-up-left-and-arrow-down-right'), require('@ni/nimble-components/dist/esm/icons/arrows-maximize'), require('@ni/nimble-components/dist/esm/icons/arrows-repeat'), require('@ni/nimble-components/dist/esm/icons/bars'), require('@ni/nimble-components/dist/esm/icons/bell'), require('@ni/nimble-components/dist/esm/icons/bell-and-comment'), require('@ni/nimble-components/dist/esm/icons/bell-circle'), require('@ni/nimble-components/dist/esm/icons/bell-solid-circle'), require('@ni/nimble-components/dist/esm/icons/block-with-ribbon'), require('@ni/nimble-components/dist/esm/icons/book-magnifying-glass'), require('@ni/nimble-components/dist/esm/icons/calendar'), require('@ni/nimble-components/dist/esm/icons/chart-diagram'), require('@ni/nimble-components/dist/esm/icons/chart-diagram-child-focus'), require('@ni/nimble-components/dist/esm/icons/chart-diagram-parent-focus'), require('@ni/nimble-components/dist/esm/icons/chart-diagram-parent-focus-two-child'), require('@ni/nimble-components/dist/esm/icons/check'), require('@ni/nimble-components/dist/esm/icons/check-dot'), require('@ni/nimble-components/dist/esm/icons/circle'), require('@ni/nimble-components/dist/esm/icons/circle-filled'), require('@ni/nimble-components/dist/esm/icons/circle-broken'), require('@ni/nimble-components/dist/esm/icons/circle-check'), require('@ni/nimble-components/dist/esm/icons/circle-partial-broken'), require('@ni/nimble-components/dist/esm/icons/circle-slash'), require('@ni/nimble-components/dist/esm/icons/circle-x'), require('@ni/nimble-components/dist/esm/icons/clipboard'), require('@ni/nimble-components/dist/esm/icons/clock'), require('@ni/nimble-components/dist/esm/icons/clock-cog'), require('@ni/nimble-components/dist/esm/icons/clock-triangle'), require('@ni/nimble-components/dist/esm/icons/clone'), require('@ni/nimble-components/dist/esm/icons/cloud'), require('@ni/nimble-components/dist/esm/icons/cloud-upload'), require('@ni/nimble-components/dist/esm/icons/cloud-with-arrow'), require('@ni/nimble-components/dist/esm/icons/cog'), require('@ni/nimble-components/dist/esm/icons/cog-database'), require('@ni/nimble-components/dist/esm/icons/cog-database-inset'), require('@ni/nimble-components/dist/esm/icons/cog-small-cog'), require('@ni/nimble-components/dist/esm/icons/cog-zoomed'), require('@ni/nimble-components/dist/esm/icons/comment'), require('@ni/nimble-components/dist/esm/icons/computer-and-monitor'), require('@ni/nimble-components/dist/esm/icons/copy'), require('@ni/nimble-components/dist/esm/icons/copy-text'), require('@ni/nimble-components/dist/esm/icons/dashboard-builder'), require('@ni/nimble-components/dist/esm/icons/dashboard-builder-legend'), require('@ni/nimble-components/dist/esm/icons/dashboard-builder-templates'), require('@ni/nimble-components/dist/esm/icons/dashboard-builder-tile'), require('@ni/nimble-components/dist/esm/icons/database'), require('@ni/nimble-components/dist/esm/icons/database-check'), require('@ni/nimble-components/dist/esm/icons/desktop'), require('@ni/nimble-components/dist/esm/icons/donut-chart'), require('@ni/nimble-components/dist/esm/icons/dot-solid-dot-stroke'), require('@ni/nimble-components/dist/esm/icons/download'), require('@ni/nimble-components/dist/esm/icons/electronic-chip-zoomed'), require('@ni/nimble-components/dist/esm/icons/exclamation-mark'), require('@ni/nimble-components/dist/esm/icons/eye'), require('@ni/nimble-components/dist/esm/icons/fancy-a'), require('@ni/nimble-components/dist/esm/icons/file'), require('@ni/nimble-components/dist/esm/icons/file-drawer'), require('@ni/nimble-components/dist/esm/icons/file-search'), require('@ni/nimble-components/dist/esm/icons/filter'), require('@ni/nimble-components/dist/esm/icons/floppy-disk-checkmark'), require('@ni/nimble-components/dist/esm/icons/floppy-disk-star-arrow-right'), require('@ni/nimble-components/dist/esm/icons/floppy-disk-three-dots'), require('@ni/nimble-components/dist/esm/icons/folder'), require('@ni/nimble-components/dist/esm/icons/folder-open'), require('@ni/nimble-components/dist/esm/icons/forward-slash'), require('@ni/nimble-components/dist/esm/icons/four-dots-square'), require('@ni/nimble-components/dist/esm/icons/function'), require('@ni/nimble-components/dist/esm/icons/gauge-simple'), require('@ni/nimble-components/dist/esm/icons/grid-three-by-three'), require('@ni/nimble-components/dist/esm/icons/grid-two-by-two'), require('@ni/nimble-components/dist/esm/icons/hammer'), require('@ni/nimble-components/dist/esm/icons/hashtag'), require('@ni/nimble-components/dist/esm/icons/home'), require('@ni/nimble-components/dist/esm/icons/hourglass'), require('@ni/nimble-components/dist/esm/icons/indeterminant-checkbox'), require('@ni/nimble-components/dist/esm/icons/info'), require('@ni/nimble-components/dist/esm/icons/info-circle'), require('@ni/nimble-components/dist/esm/icons/key'), require('@ni/nimble-components/dist/esm/icons/laptop'), require('@ni/nimble-components/dist/esm/icons/layer-group'), require('@ni/nimble-components/dist/esm/icons/lightning-bolt'), require('@ni/nimble-components/dist/esm/icons/link'), require('@ni/nimble-components/dist/esm/icons/link-cancel'), require('@ni/nimble-components/dist/esm/icons/list'), require('@ni/nimble-components/dist/esm/icons/list-tree'), require('@ni/nimble-components/dist/esm/icons/list-tree-database'), require('@ni/nimble-components/dist/esm/icons/lock'), require('@ni/nimble-components/dist/esm/icons/magnifying-glass'), require('@ni/nimble-components/dist/esm/icons/markdown'), require('@ni/nimble-components/dist/esm/icons/minus'), require('@ni/nimble-components/dist/esm/icons/minus-wide'), require('@ni/nimble-components/dist/esm/icons/mobile'), require('@ni/nimble-components/dist/esm/icons/notebook'), require('@ni/nimble-components/dist/esm/icons/paste'), require('@ni/nimble-components/dist/esm/icons/pencil'), require('@ni/nimble-components/dist/esm/icons/pot-with-lid'), require('@ni/nimble-components/dist/esm/icons/question'), require('@ni/nimble-components/dist/esm/icons/running-arrow'), require('@ni/nimble-components/dist/esm/icons/server'), require('@ni/nimble-components/dist/esm/icons/share-nodes'), require('@ni/nimble-components/dist/esm/icons/share-square'), require('@ni/nimble-components/dist/esm/icons/shield-check'), require('@ni/nimble-components/dist/esm/icons/shield-xmark'), require('@ni/nimble-components/dist/esm/icons/signal-bars'), require('@ni/nimble-components/dist/esm/icons/sine-graph'), require('@ni/nimble-components/dist/esm/icons/skip-arrow'), require('@ni/nimble-components/dist/esm/icons/spinner'), require('@ni/nimble-components/dist/esm/icons/square-check'), require('@ni/nimble-components/dist/esm/icons/square-t'), require('@ni/nimble-components/dist/esm/icons/t'), require('@ni/nimble-components/dist/esm/icons/tablet'), require('@ni/nimble-components/dist/esm/icons/tag'), require('@ni/nimble-components/dist/esm/icons/tags'), require('@ni/nimble-components/dist/esm/icons/target-crosshairs'), require('@ni/nimble-components/dist/esm/icons/target-crosshairs-progress'), require('@ni/nimble-components/dist/esm/icons/three-dots-line'), require('@ni/nimble-components/dist/esm/icons/three-vertical-lines'), require('@ni/nimble-components/dist/esm/icons/thumbtack'), require('@ni/nimble-components/dist/esm/icons/tile-size'), require('@ni/nimble-components/dist/esm/icons/times'), require('@ni/nimble-components/dist/esm/icons/trash'), require('@ni/nimble-components/dist/esm/icons/triangle'), require('@ni/nimble-components/dist/esm/icons/true-false-rectangle'), require('@ni/nimble-components/dist/esm/icons/unlink'), require('@ni/nimble-components/dist/esm/icons/unlock'), require('@ni/nimble-components/dist/esm/icons/upload'), require('@ni/nimble-components/dist/esm/icons/user'), require('@ni/nimble-components/dist/esm/icons/watch'), require('@ni/nimble-components/dist/esm/icons/waveform'), require('@ni/nimble-components/dist/esm/icons/webvi-custom'), require('@ni/nimble-components/dist/esm/icons/webvi-host'), require('@ni/nimble-components/dist/esm/icons/window-code'), require('@ni/nimble-components/dist/esm/icons/window-text'), require('@ni/nimble-components/dist/esm/icons/wrench-hammer'), require('@ni/nimble-components/dist/esm/icons/xmark'), require('@ni/nimble-components/dist/esm/icons/xmark-check'), require('@ni/nimble-components/dist/esm/list-option'), require('@ni/nimble-components/dist/esm/menu'), require('@ni/nimble-components/dist/esm/menu-button'), require('@ni/nimble-components/dist/esm/menu-item'), require('@ni/nimble-components/dist/esm/number-field/types'), require('@ni/nimble-components/dist/esm/number-field'), require('@ni/nimble-components/dist/esm/radio-group'), require('@ni/nimble-components/dist/esm/select'), require('@ni/nimble-components/dist/esm/switch'), require('@ni/nimble-components/dist/esm/tab'), require('@ni/nimble-components/dist/esm/tab-panel'), require('@ni/nimble-components/dist/esm/tabs'), require('@ni/nimble-components/dist/esm/tabs-toolbar'), require('@ni/nimble-components/dist/esm/text-area/types'), require('@ni/nimble-components/dist/esm/text-area'), require('@ni/nimble-components/dist/esm/text-field/types'), require('@ni/nimble-components/dist/esm/text-field'), require('@ni/nimble-components/dist/esm/theme-provider/types'), require('@ni/nimble-components/dist/esm/theme-provider'), require('@ni/nimble-components/dist/esm/toggle-button'), require('@ni/nimble-components/dist/esm/toolbar'), require('@ni/nimble-components/dist/esm/tree-item'), require('@ni/nimble-components/dist/esm/tree-view/types'), require('@ni/nimble-components/dist/esm/tree-view'), require('@ni/nimble-components/dist/esm/tooltip/types'), require('@ni/nimble-components/dist/esm/tooltip'), require('@ni/nimble-components/dist/esm/testing/async-helpers'), require('@ni/nimble-components/dist/esm/patterns/button/types'), require('@ni/nimble-components/dist/esm/patterns/dropdown/types'), require('@ni/nimble-components/dist/esm/icon-base/types')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define('@ni/nimble-angular', ['exports', '@angular/core', '@ni/nimble-components/dist/esm/breadcrumb/types', '@angular/common', '@ni/nimble-components/dist/esm/breadcrumb', '@angular/router', '@ni/nimble-components/dist/esm/breadcrumb-item', '@ni/nimble-components/dist/esm/button/types', '@ni/nimble-components/dist/esm/button', '@ni/nimble-components/dist/esm/card-button', '@angular/forms', '@ni/nimble-components/dist/esm/checkbox', '@ni/nimble-components/dist/esm/combobox/types', '@ni/nimble-components/dist/esm/combobox', '@ni/nimble-components/dist/esm/dialog', '@ni/nimble-components/dist/esm/drawer/types', '@ni/nimble-components/dist/esm/drawer', '@ni/nimble-components/dist/esm/icons/add', '@ni/nimble-components/dist/esm/icons/arrow-down-right-and-arrow-up-left', '@ni/nimble-components/dist/esm/icons/arrow-expander-down', '@ni/nimble-components/dist/esm/icons/arrow-expander-left', '@ni/nimble-components/dist/esm/icons/arrow-expander-right', '@ni/nimble-components/dist/esm/icons/arrow-expander-up', '@ni/nimble-components/dist/esm/icons/arrow-left-from-line', '@ni/nimble-components/dist/esm/icons/arrow-partial-rotate-left', '@ni/nimble-components/dist/esm/icons/arrow-right-to-line', '@ni/nimble-components/dist/esm/icons/arrow-rotate-right', '@ni/nimble-components/dist/esm/icons/arrow-u-rotate-left', '@ni/nimble-components/dist/esm/icons/arrow-up-left-and-arrow-down-right', '@ni/nimble-components/dist/esm/icons/arrows-maximize', '@ni/nimble-components/dist/esm/icons/arrows-repeat', '@ni/nimble-components/dist/esm/icons/bars', '@ni/nimble-components/dist/esm/icons/bell', '@ni/nimble-components/dist/esm/icons/bell-and-comment', '@ni/nimble-components/dist/esm/icons/bell-circle', '@ni/nimble-components/dist/esm/icons/bell-solid-circle', '@ni/nimble-components/dist/esm/icons/block-with-ribbon', '@ni/nimble-components/dist/esm/icons/book-magnifying-glass', '@ni/nimble-components/dist/esm/icons/calendar', '@ni/nimble-components/dist/esm/icons/chart-diagram', '@ni/nimble-components/dist/esm/icons/chart-diagram-child-focus', '@ni/nimble-components/dist/esm/icons/chart-diagram-parent-focus', '@ni/nimble-components/dist/esm/icons/chart-diagram-parent-focus-two-child', '@ni/nimble-components/dist/esm/icons/check', '@ni/nimble-components/dist/esm/icons/check-dot', '@ni/nimble-components/dist/esm/icons/circle', '@ni/nimble-components/dist/esm/icons/circle-filled', '@ni/nimble-components/dist/esm/icons/circle-broken', '@ni/nimble-components/dist/esm/icons/circle-check', '@ni/nimble-components/dist/esm/icons/circle-partial-broken', '@ni/nimble-components/dist/esm/icons/circle-slash', '@ni/nimble-components/dist/esm/icons/circle-x', '@ni/nimble-components/dist/esm/icons/clipboard', '@ni/nimble-components/dist/esm/icons/clock', '@ni/nimble-components/dist/esm/icons/clock-cog', '@ni/nimble-components/dist/esm/icons/clock-triangle', '@ni/nimble-components/dist/esm/icons/clone', '@ni/nimble-components/dist/esm/icons/cloud', '@ni/nimble-components/dist/esm/icons/cloud-upload', '@ni/nimble-components/dist/esm/icons/cloud-with-arrow', '@ni/nimble-components/dist/esm/icons/cog', '@ni/nimble-components/dist/esm/icons/cog-database', '@ni/nimble-components/dist/esm/icons/cog-database-inset', '@ni/nimble-components/dist/esm/icons/cog-small-cog', '@ni/nimble-components/dist/esm/icons/cog-zoomed', '@ni/nimble-components/dist/esm/icons/comment', '@ni/nimble-components/dist/esm/icons/computer-and-monitor', '@ni/nimble-components/dist/esm/icons/copy', '@ni/nimble-components/dist/esm/icons/copy-text', '@ni/nimble-components/dist/esm/icons/dashboard-builder', '@ni/nimble-components/dist/esm/icons/dashboard-builder-legend', '@ni/nimble-components/dist/esm/icons/dashboard-builder-templates', '@ni/nimble-components/dist/esm/icons/dashboard-builder-tile', '@ni/nimble-components/dist/esm/icons/database', '@ni/nimble-components/dist/esm/icons/database-check', '@ni/nimble-components/dist/esm/icons/desktop', '@ni/nimble-components/dist/esm/icons/donut-chart', '@ni/nimble-components/dist/esm/icons/dot-solid-dot-stroke', '@ni/nimble-components/dist/esm/icons/download', '@ni/nimble-components/dist/esm/icons/electronic-chip-zoomed', '@ni/nimble-components/dist/esm/icons/exclamation-mark', '@ni/nimble-components/dist/esm/icons/eye', '@ni/nimble-components/dist/esm/icons/fancy-a', '@ni/nimble-components/dist/esm/icons/file', '@ni/nimble-components/dist/esm/icons/file-drawer', '@ni/nimble-components/dist/esm/icons/file-search', '@ni/nimble-components/dist/esm/icons/filter', '@ni/nimble-components/dist/esm/icons/floppy-disk-checkmark', '@ni/nimble-components/dist/esm/icons/floppy-disk-star-arrow-right', '@ni/nimble-components/dist/esm/icons/floppy-disk-three-dots', '@ni/nimble-components/dist/esm/icons/folder', '@ni/nimble-components/dist/esm/icons/folder-open', '@ni/nimble-components/dist/esm/icons/forward-slash', '@ni/nimble-components/dist/esm/icons/four-dots-square', '@ni/nimble-components/dist/esm/icons/function', '@ni/nimble-components/dist/esm/icons/gauge-simple', '@ni/nimble-components/dist/esm/icons/grid-three-by-three', '@ni/nimble-components/dist/esm/icons/grid-two-by-two', '@ni/nimble-components/dist/esm/icons/hammer', '@ni/nimble-components/dist/esm/icons/hashtag', '@ni/nimble-components/dist/esm/icons/home', '@ni/nimble-components/dist/esm/icons/hourglass', '@ni/nimble-components/dist/esm/icons/indeterminant-checkbox', '@ni/nimble-components/dist/esm/icons/info', '@ni/nimble-components/dist/esm/icons/info-circle', '@ni/nimble-components/dist/esm/icons/key', '@ni/nimble-components/dist/esm/icons/laptop', '@ni/nimble-components/dist/esm/icons/layer-group', '@ni/nimble-components/dist/esm/icons/lightning-bolt', '@ni/nimble-components/dist/esm/icons/link', '@ni/nimble-components/dist/esm/icons/link-cancel', '@ni/nimble-components/dist/esm/icons/list', '@ni/nimble-components/dist/esm/icons/list-tree', '@ni/nimble-components/dist/esm/icons/list-tree-database', '@ni/nimble-components/dist/esm/icons/lock', '@ni/nimble-components/dist/esm/icons/magnifying-glass', '@ni/nimble-components/dist/esm/icons/markdown', '@ni/nimble-components/dist/esm/icons/minus', '@ni/nimble-components/dist/esm/icons/minus-wide', '@ni/nimble-components/dist/esm/icons/mobile', '@ni/nimble-components/dist/esm/icons/notebook', '@ni/nimble-components/dist/esm/icons/paste', '@ni/nimble-components/dist/esm/icons/pencil', '@ni/nimble-components/dist/esm/icons/pot-with-lid', '@ni/nimble-components/dist/esm/icons/question', '@ni/nimble-components/dist/esm/icons/running-arrow', '@ni/nimble-components/dist/esm/icons/server', '@ni/nimble-components/dist/esm/icons/share-nodes', '@ni/nimble-components/dist/esm/icons/share-square', '@ni/nimble-components/dist/esm/icons/shield-check', '@ni/nimble-components/dist/esm/icons/shield-xmark', '@ni/nimble-components/dist/esm/icons/signal-bars', '@ni/nimble-components/dist/esm/icons/sine-graph', '@ni/nimble-components/dist/esm/icons/skip-arrow', '@ni/nimble-components/dist/esm/icons/spinner', '@ni/nimble-components/dist/esm/icons/square-check', '@ni/nimble-components/dist/esm/icons/square-t', '@ni/nimble-components/dist/esm/icons/t', '@ni/nimble-components/dist/esm/icons/tablet', '@ni/nimble-components/dist/esm/icons/tag', '@ni/nimble-components/dist/esm/icons/tags', '@ni/nimble-components/dist/esm/icons/target-crosshairs', '@ni/nimble-components/dist/esm/icons/target-crosshairs-progress', '@ni/nimble-components/dist/esm/icons/three-dots-line', '@ni/nimble-components/dist/esm/icons/three-vertical-lines', '@ni/nimble-components/dist/esm/icons/thumbtack', '@ni/nimble-components/dist/esm/icons/tile-size', '@ni/nimble-components/dist/esm/icons/times', '@ni/nimble-components/dist/esm/icons/trash', '@ni/nimble-components/dist/esm/icons/triangle', '@ni/nimble-components/dist/esm/icons/true-false-rectangle', '@ni/nimble-components/dist/esm/icons/unlink', '@ni/nimble-components/dist/esm/icons/unlock', '@ni/nimble-components/dist/esm/icons/upload', '@ni/nimble-components/dist/esm/icons/user', '@ni/nimble-components/dist/esm/icons/watch', '@ni/nimble-components/dist/esm/icons/waveform', '@ni/nimble-components/dist/esm/icons/webvi-custom', '@ni/nimble-components/dist/esm/icons/webvi-host', '@ni/nimble-components/dist/esm/icons/window-code', '@ni/nimble-components/dist/esm/icons/window-text', '@ni/nimble-components/dist/esm/icons/wrench-hammer', '@ni/nimble-components/dist/esm/icons/xmark', '@ni/nimble-components/dist/esm/icons/xmark-check', '@ni/nimble-components/dist/esm/list-option', '@ni/nimble-components/dist/esm/menu', '@ni/nimble-components/dist/esm/menu-button', '@ni/nimble-components/dist/esm/menu-item', '@ni/nimble-components/dist/esm/number-field/types', '@ni/nimble-components/dist/esm/number-field', '@ni/nimble-components/dist/esm/radio-group', '@ni/nimble-components/dist/esm/select', '@ni/nimble-components/dist/esm/switch', '@ni/nimble-components/dist/esm/tab', '@ni/nimble-components/dist/esm/tab-panel', '@ni/nimble-components/dist/esm/tabs', '@ni/nimble-components/dist/esm/tabs-toolbar', '@ni/nimble-components/dist/esm/text-area/types', '@ni/nimble-components/dist/esm/text-area', '@ni/nimble-components/dist/esm/text-field/types', '@ni/nimble-components/dist/esm/text-field', '@ni/nimble-components/dist/esm/theme-provider/types', '@ni/nimble-components/dist/esm/theme-provider', '@ni/nimble-components/dist/esm/toggle-button', '@ni/nimble-components/dist/esm/toolbar', '@ni/nimble-components/dist/esm/tree-item', '@ni/nimble-components/dist/esm/tree-view/types', '@ni/nimble-components/dist/esm/tree-view', '@ni/nimble-components/dist/esm/tooltip/types', '@ni/nimble-components/dist/esm/tooltip', '@ni/nimble-components/dist/esm/testing/async-helpers', '@ni/nimble-components/dist/esm/patterns/button/types', '@ni/nimble-components/dist/esm/patterns/dropdown/types', '@ni/nimble-components/dist/esm/icon-base/types'], factory) :
|
|
4
4
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.ni = global.ni || {}, global.ni["nimble-angular"] = {}), global.ng.core, global.types$3, global.ng.common, null, global.ng.router, null, global.types$4, null, null, global.ng.forms, null, global.types$5, null, global.dialog, global.types$6, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, global.types$7, null, global.radioGroup, null, null, null, null, null, null, global.types$8, null, global.types$9, null, global.types$a, null, null, null, null, global.types$b, null, global.types$c, null, global.asyncHelpers, global.types, global.types$1, global.types$2));
|
|
5
|
-
})(this, (function (exports, i0, types$3, common, breadcrumb, router, breadcrumbItem, types$4, button, cardButton,
|
|
5
|
+
})(this, (function (exports, i0, types$3, common, breadcrumb, router, breadcrumbItem, types$4, button, cardButton, forms, checkbox, types$5, combobox, dialog, types$6, drawer, add, arrowDownRightAndArrowUpLeft, arrowExpanderDown, arrowExpanderLeft, arrowExpanderRight, arrowExpanderUp, arrowLeftFromLine, arrowPartialRotateLeft, arrowRightToLine, arrowRotateRight, arrowURotateLeft, arrowUpLeftAndArrowDownRight, arrowsMaximize, arrowsRepeat, bars, bell, bellAndComment, bellCircle, bellSolidCircle, blockWithRibbon, bookMagnifyingGlass, calendar, chartDiagram, chartDiagramChildFocus, chartDiagramParentFocus, chartDiagramParentFocusTwoChild, check, checkDot, circle, circleFilled, circleBroken, circleCheck, circlePartialBroken, circleSlash, circleX, clipboard, clock, clockCog, clockTriangle, clone, cloud, cloudUpload, cloudWithArrow, cog, cogDatabase, cogDatabaseInset, cogSmallCog, cogZoomed, comment, computerAndMonitor, copy, copyText, dashboardBuilder, dashboardBuilderLegend, dashboardBuilderTemplates, dashboardBuilderTile, database, databaseCheck, desktop, donutChart, dotSolidDotStroke, download, electronicChipZoomed, exclamationMark, eye, fancyA, file, fileDrawer, fileSearch, filter, floppyDiskCheckmark, floppyDiskStarArrowRight, floppyDiskThreeDots, folder, folderOpen, forwardSlash, fourDotsSquare, _function, gaugeSimple, gridThreeByThree, gridTwoByTwo, hammer, hashtag, home, hourglass, indeterminantCheckbox, info, infoCircle, key, laptop, layerGroup, lightningBolt, link, linkCancel, list, listTree, listTreeDatabase, lock, magnifyingGlass, markdown, minus, minusWide, mobile, notebook, paste, pencil, potWithLid, question, runningArrow, server, shareNodes, shareSquare, shieldCheck, shieldXmark, signalBars, sineGraph, skipArrow, spinner, squareCheck, squareT, t, tablet, tag, tags, targetCrosshairs, targetCrosshairsProgress, threeDotsLine, threeVerticalLines, thumbtack, tileSize, times, trash, triangle, trueFalseRectangle, unlink, unlock, upload, user, watch, waveform, webviCustom, webviHost, windowCode, windowText, wrenchHammer, xmark, xmarkCheck, listOption, menu, menuButton, menuItem, types$7, numberField, radioGroup, select, _switch, tab, tabPanel, tabs, tabsToolbar, types$8, textArea, types$9, textField, types$a, themeProvider, toggleButton, toolbar, treeItem, types$b, treeView, types$c, tooltip, asyncHelpers, types, types$1, types$2) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespace(e) {
|
|
8
8
|
if (e && e.__esModule) return e;
|
|
@@ -23,7 +23,6 @@
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
26
|
-
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
27
26
|
|
|
28
27
|
/**
|
|
29
28
|
* Directive to provide Angular integration for the breadcrumb.
|
|
@@ -775,10 +774,10 @@
|
|
|
775
774
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
776
775
|
}
|
|
777
776
|
return NimbleCheckboxControlValueAccessorDirective;
|
|
778
|
-
}(
|
|
777
|
+
}(forms.CheckboxControlValueAccessor));
|
|
779
778
|
NimbleCheckboxControlValueAccessorDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: NimbleCheckboxControlValueAccessorDirective, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
780
779
|
NimbleCheckboxControlValueAccessorDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.5", type: NimbleCheckboxControlValueAccessorDirective, selector: "nimble-checkbox[formControlName],nimble-checkbox[formControl],nimble-checkbox[ngModel]", host: { listeners: { "change": "onChange($event.target.checked)", "blur": "onTouched()" } }, providers: [{
|
|
781
|
-
provide:
|
|
780
|
+
provide: forms.NG_VALUE_ACCESSOR,
|
|
782
781
|
useExisting: i0.forwardRef(function () { return NimbleCheckboxControlValueAccessorDirective; }),
|
|
783
782
|
multi: true
|
|
784
783
|
}], usesInheritance: true, ngImport: i0__namespace });
|
|
@@ -790,7 +789,7 @@
|
|
|
790
789
|
// eslint-disable-next-line @angular-eslint/no-host-metadata-property
|
|
791
790
|
host: { '(change)': 'onChange($event.target.checked)', '(blur)': 'onTouched()' },
|
|
792
791
|
providers: [{
|
|
793
|
-
provide:
|
|
792
|
+
provide: forms.NG_VALUE_ACCESSOR,
|
|
794
793
|
useExisting: i0.forwardRef(function () { return NimbleCheckboxControlValueAccessorDirective; }),
|
|
795
794
|
multi: true
|
|
796
795
|
}]
|
|
@@ -989,7 +988,7 @@
|
|
|
989
988
|
}());
|
|
990
989
|
NimbleComboboxControlValueAccessorDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: NimbleComboboxControlValueAccessorDirective, deps: [{ token: i0__namespace.Renderer2 }, { token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
991
990
|
NimbleComboboxControlValueAccessorDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.5", type: NimbleComboboxControlValueAccessorDirective, selector: "nimble-combobox[formControlName],nimble-combobox[formControl],nimble-combobox[ngModel]", inputs: { compareWith: "compareWith" }, host: { listeners: { "input": "onChange($event.target.control.value])", "change": "onChange($event.target.value])", "blur": "onTouched()" } }, providers: [{
|
|
992
|
-
provide:
|
|
991
|
+
provide: forms.NG_VALUE_ACCESSOR,
|
|
993
992
|
useExisting: i0.forwardRef(function () { return NimbleComboboxControlValueAccessorDirective; }),
|
|
994
993
|
multi: true
|
|
995
994
|
}], ngImport: i0__namespace });
|
|
@@ -998,7 +997,7 @@
|
|
|
998
997
|
args: [{
|
|
999
998
|
selector: 'nimble-combobox[formControlName],nimble-combobox[formControl],nimble-combobox[ngModel]',
|
|
1000
999
|
providers: [{
|
|
1001
|
-
provide:
|
|
1000
|
+
provide: forms.NG_VALUE_ACCESSOR,
|
|
1002
1001
|
useExisting: i0.forwardRef(function () { return NimbleComboboxControlValueAccessorDirective; }),
|
|
1003
1002
|
multi: true
|
|
1004
1003
|
}]
|
|
@@ -6900,10 +6899,10 @@
|
|
|
6900
6899
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
6901
6900
|
}
|
|
6902
6901
|
return NimbleSelectControlValueAccessorDirective;
|
|
6903
|
-
}(
|
|
6902
|
+
}(forms.SelectControlValueAccessor));
|
|
6904
6903
|
NimbleSelectControlValueAccessorDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: NimbleSelectControlValueAccessorDirective, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
6905
6904
|
NimbleSelectControlValueAccessorDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.5", type: NimbleSelectControlValueAccessorDirective, selector: "nimble-select:not([multiple])[formControlName],nimble-select:not([multiple])[formControl],nimble-select:not([multiple])[ngModel]", host: { listeners: { "change": "onChange($event.target.value)", "blur": "onTouched()" } }, providers: [{
|
|
6906
|
-
provide:
|
|
6905
|
+
provide: forms.NG_VALUE_ACCESSOR,
|
|
6907
6906
|
useExisting: i0.forwardRef(function () { return NimbleSelectControlValueAccessorDirective; }),
|
|
6908
6907
|
multi: true
|
|
6909
6908
|
}], usesInheritance: true, ngImport: i0__namespace });
|
|
@@ -6915,7 +6914,7 @@
|
|
|
6915
6914
|
// eslint-disable-next-line @angular-eslint/no-host-metadata-property
|
|
6916
6915
|
host: { '(change)': 'onChange($event.target.value)', '(blur)': 'onTouched()' },
|
|
6917
6916
|
providers: [{
|
|
6918
|
-
provide:
|
|
6917
|
+
provide: forms.NG_VALUE_ACCESSOR,
|
|
6919
6918
|
useExisting: i0.forwardRef(function () { return NimbleSelectControlValueAccessorDirective; }),
|
|
6920
6919
|
multi: true
|
|
6921
6920
|
}]
|
|
@@ -6944,7 +6943,7 @@
|
|
|
6944
6943
|
configurable: true
|
|
6945
6944
|
});
|
|
6946
6945
|
return NimbleSelectListOptionDirective;
|
|
6947
|
-
}(
|
|
6946
|
+
}(forms.NgSelectOption));
|
|
6948
6947
|
NimbleSelectListOptionDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: NimbleSelectListOptionDirective, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.Renderer2 }, { token: NimbleSelectControlValueAccessorDirective, host: true, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
6949
6948
|
NimbleSelectListOptionDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.5", type: NimbleSelectListOptionDirective, selector: "nimble-list-option", inputs: { disabled: "disabled" }, usesInheritance: true, ngImport: i0__namespace });
|
|
6950
6949
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: NimbleSelectListOptionDirective, decorators: [{
|
|
@@ -7174,10 +7173,10 @@
|
|
|
7174
7173
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
7175
7174
|
}
|
|
7176
7175
|
return NimbleNumberFieldControlValueAccessorDirective;
|
|
7177
|
-
}(
|
|
7176
|
+
}(forms.NumberValueAccessor));
|
|
7178
7177
|
NimbleNumberFieldControlValueAccessorDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: NimbleNumberFieldControlValueAccessorDirective, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
7179
7178
|
NimbleNumberFieldControlValueAccessorDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.5", type: NimbleNumberFieldControlValueAccessorDirective, selector: "nimble-number-field[formControlName],nimble-number-field[formControl],nimble-number-field[ngModel]", host: { listeners: { "input": "onChange($event.target.value)", "blur": "onTouched()" } }, providers: [{
|
|
7180
|
-
provide:
|
|
7179
|
+
provide: forms.NG_VALUE_ACCESSOR,
|
|
7181
7180
|
useExisting: i0.forwardRef(function () { return NimbleNumberFieldControlValueAccessorDirective; }),
|
|
7182
7181
|
multi: true
|
|
7183
7182
|
}], usesInheritance: true, ngImport: i0__namespace });
|
|
@@ -7189,7 +7188,7 @@
|
|
|
7189
7188
|
// eslint-disable-next-line @angular-eslint/no-host-metadata-property
|
|
7190
7189
|
host: { '(input)': 'onChange($event.target.value)', '(blur)': 'onTouched()' },
|
|
7191
7190
|
providers: [{
|
|
7192
|
-
provide:
|
|
7191
|
+
provide: forms.NG_VALUE_ACCESSOR,
|
|
7193
7192
|
useExisting: i0.forwardRef(function () { return NimbleNumberFieldControlValueAccessorDirective; }),
|
|
7194
7193
|
multi: true
|
|
7195
7194
|
}]
|
|
@@ -7338,13 +7337,400 @@
|
|
|
7338
7337
|
}]
|
|
7339
7338
|
}] });
|
|
7340
7339
|
|
|
7340
|
+
/**
|
|
7341
|
+
* @description
|
|
7342
|
+
* Defines an interface that acts as a bridge between the Angular forms API and a
|
|
7343
|
+
* native element in the DOM.
|
|
7344
|
+
*
|
|
7345
|
+
* Implement this interface to create a custom form control directive
|
|
7346
|
+
* that integrates with Angular forms.
|
|
7347
|
+
*
|
|
7348
|
+
* @see DefaultValueAccessor
|
|
7349
|
+
*
|
|
7350
|
+
* @publicApi
|
|
7351
|
+
*/
|
|
7352
|
+
/* [Nimble] Commenting out public interface
|
|
7353
|
+
export interface ControlValueAccessor {
|
|
7354
|
+
/**
|
|
7355
|
+
* @description
|
|
7356
|
+
* Writes a new value to the element.
|
|
7357
|
+
*
|
|
7358
|
+
* This method is called by the forms API to write to the view when programmatic
|
|
7359
|
+
* changes from model to view are requested.
|
|
7360
|
+
*
|
|
7361
|
+
* @usageNotes
|
|
7362
|
+
* ### Write a value to the element
|
|
7363
|
+
*
|
|
7364
|
+
* The following example writes a value to the native DOM element.
|
|
7365
|
+
*
|
|
7366
|
+
* ```ts
|
|
7367
|
+
* writeValue(value: any): void {
|
|
7368
|
+
* this._renderer.setProperty(this._elementRef.nativeElement, 'value', value);
|
|
7369
|
+
* }
|
|
7370
|
+
* ```
|
|
7371
|
+
*
|
|
7372
|
+
* @param obj The new value for the element
|
|
7373
|
+
*
|
|
7374
|
+
writeValue(obj: any): void;
|
|
7375
|
+
|
|
7376
|
+
/**
|
|
7377
|
+
* @description
|
|
7378
|
+
* Registers a callback function that is called when the control's value
|
|
7379
|
+
* changes in the UI.
|
|
7380
|
+
*
|
|
7381
|
+
* This method is called by the forms API on initialization to update the form
|
|
7382
|
+
* model when values propagate from the view to the model.
|
|
7383
|
+
*
|
|
7384
|
+
* When implementing the `registerOnChange` method in your own value accessor,
|
|
7385
|
+
* save the given function so your class calls it at the appropriate time.
|
|
7386
|
+
*
|
|
7387
|
+
* @usageNotes
|
|
7388
|
+
* ### Store the change function
|
|
7389
|
+
*
|
|
7390
|
+
* The following example stores the provided function as an internal method.
|
|
7391
|
+
*
|
|
7392
|
+
* ```ts
|
|
7393
|
+
* registerOnChange(fn: (_: any) => void): void {
|
|
7394
|
+
* this._onChange = fn;
|
|
7395
|
+
* }
|
|
7396
|
+
* ```
|
|
7397
|
+
*
|
|
7398
|
+
* When the value changes in the UI, call the registered
|
|
7399
|
+
* function to allow the forms API to update itself:
|
|
7400
|
+
*
|
|
7401
|
+
* ```ts
|
|
7402
|
+
* host: {
|
|
7403
|
+
* '(change)': '_onChange($event.target.value)'
|
|
7404
|
+
* }
|
|
7405
|
+
* ```
|
|
7406
|
+
*
|
|
7407
|
+
* @param fn The callback function to register
|
|
7408
|
+
*
|
|
7409
|
+
registerOnChange(fn: any): void;
|
|
7410
|
+
|
|
7411
|
+
/**
|
|
7412
|
+
* @description
|
|
7413
|
+
* Registers a callback function that is called by the forms API on initialization
|
|
7414
|
+
* to update the form model on blur.
|
|
7415
|
+
*
|
|
7416
|
+
* When implementing `registerOnTouched` in your own value accessor, save the given
|
|
7417
|
+
* function so your class calls it when the control should be considered
|
|
7418
|
+
* blurred or "touched".
|
|
7419
|
+
*
|
|
7420
|
+
* @usageNotes
|
|
7421
|
+
* ### Store the callback function
|
|
7422
|
+
*
|
|
7423
|
+
* The following example stores the provided function as an internal method.
|
|
7424
|
+
*
|
|
7425
|
+
* ```ts
|
|
7426
|
+
* registerOnTouched(fn: any): void {
|
|
7427
|
+
* this._onTouched = fn;
|
|
7428
|
+
* }
|
|
7429
|
+
* ```
|
|
7430
|
+
*
|
|
7431
|
+
* On blur (or equivalent), your class should call the registered function to allow
|
|
7432
|
+
* the forms API to update itself:
|
|
7433
|
+
*
|
|
7434
|
+
* ```ts
|
|
7435
|
+
* host: {
|
|
7436
|
+
* '(blur)': '_onTouched()'
|
|
7437
|
+
* }
|
|
7438
|
+
* ```
|
|
7439
|
+
*
|
|
7440
|
+
* @param fn The callback function to register
|
|
7441
|
+
*
|
|
7442
|
+
registerOnTouched(fn: any): void;
|
|
7443
|
+
|
|
7444
|
+
/**
|
|
7445
|
+
* @description
|
|
7446
|
+
* Function that is called by the forms API when the control status changes to
|
|
7447
|
+
* or from 'DISABLED'. Depending on the status, it enables or disables the
|
|
7448
|
+
* appropriate DOM element.
|
|
7449
|
+
*
|
|
7450
|
+
* @usageNotes
|
|
7451
|
+
* The following is an example of writing the disabled property to a native DOM element:
|
|
7452
|
+
*
|
|
7453
|
+
* ```ts
|
|
7454
|
+
* setDisabledState(isDisabled: boolean): void {
|
|
7455
|
+
* this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled);
|
|
7456
|
+
* }
|
|
7457
|
+
* ```
|
|
7458
|
+
*
|
|
7459
|
+
* @param isDisabled The disabled status to set on the element
|
|
7460
|
+
*
|
|
7461
|
+
setDisabledState?(isDisabled: boolean): void;
|
|
7462
|
+
}
|
|
7463
|
+
*/
|
|
7464
|
+
/**
|
|
7465
|
+
* Base class for all ControlValueAccessor classes defined in Forms package.
|
|
7466
|
+
* Contains common logic and utility functions.
|
|
7467
|
+
*
|
|
7468
|
+
* Note: this is an *internal-only* class and should not be extended or used directly in
|
|
7469
|
+
* applications code.
|
|
7470
|
+
*/
|
|
7471
|
+
var BaseControlValueAccessor = /** @class */ (function () {
|
|
7472
|
+
function BaseControlValueAccessor(_renderer, _elementRef) {
|
|
7473
|
+
this._renderer = _renderer;
|
|
7474
|
+
this._elementRef = _elementRef;
|
|
7475
|
+
/**
|
|
7476
|
+
* The registered callback function called when a change or input event occurs on the input
|
|
7477
|
+
* element.
|
|
7478
|
+
* @nodoc
|
|
7479
|
+
*/
|
|
7480
|
+
this.onChange = function (_) { };
|
|
7481
|
+
/**
|
|
7482
|
+
* The registered callback function called when a blur event occurs on the input element.
|
|
7483
|
+
* @nodoc
|
|
7484
|
+
*/
|
|
7485
|
+
this.onTouched = function () { };
|
|
7486
|
+
}
|
|
7487
|
+
/**
|
|
7488
|
+
* Helper method that sets a property on a target element using the current Renderer
|
|
7489
|
+
* implementation.
|
|
7490
|
+
* @nodoc
|
|
7491
|
+
*/
|
|
7492
|
+
BaseControlValueAccessor.prototype.setProperty = function (key, value) {
|
|
7493
|
+
this._renderer.setProperty(this._elementRef.nativeElement, key, value);
|
|
7494
|
+
};
|
|
7495
|
+
/**
|
|
7496
|
+
* Registers a function called when the control is touched.
|
|
7497
|
+
* @nodoc
|
|
7498
|
+
*/
|
|
7499
|
+
BaseControlValueAccessor.prototype.registerOnTouched = function (fn) {
|
|
7500
|
+
this.onTouched = fn;
|
|
7501
|
+
};
|
|
7502
|
+
/**
|
|
7503
|
+
* Registers a function called when the control value changes.
|
|
7504
|
+
* @nodoc
|
|
7505
|
+
*/
|
|
7506
|
+
BaseControlValueAccessor.prototype.registerOnChange = function (fn) {
|
|
7507
|
+
this.onChange = fn;
|
|
7508
|
+
};
|
|
7509
|
+
/**
|
|
7510
|
+
* Sets the "disabled" property on the range input element.
|
|
7511
|
+
* @nodoc
|
|
7512
|
+
*/
|
|
7513
|
+
BaseControlValueAccessor.prototype.setDisabledState = function (isDisabled) {
|
|
7514
|
+
this.setProperty('disabled', isDisabled);
|
|
7515
|
+
};
|
|
7516
|
+
return BaseControlValueAccessor;
|
|
7517
|
+
}());
|
|
7518
|
+
BaseControlValueAccessor.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: BaseControlValueAccessor, deps: [{ token: i0__namespace.Renderer2 }, { token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
7519
|
+
BaseControlValueAccessor.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.5", type: BaseControlValueAccessor, ngImport: i0__namespace });
|
|
7520
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: BaseControlValueAccessor, decorators: [{
|
|
7521
|
+
type: i0.Directive
|
|
7522
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.Renderer2 }, { type: i0__namespace.ElementRef }]; } });
|
|
7523
|
+
/**
|
|
7524
|
+
* Base class for all built-in ControlValueAccessor classes (except DefaultValueAccessor, which is
|
|
7525
|
+
* used in case no other CVAs can be found). We use this class to distinguish between default CVA,
|
|
7526
|
+
* built-in CVAs and custom CVAs, so that Forms logic can recognize built-in CVAs and treat custom
|
|
7527
|
+
* ones with higher priority (when both built-in and custom CVAs are present).
|
|
7528
|
+
*
|
|
7529
|
+
* Note: this is an *internal-only* class and should not be extended or used directly in
|
|
7530
|
+
* applications code.
|
|
7531
|
+
*/
|
|
7532
|
+
var BuiltInControlValueAccessor = /** @class */ (function (_super) {
|
|
7533
|
+
__extends(BuiltInControlValueAccessor, _super);
|
|
7534
|
+
function BuiltInControlValueAccessor() {
|
|
7535
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
7536
|
+
}
|
|
7537
|
+
return BuiltInControlValueAccessor;
|
|
7538
|
+
}(BaseControlValueAccessor));
|
|
7539
|
+
BuiltInControlValueAccessor.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: BuiltInControlValueAccessor, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
7540
|
+
BuiltInControlValueAccessor.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.5", type: BuiltInControlValueAccessor, usesInheritance: true, ngImport: i0__namespace });
|
|
7541
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: BuiltInControlValueAccessor, decorators: [{
|
|
7542
|
+
type: i0.Directive
|
|
7543
|
+
}] });
|
|
7544
|
+
|
|
7545
|
+
var RADIO_VALUE_ACCESSOR = {
|
|
7546
|
+
provide: forms.NG_VALUE_ACCESSOR,
|
|
7547
|
+
useExisting: i0.forwardRef(function () { return RadioControlValueAccessor; }),
|
|
7548
|
+
multi: true
|
|
7549
|
+
};
|
|
7550
|
+
function throwNameError() {
|
|
7551
|
+
/* [Nimble] RuntimeErrorCode is not exported from @angular/forms in version 12; falling back to version 12 behavior
|
|
7552
|
+
throw new RuntimeError(RuntimeErrorCode.NAME_AND_FORM_CONTROL_NAME_MUST_MATCH, `
|
|
7553
|
+
*/
|
|
7554
|
+
throw new Error("\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: <input type=\"radio\" formControlName=\"food\" name=\"food\">\n ");
|
|
7555
|
+
}
|
|
7556
|
+
/**
|
|
7557
|
+
* Internal-only NgModule that works as a host for the `RadioControlRegistry` tree-shakable
|
|
7558
|
+
* provider. Note: the `InternalFormsSharedModule` can not be used here directly, since it's
|
|
7559
|
+
* declared *after* the `RadioControlRegistry` class and the `providedIn` doesn't support
|
|
7560
|
+
* `forwardRef` logic.
|
|
7561
|
+
*/
|
|
7562
|
+
var RadioControlRegistryModule = /** @class */ (function () {
|
|
7563
|
+
function RadioControlRegistryModule() {
|
|
7564
|
+
}
|
|
7565
|
+
return RadioControlRegistryModule;
|
|
7566
|
+
}());
|
|
7567
|
+
RadioControlRegistryModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: RadioControlRegistryModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
7568
|
+
RadioControlRegistryModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: RadioControlRegistryModule });
|
|
7569
|
+
RadioControlRegistryModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: RadioControlRegistryModule });
|
|
7570
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: RadioControlRegistryModule, decorators: [{
|
|
7571
|
+
type: i0.NgModule
|
|
7572
|
+
}] });
|
|
7573
|
+
/**
|
|
7574
|
+
* @description
|
|
7575
|
+
* Class used by Angular to track radio buttons. For internal use only.
|
|
7576
|
+
*/
|
|
7577
|
+
var RadioControlRegistry = /** @class */ (function () {
|
|
7578
|
+
function RadioControlRegistry() {
|
|
7579
|
+
this._accessors = [];
|
|
7580
|
+
}
|
|
7581
|
+
/**
|
|
7582
|
+
* @description
|
|
7583
|
+
* Adds a control to the internal registry. For internal use only.
|
|
7584
|
+
*/
|
|
7585
|
+
RadioControlRegistry.prototype.add = function (control, accessor) {
|
|
7586
|
+
this._accessors.push([control, accessor]);
|
|
7587
|
+
};
|
|
7588
|
+
/**
|
|
7589
|
+
* @description
|
|
7590
|
+
* Removes a control from the internal registry. For internal use only.
|
|
7591
|
+
*/
|
|
7592
|
+
RadioControlRegistry.prototype.remove = function (accessor) {
|
|
7593
|
+
for (var i = this._accessors.length - 1; i >= 0; --i) {
|
|
7594
|
+
if (this._accessors[i][1] === accessor) {
|
|
7595
|
+
this._accessors.splice(i, 1);
|
|
7596
|
+
return;
|
|
7597
|
+
}
|
|
7598
|
+
}
|
|
7599
|
+
};
|
|
7600
|
+
/**
|
|
7601
|
+
* @description
|
|
7602
|
+
* Selects a radio button. For internal use only.
|
|
7603
|
+
*/
|
|
7604
|
+
RadioControlRegistry.prototype.select = function (accessor) {
|
|
7605
|
+
var _this = this;
|
|
7606
|
+
this._accessors.forEach(function (c) {
|
|
7607
|
+
if (_this._isSameGroup(c, accessor) && c[1] !== accessor) {
|
|
7608
|
+
c[1].fireUncheck(accessor.value);
|
|
7609
|
+
}
|
|
7610
|
+
});
|
|
7611
|
+
};
|
|
7612
|
+
RadioControlRegistry.prototype._isSameGroup = function (controlPair, accessor) {
|
|
7613
|
+
if (!controlPair[0].control)
|
|
7614
|
+
return false;
|
|
7615
|
+
// @ts-expect-error: [Nimble] Use of internal NgControl member _parent
|
|
7616
|
+
return controlPair[0]._parent === accessor._control._parent &&
|
|
7617
|
+
controlPair[1].name === accessor.name;
|
|
7618
|
+
};
|
|
7619
|
+
return RadioControlRegistry;
|
|
7620
|
+
}());
|
|
7621
|
+
RadioControlRegistry.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: RadioControlRegistry, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
7622
|
+
RadioControlRegistry.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: RadioControlRegistry, providedIn: RadioControlRegistryModule });
|
|
7623
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: RadioControlRegistry, decorators: [{
|
|
7624
|
+
type: i0.Injectable,
|
|
7625
|
+
args: [{ providedIn: RadioControlRegistryModule }]
|
|
7626
|
+
}] });
|
|
7627
|
+
/**
|
|
7628
|
+
* @description
|
|
7629
|
+
* The `ControlValueAccessor` for writing radio control values and listening to radio control
|
|
7630
|
+
* changes. The value accessor is used by the `FormControlDirective`, `FormControlName`, and
|
|
7631
|
+
* `NgModel` directives.
|
|
7632
|
+
*
|
|
7633
|
+
* @usageNotes
|
|
7634
|
+
*
|
|
7635
|
+
* ### Using radio buttons with reactive form directives
|
|
7636
|
+
*
|
|
7637
|
+
* The follow example shows how to use radio buttons in a reactive form. When using radio buttons in
|
|
7638
|
+
* a reactive form, radio buttons in the same group should have the same `formControlName`.
|
|
7639
|
+
* Providing a `name` attribute is optional.
|
|
7640
|
+
*
|
|
7641
|
+
* {@example forms/ts/reactiveRadioButtons/reactive_radio_button_example.ts region='Reactive'}
|
|
7642
|
+
*
|
|
7643
|
+
* @ngModule ReactiveFormsModule
|
|
7644
|
+
* @ngModule FormsModule
|
|
7645
|
+
* @publicApi
|
|
7646
|
+
*/
|
|
7647
|
+
var RadioControlValueAccessor = /** @class */ (function (_super) {
|
|
7648
|
+
__extends(RadioControlValueAccessor, _super);
|
|
7649
|
+
function RadioControlValueAccessor(renderer, elementRef, _registry, _injector) {
|
|
7650
|
+
var _this = _super.call(this, renderer, elementRef) || this;
|
|
7651
|
+
_this._registry = _registry;
|
|
7652
|
+
_this._injector = _injector;
|
|
7653
|
+
/**
|
|
7654
|
+
* The registered callback function called when a change event occurs on the input element.
|
|
7655
|
+
* Note: we declare `onChange` here (also used as host listener) as a function with no arguments
|
|
7656
|
+
* to override the `onChange` function (which expects 1 argument) in the parent
|
|
7657
|
+
* `BaseControlValueAccessor` class.
|
|
7658
|
+
* @nodoc
|
|
7659
|
+
*/
|
|
7660
|
+
_this.onChange = function () { };
|
|
7661
|
+
return _this;
|
|
7662
|
+
}
|
|
7663
|
+
/** @nodoc */
|
|
7664
|
+
RadioControlValueAccessor.prototype.ngOnInit = function () {
|
|
7665
|
+
this._control = this._injector.get(forms.NgControl);
|
|
7666
|
+
this._checkName();
|
|
7667
|
+
this._registry.add(this._control, this);
|
|
7668
|
+
};
|
|
7669
|
+
/** @nodoc */
|
|
7670
|
+
RadioControlValueAccessor.prototype.ngOnDestroy = function () {
|
|
7671
|
+
this._registry.remove(this);
|
|
7672
|
+
};
|
|
7673
|
+
/**
|
|
7674
|
+
* Sets the "checked" property value on the radio input element.
|
|
7675
|
+
* @nodoc
|
|
7676
|
+
*/
|
|
7677
|
+
RadioControlValueAccessor.prototype.writeValue = function (value) {
|
|
7678
|
+
this._state = value === this.value;
|
|
7679
|
+
this.setProperty('checked', this._state);
|
|
7680
|
+
};
|
|
7681
|
+
/**
|
|
7682
|
+
* Registers a function called when the control value changes.
|
|
7683
|
+
* @nodoc
|
|
7684
|
+
*/
|
|
7685
|
+
RadioControlValueAccessor.prototype.registerOnChange = function (fn) {
|
|
7686
|
+
var _this = this;
|
|
7687
|
+
this._fn = fn;
|
|
7688
|
+
this.onChange = function () {
|
|
7689
|
+
fn(_this.value);
|
|
7690
|
+
_this._registry.select(_this);
|
|
7691
|
+
};
|
|
7692
|
+
};
|
|
7693
|
+
/**
|
|
7694
|
+
* Sets the "value" on the radio input element and unchecks it.
|
|
7695
|
+
*
|
|
7696
|
+
* @param value
|
|
7697
|
+
*/
|
|
7698
|
+
RadioControlValueAccessor.prototype.fireUncheck = function (value) {
|
|
7699
|
+
this.writeValue(value);
|
|
7700
|
+
};
|
|
7701
|
+
RadioControlValueAccessor.prototype._checkName = function () {
|
|
7702
|
+
if (this.name && this.formControlName && this.name !== this.formControlName &&
|
|
7703
|
+
// @ts-expect-error: [Nimble] ngDevMode is not defined
|
|
7704
|
+
(typeof ngDevMode === 'undefined' || ngDevMode)) {
|
|
7705
|
+
throwNameError();
|
|
7706
|
+
}
|
|
7707
|
+
if (!this.name && this.formControlName)
|
|
7708
|
+
this.name = this.formControlName;
|
|
7709
|
+
};
|
|
7710
|
+
return RadioControlValueAccessor;
|
|
7711
|
+
}(BuiltInControlValueAccessor));
|
|
7712
|
+
RadioControlValueAccessor.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: RadioControlValueAccessor, deps: [{ token: i0__namespace.Renderer2 }, { token: i0__namespace.ElementRef }, { token: RadioControlRegistry }, { token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
7713
|
+
RadioControlValueAccessor.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.5", type: RadioControlValueAccessor, selector: "input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]", inputs: { name: "name", formControlName: "formControlName", value: "value" }, host: { listeners: { "change": "onChange()", "blur": "onTouched()" } }, providers: [RADIO_VALUE_ACCESSOR], usesInheritance: true, ngImport: i0__namespace });
|
|
7714
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: RadioControlValueAccessor, decorators: [{
|
|
7715
|
+
type: i0.Directive,
|
|
7716
|
+
args: [{
|
|
7717
|
+
selector: 'input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]',
|
|
7718
|
+
host: { '(change)': 'onChange()', '(blur)': 'onTouched()' },
|
|
7719
|
+
providers: [RADIO_VALUE_ACCESSOR]
|
|
7720
|
+
}]
|
|
7721
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.Renderer2 }, { type: i0__namespace.ElementRef }, { type: RadioControlRegistry }, { type: i0__namespace.Injector }]; }, propDecorators: { name: [{
|
|
7722
|
+
type: i0.Input
|
|
7723
|
+
}], formControlName: [{
|
|
7724
|
+
type: i0.Input
|
|
7725
|
+
}], value: [{
|
|
7726
|
+
type: i0.Input
|
|
7727
|
+
}] } });
|
|
7728
|
+
|
|
7341
7729
|
/**
|
|
7342
7730
|
* Control Value Accessor implementation for the radio group.
|
|
7343
7731
|
*/
|
|
7344
7732
|
var NimbleRadioControlValueAccessorDirective = /** @class */ (function (_super) {
|
|
7345
7733
|
__extends(NimbleRadioControlValueAccessorDirective, _super);
|
|
7346
|
-
// Type ɵangular_packages_forms_forms_r from base class isn't in camelcase
|
|
7347
|
-
// eslint-disable-next-line camelcase
|
|
7348
7734
|
function NimbleRadioControlValueAccessorDirective(renderer, elementRef, _registry, _injector) {
|
|
7349
7735
|
var _this = _super.call(this, renderer, elementRef, _registry, _injector) || this;
|
|
7350
7736
|
_this.elementRef = elementRef;
|
|
@@ -7356,6 +7742,7 @@
|
|
|
7356
7742
|
return id;
|
|
7357
7743
|
};
|
|
7358
7744
|
NimbleRadioControlValueAccessorDirective.prototype.ngOnInit = function () {
|
|
7745
|
+
_super.prototype.ngOnInit.call(this);
|
|
7359
7746
|
// We need each button element to have a unique string value, because the FAST radio group looks at
|
|
7360
7747
|
// these values when trying to manage the checked state.
|
|
7361
7748
|
this.elementRef.nativeElement.value = NimbleRadioControlValueAccessorDirective.allocateId();
|
|
@@ -7398,11 +7785,11 @@
|
|
|
7398
7785
|
this.onChange = function () { };
|
|
7399
7786
|
};
|
|
7400
7787
|
return NimbleRadioControlValueAccessorDirective;
|
|
7401
|
-
}(
|
|
7788
|
+
}(RadioControlValueAccessor));
|
|
7402
7789
|
NimbleRadioControlValueAccessorDirective._nextOpenId = 0;
|
|
7403
|
-
NimbleRadioControlValueAccessorDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: NimbleRadioControlValueAccessorDirective, deps: [{ token: i0__namespace.Renderer2 }, { token: i0__namespace.ElementRef }, { token:
|
|
7790
|
+
NimbleRadioControlValueAccessorDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: NimbleRadioControlValueAccessorDirective, deps: [{ token: i0__namespace.Renderer2 }, { token: i0__namespace.ElementRef }, { token: RadioControlRegistry }, { token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
7404
7791
|
NimbleRadioControlValueAccessorDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.5", type: NimbleRadioControlValueAccessorDirective, selector: "nimble-radio[formControlName],nimble-radio[formControl],nimble-radio[ngModel]", host: { listeners: { "change": "nimbleOnChange($event.target.checked)", "blur": "onTouched()" } }, providers: [{
|
|
7405
|
-
provide:
|
|
7792
|
+
provide: forms.NG_VALUE_ACCESSOR,
|
|
7406
7793
|
useExisting: i0.forwardRef(function () { return NimbleRadioControlValueAccessorDirective; }),
|
|
7407
7794
|
multi: true
|
|
7408
7795
|
}], usesInheritance: true, ngImport: i0__namespace });
|
|
@@ -7414,12 +7801,12 @@
|
|
|
7414
7801
|
// eslint-disable-next-line @angular-eslint/no-host-metadata-property
|
|
7415
7802
|
host: { '(change)': 'nimbleOnChange($event.target.checked)', '(blur)': 'onTouched()' },
|
|
7416
7803
|
providers: [{
|
|
7417
|
-
provide:
|
|
7804
|
+
provide: forms.NG_VALUE_ACCESSOR,
|
|
7418
7805
|
useExisting: i0.forwardRef(function () { return NimbleRadioControlValueAccessorDirective; }),
|
|
7419
7806
|
multi: true
|
|
7420
7807
|
}]
|
|
7421
7808
|
}]
|
|
7422
|
-
}], ctorParameters: function () { return [{ type: i0__namespace.Renderer2 }, { type: i0__namespace.ElementRef }, { type:
|
|
7809
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.Renderer2 }, { type: i0__namespace.ElementRef }, { type: RadioControlRegistry }, { type: i0__namespace.Injector }]; } });
|
|
7423
7810
|
|
|
7424
7811
|
/**
|
|
7425
7812
|
* Directive to provide Angular integration for the radio button.
|
|
@@ -7458,13 +7845,13 @@
|
|
|
7458
7845
|
return NimbleRadioModule;
|
|
7459
7846
|
}());
|
|
7460
7847
|
NimbleRadioModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: NimbleRadioModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
7461
|
-
NimbleRadioModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: NimbleRadioModule, declarations: [NimbleRadioControlValueAccessorDirective, NimbleRadioDirective], imports: [common.CommonModule], exports: [NimbleRadioControlValueAccessorDirective, NimbleRadioDirective] });
|
|
7462
|
-
NimbleRadioModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: NimbleRadioModule, imports: [[common.CommonModule]] });
|
|
7848
|
+
NimbleRadioModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: NimbleRadioModule, declarations: [NimbleRadioControlValueAccessorDirective, NimbleRadioDirective], imports: [common.CommonModule, RadioControlRegistryModule], exports: [NimbleRadioControlValueAccessorDirective, NimbleRadioDirective] });
|
|
7849
|
+
NimbleRadioModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: NimbleRadioModule, imports: [[common.CommonModule, RadioControlRegistryModule]] });
|
|
7463
7850
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: NimbleRadioModule, decorators: [{
|
|
7464
7851
|
type: i0.NgModule,
|
|
7465
7852
|
args: [{
|
|
7466
7853
|
declarations: [NimbleRadioControlValueAccessorDirective, NimbleRadioDirective],
|
|
7467
|
-
imports: [common.CommonModule],
|
|
7854
|
+
imports: [common.CommonModule, RadioControlRegistryModule],
|
|
7468
7855
|
exports: [NimbleRadioControlValueAccessorDirective, NimbleRadioDirective]
|
|
7469
7856
|
}]
|
|
7470
7857
|
}] });
|
|
@@ -7643,10 +8030,10 @@
|
|
|
7643
8030
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
7644
8031
|
}
|
|
7645
8032
|
return NimbleSwitchControlValueAccessorDirective;
|
|
7646
|
-
}(
|
|
8033
|
+
}(forms.CheckboxControlValueAccessor));
|
|
7647
8034
|
NimbleSwitchControlValueAccessorDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: NimbleSwitchControlValueAccessorDirective, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
7648
8035
|
NimbleSwitchControlValueAccessorDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.5", type: NimbleSwitchControlValueAccessorDirective, selector: "nimble-switch[formControlName],nimble-switch[formControl],nimble-switch[ngModel]", host: { listeners: { "change": "onChange($event.target.checked)", "blur": "onTouched()" } }, providers: [{
|
|
7649
|
-
provide:
|
|
8036
|
+
provide: forms.NG_VALUE_ACCESSOR,
|
|
7650
8037
|
useExisting: i0.forwardRef(function () { return NimbleSwitchControlValueAccessorDirective; }),
|
|
7651
8038
|
multi: true
|
|
7652
8039
|
}], usesInheritance: true, ngImport: i0__namespace });
|
|
@@ -7658,7 +8045,7 @@
|
|
|
7658
8045
|
// eslint-disable-next-line @angular-eslint/no-host-metadata-property
|
|
7659
8046
|
host: { '(change)': 'onChange($event.target.checked)', '(blur)': 'onTouched()' },
|
|
7660
8047
|
providers: [{
|
|
7661
|
-
provide:
|
|
8048
|
+
provide: forms.NG_VALUE_ACCESSOR,
|
|
7662
8049
|
useExisting: i0.forwardRef(function () { return NimbleSwitchControlValueAccessorDirective; }),
|
|
7663
8050
|
multi: true
|
|
7664
8051
|
}]
|
|
@@ -7912,10 +8299,10 @@
|
|
|
7912
8299
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
7913
8300
|
}
|
|
7914
8301
|
return NimbleTextAreaControlValueAccessorDirective;
|
|
7915
|
-
}(
|
|
8302
|
+
}(forms.DefaultValueAccessor));
|
|
7916
8303
|
NimbleTextAreaControlValueAccessorDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: NimbleTextAreaControlValueAccessorDirective, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
7917
8304
|
NimbleTextAreaControlValueAccessorDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.5", type: NimbleTextAreaControlValueAccessorDirective, selector: "nimble-text-area[formControlName],nimble-text-area[formControl],nimble-text-area[ngModel]", host: { listeners: { "input": "$any(this)._handleInput($event.target.value)", "blur": "onTouched()", "compositionstart": "$any(this)._compositionStart()", "compositionend": "$any(this)._compositionEnd($event.target.value)" } }, providers: [{
|
|
7918
|
-
provide:
|
|
8305
|
+
provide: forms.NG_VALUE_ACCESSOR,
|
|
7919
8306
|
useExisting: i0.forwardRef(function () { return NimbleTextAreaControlValueAccessorDirective; }),
|
|
7920
8307
|
multi: true
|
|
7921
8308
|
}], usesInheritance: true, ngImport: i0__namespace });
|
|
@@ -7932,7 +8319,7 @@
|
|
|
7932
8319
|
'(compositionend)': '$any(this)._compositionEnd($event.target.value)'
|
|
7933
8320
|
},
|
|
7934
8321
|
providers: [{
|
|
7935
|
-
provide:
|
|
8322
|
+
provide: forms.NG_VALUE_ACCESSOR,
|
|
7936
8323
|
useExisting: i0.forwardRef(function () { return NimbleTextAreaControlValueAccessorDirective; }),
|
|
7937
8324
|
multi: true
|
|
7938
8325
|
}]
|
|
@@ -8151,10 +8538,10 @@
|
|
|
8151
8538
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
8152
8539
|
}
|
|
8153
8540
|
return NimbleTextFieldControlValueAccessorDirective;
|
|
8154
|
-
}(
|
|
8541
|
+
}(forms.DefaultValueAccessor));
|
|
8155
8542
|
NimbleTextFieldControlValueAccessorDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: NimbleTextFieldControlValueAccessorDirective, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
8156
8543
|
NimbleTextFieldControlValueAccessorDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.5", type: NimbleTextFieldControlValueAccessorDirective, selector: "nimble-text-field[formControlName],nimble-text-field[formControl],nimble-text-field[ngModel]", host: { listeners: { "input": "$any(this)._handleInput($event.target.value)", "blur": "onTouched()", "compositionstart": "$any(this)._compositionStart()", "compositionend": "$any(this)._compositionEnd($event.target.value)" } }, providers: [{
|
|
8157
|
-
provide:
|
|
8544
|
+
provide: forms.NG_VALUE_ACCESSOR,
|
|
8158
8545
|
useExisting: i0.forwardRef(function () { return NimbleTextFieldControlValueAccessorDirective; }),
|
|
8159
8546
|
multi: true
|
|
8160
8547
|
}], usesInheritance: true, ngImport: i0__namespace });
|
|
@@ -8171,7 +8558,7 @@
|
|
|
8171
8558
|
'(compositionend)': '$any(this)._compositionEnd($event.target.value)'
|
|
8172
8559
|
},
|
|
8173
8560
|
providers: [{
|
|
8174
|
-
provide:
|
|
8561
|
+
provide: forms.NG_VALUE_ACCESSOR,
|
|
8175
8562
|
useExisting: i0.forwardRef(function () { return NimbleTextFieldControlValueAccessorDirective; }),
|
|
8176
8563
|
multi: true
|
|
8177
8564
|
}]
|
|
@@ -8467,10 +8854,10 @@
|
|
|
8467
8854
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
8468
8855
|
}
|
|
8469
8856
|
return NimbleToggleButtonControlValueAccessorDirective;
|
|
8470
|
-
}(
|
|
8857
|
+
}(forms.CheckboxControlValueAccessor));
|
|
8471
8858
|
NimbleToggleButtonControlValueAccessorDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: NimbleToggleButtonControlValueAccessorDirective, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
8472
8859
|
NimbleToggleButtonControlValueAccessorDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.5", type: NimbleToggleButtonControlValueAccessorDirective, selector: "nimble-toggle-button[formControlName],nimble-toggle-button[formControl],nimble-toggle-button[ngModel]", host: { listeners: { "change": "onChange($event.target.checked)", "blur": "onTouched()" } }, providers: [{
|
|
8473
|
-
provide:
|
|
8860
|
+
provide: forms.NG_VALUE_ACCESSOR,
|
|
8474
8861
|
useExisting: i0.forwardRef(function () { return NimbleToggleButtonControlValueAccessorDirective; }),
|
|
8475
8862
|
multi: true
|
|
8476
8863
|
}], usesInheritance: true, ngImport: i0__namespace });
|
|
@@ -8482,7 +8869,7 @@
|
|
|
8482
8869
|
// eslint-disable-next-line @angular-eslint/no-host-metadata-property
|
|
8483
8870
|
host: { '(change)': 'onChange($event.target.checked)', '(blur)': 'onTouched()' },
|
|
8484
8871
|
providers: [{
|
|
8485
|
-
provide:
|
|
8872
|
+
provide: forms.NG_VALUE_ACCESSOR,
|
|
8486
8873
|
useExisting: i0.forwardRef(function () { return NimbleToggleButtonControlValueAccessorDirective; }),
|
|
8487
8874
|
multi: true
|
|
8488
8875
|
}]
|