form.js 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686
  1. "use strict";
  2. var __extends = (this && this.__extends) || (function () {
  3. var extendStatics = Object.setPrototypeOf ||
  4. ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
  5. function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
  6. return function (d, b) {
  7. extendStatics(d, b);
  8. function __() { this.constructor = d; }
  9. d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  10. };
  11. })();
  12. /*!
  13. * devextreme-angular
  14. * Version: 19.1.16
  15. * Build date: Tue Oct 18 2022
  16. *
  17. * Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
  18. *
  19. * This software may be modified and distributed under the terms
  20. * of the MIT license. See the LICENSE file in the root of the project for details.
  21. *
  22. * https://github.com/DevExpress/devextreme-angular
  23. */
  24. Object.defineProperty(exports, "__esModule", { value: true });
  25. var platform_browser_1 = require("@angular/platform-browser");
  26. var platform_browser_2 = require("@angular/platform-browser");
  27. var core_1 = require("@angular/core");
  28. var form_1 = require("devextreme/ui/form");
  29. var component_1 = require("../core/component");
  30. var template_host_1 = require("../core/template-host");
  31. var integration_1 = require("../core/integration");
  32. var template_1 = require("../core/template");
  33. var nested_option_1 = require("../core/nested-option");
  34. var watcher_helper_1 = require("../core/watcher-helper");
  35. var iterable_differ_helper_1 = require("../core/iterable-differ-helper");
  36. var col_count_by_screen_1 = require("./nested/col-count-by-screen");
  37. var item_dxi_1 = require("./nested/item-dxi");
  38. var label_1 = require("./nested/label");
  39. var validation_rule_dxi_1 = require("./nested/validation-rule-dxi");
  40. var tab_panel_options_1 = require("./nested/tab-panel-options");
  41. var tab_dxi_1 = require("./nested/tab-dxi");
  42. var button_options_1 = require("./nested/button-options");
  43. var item_dxi_2 = require("./nested/item-dxi");
  44. /**
  45. * The Form widget represents fields of a data object as a collection of label-editor pairs. These pairs can be arranged in several groups, tabs and columns.
  46. */
  47. var DxFormComponent = (function (_super) {
  48. __extends(DxFormComponent, _super);
  49. function DxFormComponent(elementRef, ngZone, templateHost, _watcherHelper, _idh, optionHost, transferState, platformId) {
  50. var _this = _super.call(this, elementRef, ngZone, templateHost, _watcherHelper, transferState, platformId) || this;
  51. _this._watcherHelper = _watcherHelper;
  52. _this._idh = _idh;
  53. _this._createEventEmitters([
  54. { subscribe: 'contentReady', emit: 'onContentReady' },
  55. { subscribe: 'disposing', emit: 'onDisposing' },
  56. { subscribe: 'editorEnterKey', emit: 'onEditorEnterKey' },
  57. { subscribe: 'fieldDataChanged', emit: 'onFieldDataChanged' },
  58. { subscribe: 'initialized', emit: 'onInitialized' },
  59. { subscribe: 'optionChanged', emit: 'onOptionChanged' },
  60. { emit: 'accessKeyChange' },
  61. { emit: 'activeStateEnabledChange' },
  62. { emit: 'alignItemLabelsChange' },
  63. { emit: 'alignItemLabelsInAllGroupsChange' },
  64. { emit: 'colCountChange' },
  65. { emit: 'colCountByScreenChange' },
  66. { emit: 'customizeItemChange' },
  67. { emit: 'disabledChange' },
  68. { emit: 'elementAttrChange' },
  69. { emit: 'focusStateEnabledChange' },
  70. { emit: 'formDataChange' },
  71. { emit: 'heightChange' },
  72. { emit: 'hintChange' },
  73. { emit: 'hoverStateEnabledChange' },
  74. { emit: 'itemsChange' },
  75. { emit: 'labelLocationChange' },
  76. { emit: 'minColWidthChange' },
  77. { emit: 'optionalMarkChange' },
  78. { emit: 'readOnlyChange' },
  79. { emit: 'requiredMarkChange' },
  80. { emit: 'requiredMessageChange' },
  81. { emit: 'rtlEnabledChange' },
  82. { emit: 'screenByWidthChange' },
  83. { emit: 'scrollingEnabledChange' },
  84. { emit: 'showColonAfterLabelChange' },
  85. { emit: 'showOptionalMarkChange' },
  86. { emit: 'showRequiredMarkChange' },
  87. { emit: 'showValidationSummaryChange' },
  88. { emit: 'tabIndexChange' },
  89. { emit: 'validationGroupChange' },
  90. { emit: 'visibleChange' },
  91. { emit: 'widthChange' }
  92. ]);
  93. _this._idh.setHost(_this);
  94. optionHost.setHost(_this);
  95. return _this;
  96. }
  97. Object.defineProperty(DxFormComponent.prototype, "accessKey", {
  98. get: /**
  99. * Specifies the shortcut key that sets focus on the widget.
  100. */
  101. function () {
  102. return this._getOption('accessKey');
  103. },
  104. set: function (value) {
  105. this._setOption('accessKey', value);
  106. },
  107. enumerable: true,
  108. configurable: true
  109. });
  110. Object.defineProperty(DxFormComponent.prototype, "activeStateEnabled", {
  111. get: /**
  112. * Specifies whether or not the widget changes its state when interacting with a user.
  113. */
  114. function () {
  115. return this._getOption('activeStateEnabled');
  116. },
  117. set: function (value) {
  118. this._setOption('activeStateEnabled', value);
  119. },
  120. enumerable: true,
  121. configurable: true
  122. });
  123. Object.defineProperty(DxFormComponent.prototype, "alignItemLabels", {
  124. get: /**
  125. * Specifies whether or not all root item labels are aligned.
  126. */
  127. function () {
  128. return this._getOption('alignItemLabels');
  129. },
  130. set: function (value) {
  131. this._setOption('alignItemLabels', value);
  132. },
  133. enumerable: true,
  134. configurable: true
  135. });
  136. Object.defineProperty(DxFormComponent.prototype, "alignItemLabelsInAllGroups", {
  137. get: /**
  138. * Specifies whether or not item labels in all groups are aligned.
  139. */
  140. function () {
  141. return this._getOption('alignItemLabelsInAllGroups');
  142. },
  143. set: function (value) {
  144. this._setOption('alignItemLabelsInAllGroups', value);
  145. },
  146. enumerable: true,
  147. configurable: true
  148. });
  149. Object.defineProperty(DxFormComponent.prototype, "colCount", {
  150. get: /**
  151. * The count of columns in the form layout.
  152. */
  153. function () {
  154. return this._getOption('colCount');
  155. },
  156. set: function (value) {
  157. this._setOption('colCount', value);
  158. },
  159. enumerable: true,
  160. configurable: true
  161. });
  162. Object.defineProperty(DxFormComponent.prototype, "colCountByScreen", {
  163. get: /**
  164. * Specifies dependency between the screen factor and the count of columns in the form layout.
  165. */
  166. function () {
  167. return this._getOption('colCountByScreen');
  168. },
  169. set: function (value) {
  170. this._setOption('colCountByScreen', value);
  171. },
  172. enumerable: true,
  173. configurable: true
  174. });
  175. Object.defineProperty(DxFormComponent.prototype, "customizeItem", {
  176. get: /**
  177. * Specifies a function that customizes a form item after it has been created.
  178. */
  179. function () {
  180. return this._getOption('customizeItem');
  181. },
  182. set: function (value) {
  183. this._setOption('customizeItem', value);
  184. },
  185. enumerable: true,
  186. configurable: true
  187. });
  188. Object.defineProperty(DxFormComponent.prototype, "disabled", {
  189. get: /**
  190. * Specifies whether the widget responds to user interaction.
  191. */
  192. function () {
  193. return this._getOption('disabled');
  194. },
  195. set: function (value) {
  196. this._setOption('disabled', value);
  197. },
  198. enumerable: true,
  199. configurable: true
  200. });
  201. Object.defineProperty(DxFormComponent.prototype, "elementAttr", {
  202. get: /**
  203. * Specifies the attributes to be attached to the widget's root element.
  204. */
  205. function () {
  206. return this._getOption('elementAttr');
  207. },
  208. set: function (value) {
  209. this._setOption('elementAttr', value);
  210. },
  211. enumerable: true,
  212. configurable: true
  213. });
  214. Object.defineProperty(DxFormComponent.prototype, "focusStateEnabled", {
  215. get: /**
  216. * Specifies whether the widget can be focused using keyboard navigation.
  217. */
  218. function () {
  219. return this._getOption('focusStateEnabled');
  220. },
  221. set: function (value) {
  222. this._setOption('focusStateEnabled', value);
  223. },
  224. enumerable: true,
  225. configurable: true
  226. });
  227. Object.defineProperty(DxFormComponent.prototype, "formData", {
  228. get: /**
  229. * Provides the Form's data. Gets updated every time form fields change.
  230. */
  231. function () {
  232. return this._getOption('formData');
  233. },
  234. set: function (value) {
  235. this._setOption('formData', value);
  236. },
  237. enumerable: true,
  238. configurable: true
  239. });
  240. Object.defineProperty(DxFormComponent.prototype, "height", {
  241. get: /**
  242. * Specifies the widget's height.
  243. */
  244. function () {
  245. return this._getOption('height');
  246. },
  247. set: function (value) {
  248. this._setOption('height', value);
  249. },
  250. enumerable: true,
  251. configurable: true
  252. });
  253. Object.defineProperty(DxFormComponent.prototype, "hint", {
  254. get: /**
  255. * Specifies text for a hint that appears when a user pauses on the widget.
  256. */
  257. function () {
  258. return this._getOption('hint');
  259. },
  260. set: function (value) {
  261. this._setOption('hint', value);
  262. },
  263. enumerable: true,
  264. configurable: true
  265. });
  266. Object.defineProperty(DxFormComponent.prototype, "hoverStateEnabled", {
  267. get: /**
  268. * Specifies whether the widget changes its state when a user pauses on it.
  269. */
  270. function () {
  271. return this._getOption('hoverStateEnabled');
  272. },
  273. set: function (value) {
  274. this._setOption('hoverStateEnabled', value);
  275. },
  276. enumerable: true,
  277. configurable: true
  278. });
  279. Object.defineProperty(DxFormComponent.prototype, "items", {
  280. get: /**
  281. * Holds an array of form items.
  282. */
  283. function () {
  284. return this._getOption('items');
  285. },
  286. set: function (value) {
  287. this._setOption('items', value);
  288. },
  289. enumerable: true,
  290. configurable: true
  291. });
  292. Object.defineProperty(DxFormComponent.prototype, "labelLocation", {
  293. get: /**
  294. * Specifies the location of a label against the editor.
  295. */
  296. function () {
  297. return this._getOption('labelLocation');
  298. },
  299. set: function (value) {
  300. this._setOption('labelLocation', value);
  301. },
  302. enumerable: true,
  303. configurable: true
  304. });
  305. Object.defineProperty(DxFormComponent.prototype, "minColWidth", {
  306. get: /**
  307. * The minimum column width used for calculating column count in the form layout.
  308. */
  309. function () {
  310. return this._getOption('minColWidth');
  311. },
  312. set: function (value) {
  313. this._setOption('minColWidth', value);
  314. },
  315. enumerable: true,
  316. configurable: true
  317. });
  318. Object.defineProperty(DxFormComponent.prototype, "optionalMark", {
  319. get: /**
  320. * The text displayed for optional fields.
  321. */
  322. function () {
  323. return this._getOption('optionalMark');
  324. },
  325. set: function (value) {
  326. this._setOption('optionalMark', value);
  327. },
  328. enumerable: true,
  329. configurable: true
  330. });
  331. Object.defineProperty(DxFormComponent.prototype, "readOnly", {
  332. get: /**
  333. * Specifies whether all editors on the form are read-only. Applies only to non-templated items.
  334. */
  335. function () {
  336. return this._getOption('readOnly');
  337. },
  338. set: function (value) {
  339. this._setOption('readOnly', value);
  340. },
  341. enumerable: true,
  342. configurable: true
  343. });
  344. Object.defineProperty(DxFormComponent.prototype, "requiredMark", {
  345. get: /**
  346. * The text displayed for required fields.
  347. */
  348. function () {
  349. return this._getOption('requiredMark');
  350. },
  351. set: function (value) {
  352. this._setOption('requiredMark', value);
  353. },
  354. enumerable: true,
  355. configurable: true
  356. });
  357. Object.defineProperty(DxFormComponent.prototype, "requiredMessage", {
  358. get: /**
  359. * Specifies the message that is shown for end-users if a required field value is not specified.
  360. */
  361. function () {
  362. return this._getOption('requiredMessage');
  363. },
  364. set: function (value) {
  365. this._setOption('requiredMessage', value);
  366. },
  367. enumerable: true,
  368. configurable: true
  369. });
  370. Object.defineProperty(DxFormComponent.prototype, "rtlEnabled", {
  371. get: /**
  372. * Switches the widget to a right-to-left representation.
  373. */
  374. function () {
  375. return this._getOption('rtlEnabled');
  376. },
  377. set: function (value) {
  378. this._setOption('rtlEnabled', value);
  379. },
  380. enumerable: true,
  381. configurable: true
  382. });
  383. Object.defineProperty(DxFormComponent.prototype, "screenByWidth", {
  384. get: /**
  385. * Specifies a function that categorizes screens by their width.
  386. */
  387. function () {
  388. return this._getOption('screenByWidth');
  389. },
  390. set: function (value) {
  391. this._setOption('screenByWidth', value);
  392. },
  393. enumerable: true,
  394. configurable: true
  395. });
  396. Object.defineProperty(DxFormComponent.prototype, "scrollingEnabled", {
  397. get: /**
  398. * A Boolean value specifying whether to enable or disable form scrolling.
  399. */
  400. function () {
  401. return this._getOption('scrollingEnabled');
  402. },
  403. set: function (value) {
  404. this._setOption('scrollingEnabled', value);
  405. },
  406. enumerable: true,
  407. configurable: true
  408. });
  409. Object.defineProperty(DxFormComponent.prototype, "showColonAfterLabel", {
  410. get: /**
  411. * Specifies whether or not a colon is displayed at the end of form labels.
  412. */
  413. function () {
  414. return this._getOption('showColonAfterLabel');
  415. },
  416. set: function (value) {
  417. this._setOption('showColonAfterLabel', value);
  418. },
  419. enumerable: true,
  420. configurable: true
  421. });
  422. Object.defineProperty(DxFormComponent.prototype, "showOptionalMark", {
  423. get: /**
  424. * Specifies whether or not the optional mark is displayed for optional fields.
  425. */
  426. function () {
  427. return this._getOption('showOptionalMark');
  428. },
  429. set: function (value) {
  430. this._setOption('showOptionalMark', value);
  431. },
  432. enumerable: true,
  433. configurable: true
  434. });
  435. Object.defineProperty(DxFormComponent.prototype, "showRequiredMark", {
  436. get: /**
  437. * Specifies whether or not the required mark is displayed for required fields.
  438. */
  439. function () {
  440. return this._getOption('showRequiredMark');
  441. },
  442. set: function (value) {
  443. this._setOption('showRequiredMark', value);
  444. },
  445. enumerable: true,
  446. configurable: true
  447. });
  448. Object.defineProperty(DxFormComponent.prototype, "showValidationSummary", {
  449. get: /**
  450. * Specifies whether or not the total validation summary is displayed on the form.
  451. */
  452. function () {
  453. return this._getOption('showValidationSummary');
  454. },
  455. set: function (value) {
  456. this._setOption('showValidationSummary', value);
  457. },
  458. enumerable: true,
  459. configurable: true
  460. });
  461. Object.defineProperty(DxFormComponent.prototype, "tabIndex", {
  462. get: /**
  463. * Specifies the number of the element when the Tab key is used for navigating.
  464. */
  465. function () {
  466. return this._getOption('tabIndex');
  467. },
  468. set: function (value) {
  469. this._setOption('tabIndex', value);
  470. },
  471. enumerable: true,
  472. configurable: true
  473. });
  474. Object.defineProperty(DxFormComponent.prototype, "validationGroup", {
  475. get: /**
  476. * Gives a name to the internal validation group.
  477. */
  478. function () {
  479. return this._getOption('validationGroup');
  480. },
  481. set: function (value) {
  482. this._setOption('validationGroup', value);
  483. },
  484. enumerable: true,
  485. configurable: true
  486. });
  487. Object.defineProperty(DxFormComponent.prototype, "visible", {
  488. get: /**
  489. * Specifies whether the widget is visible.
  490. */
  491. function () {
  492. return this._getOption('visible');
  493. },
  494. set: function (value) {
  495. this._setOption('visible', value);
  496. },
  497. enumerable: true,
  498. configurable: true
  499. });
  500. Object.defineProperty(DxFormComponent.prototype, "width", {
  501. get: /**
  502. * Specifies the widget's width.
  503. */
  504. function () {
  505. return this._getOption('width');
  506. },
  507. set: function (value) {
  508. this._setOption('width', value);
  509. },
  510. enumerable: true,
  511. configurable: true
  512. });
  513. Object.defineProperty(DxFormComponent.prototype, "itemsChildren", {
  514. get: function () {
  515. return this._getOption('items');
  516. },
  517. set: function (value) {
  518. this.setChildren('items', value);
  519. },
  520. enumerable: true,
  521. configurable: true
  522. });
  523. DxFormComponent.prototype._createInstance = function (element, options) {
  524. return new form_1.default(element, options);
  525. };
  526. DxFormComponent.prototype.ngOnDestroy = function () {
  527. this._destroyWidget();
  528. };
  529. DxFormComponent.prototype.ngOnChanges = function (changes) {
  530. _super.prototype.ngOnChanges.call(this, changes);
  531. this.setupChanges('items', changes);
  532. };
  533. DxFormComponent.prototype.setupChanges = function (prop, changes) {
  534. if (!(prop in this._optionsToUpdate)) {
  535. this._idh.setup(prop, changes);
  536. }
  537. };
  538. DxFormComponent.prototype.ngDoCheck = function () {
  539. this._idh.doCheck('items');
  540. this._watcherHelper.checkWatchers();
  541. _super.prototype.ngDoCheck.call(this);
  542. _super.prototype.clearChangedOptions.call(this);
  543. };
  544. DxFormComponent.prototype._setOption = function (name, value) {
  545. var isSetup = this._idh.setupSingle(name, value);
  546. var isChanged = this._idh.getChanges(name, value) !== null;
  547. if (isSetup || isChanged) {
  548. _super.prototype._setOption.call(this, name, value);
  549. }
  550. };
  551. DxFormComponent.decorators = [
  552. { type: core_1.Component, args: [{
  553. selector: 'dx-form',
  554. template: '',
  555. providers: [
  556. template_host_1.DxTemplateHost,
  557. watcher_helper_1.WatcherHelper,
  558. nested_option_1.NestedOptionHost,
  559. iterable_differ_helper_1.IterableDifferHelper
  560. ]
  561. },] },
  562. ];
  563. /** @nocollapse */
  564. DxFormComponent.ctorParameters = function () { return [
  565. { type: core_1.ElementRef, },
  566. { type: core_1.NgZone, },
  567. { type: template_host_1.DxTemplateHost, },
  568. { type: watcher_helper_1.WatcherHelper, },
  569. { type: iterable_differ_helper_1.IterableDifferHelper, },
  570. { type: nested_option_1.NestedOptionHost, },
  571. { type: platform_browser_2.TransferState, },
  572. { type: undefined, decorators: [{ type: core_1.Inject, args: [core_1.PLATFORM_ID,] },] },
  573. ]; };
  574. DxFormComponent.propDecorators = {
  575. "accessKey": [{ type: core_1.Input },],
  576. "activeStateEnabled": [{ type: core_1.Input },],
  577. "alignItemLabels": [{ type: core_1.Input },],
  578. "alignItemLabelsInAllGroups": [{ type: core_1.Input },],
  579. "colCount": [{ type: core_1.Input },],
  580. "colCountByScreen": [{ type: core_1.Input },],
  581. "customizeItem": [{ type: core_1.Input },],
  582. "disabled": [{ type: core_1.Input },],
  583. "elementAttr": [{ type: core_1.Input },],
  584. "focusStateEnabled": [{ type: core_1.Input },],
  585. "formData": [{ type: core_1.Input },],
  586. "height": [{ type: core_1.Input },],
  587. "hint": [{ type: core_1.Input },],
  588. "hoverStateEnabled": [{ type: core_1.Input },],
  589. "items": [{ type: core_1.Input },],
  590. "labelLocation": [{ type: core_1.Input },],
  591. "minColWidth": [{ type: core_1.Input },],
  592. "optionalMark": [{ type: core_1.Input },],
  593. "readOnly": [{ type: core_1.Input },],
  594. "requiredMark": [{ type: core_1.Input },],
  595. "requiredMessage": [{ type: core_1.Input },],
  596. "rtlEnabled": [{ type: core_1.Input },],
  597. "screenByWidth": [{ type: core_1.Input },],
  598. "scrollingEnabled": [{ type: core_1.Input },],
  599. "showColonAfterLabel": [{ type: core_1.Input },],
  600. "showOptionalMark": [{ type: core_1.Input },],
  601. "showRequiredMark": [{ type: core_1.Input },],
  602. "showValidationSummary": [{ type: core_1.Input },],
  603. "tabIndex": [{ type: core_1.Input },],
  604. "validationGroup": [{ type: core_1.Input },],
  605. "visible": [{ type: core_1.Input },],
  606. "width": [{ type: core_1.Input },],
  607. "onContentReady": [{ type: core_1.Output },],
  608. "onDisposing": [{ type: core_1.Output },],
  609. "onEditorEnterKey": [{ type: core_1.Output },],
  610. "onFieldDataChanged": [{ type: core_1.Output },],
  611. "onInitialized": [{ type: core_1.Output },],
  612. "onOptionChanged": [{ type: core_1.Output },],
  613. "accessKeyChange": [{ type: core_1.Output },],
  614. "activeStateEnabledChange": [{ type: core_1.Output },],
  615. "alignItemLabelsChange": [{ type: core_1.Output },],
  616. "alignItemLabelsInAllGroupsChange": [{ type: core_1.Output },],
  617. "colCountChange": [{ type: core_1.Output },],
  618. "colCountByScreenChange": [{ type: core_1.Output },],
  619. "customizeItemChange": [{ type: core_1.Output },],
  620. "disabledChange": [{ type: core_1.Output },],
  621. "elementAttrChange": [{ type: core_1.Output },],
  622. "focusStateEnabledChange": [{ type: core_1.Output },],
  623. "formDataChange": [{ type: core_1.Output },],
  624. "heightChange": [{ type: core_1.Output },],
  625. "hintChange": [{ type: core_1.Output },],
  626. "hoverStateEnabledChange": [{ type: core_1.Output },],
  627. "itemsChange": [{ type: core_1.Output },],
  628. "labelLocationChange": [{ type: core_1.Output },],
  629. "minColWidthChange": [{ type: core_1.Output },],
  630. "optionalMarkChange": [{ type: core_1.Output },],
  631. "readOnlyChange": [{ type: core_1.Output },],
  632. "requiredMarkChange": [{ type: core_1.Output },],
  633. "requiredMessageChange": [{ type: core_1.Output },],
  634. "rtlEnabledChange": [{ type: core_1.Output },],
  635. "screenByWidthChange": [{ type: core_1.Output },],
  636. "scrollingEnabledChange": [{ type: core_1.Output },],
  637. "showColonAfterLabelChange": [{ type: core_1.Output },],
  638. "showOptionalMarkChange": [{ type: core_1.Output },],
  639. "showRequiredMarkChange": [{ type: core_1.Output },],
  640. "showValidationSummaryChange": [{ type: core_1.Output },],
  641. "tabIndexChange": [{ type: core_1.Output },],
  642. "validationGroupChange": [{ type: core_1.Output },],
  643. "visibleChange": [{ type: core_1.Output },],
  644. "widthChange": [{ type: core_1.Output },],
  645. "itemsChildren": [{ type: core_1.ContentChildren, args: [item_dxi_2.DxiItemComponent,] },],
  646. };
  647. return DxFormComponent;
  648. }(component_1.DxComponent));
  649. exports.DxFormComponent = DxFormComponent;
  650. var DxFormModule = (function () {
  651. function DxFormModule() {
  652. }
  653. DxFormModule.decorators = [
  654. { type: core_1.NgModule, args: [{
  655. imports: [
  656. col_count_by_screen_1.DxoColCountByScreenModule,
  657. item_dxi_1.DxiItemModule,
  658. label_1.DxoLabelModule,
  659. validation_rule_dxi_1.DxiValidationRuleModule,
  660. tab_panel_options_1.DxoTabPanelOptionsModule,
  661. tab_dxi_1.DxiTabModule,
  662. button_options_1.DxoButtonOptionsModule,
  663. integration_1.DxIntegrationModule,
  664. template_1.DxTemplateModule,
  665. platform_browser_1.BrowserTransferStateModule
  666. ],
  667. declarations: [
  668. DxFormComponent
  669. ],
  670. exports: [
  671. DxFormComponent,
  672. col_count_by_screen_1.DxoColCountByScreenModule,
  673. item_dxi_1.DxiItemModule,
  674. label_1.DxoLabelModule,
  675. validation_rule_dxi_1.DxiValidationRuleModule,
  676. tab_panel_options_1.DxoTabPanelOptionsModule,
  677. tab_dxi_1.DxiTabModule,
  678. button_options_1.DxoButtonOptionsModule,
  679. template_1.DxTemplateModule
  680. ]
  681. },] },
  682. ];
  683. return DxFormModule;
  684. }());
  685. exports.DxFormModule = DxFormModule;
  686. //# sourceMappingURL=form.js.map