fantasy-ngzorro 1.1.1 → 1.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.
@@ -4625,121 +4625,6 @@
4625
4625
  return HdFilterService;
4626
4626
  }());
4627
4627
 
4628
- /**
4629
- * @fileoverview added by tsickle
4630
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4631
- */
4632
- // 控件列表
4633
- var
4634
- // 控件列表
4635
- FormItem = /** @class */ (function () {
4636
- function FormItem() {
4637
- // 字段名称
4638
- this.require = false; // 是否必填
4639
- // 输入框提示文案
4640
- this.width = 1; // 占据的列数。默认1
4641
- // 占据的列数。默认1
4642
- this.hide = false; // 是否为隐藏字段,仅用于填充表单的字段,不显示在页面上
4643
- // 是否为隐藏字段,仅用于填充表单的字段,不显示在页面上
4644
- this.totalWidth = 0;
4645
- this.isRowFirst = 0; // 是否是一行的第一个元素
4646
- // 当前行的所有列的items
4647
- this.value = null; // 值 不传默认为null
4648
- // 控件为Select时,选项列表
4649
- this.inputNumber = new InputNumber(); // number组件的min、max、step
4650
- // textArea的行数
4651
- this.showTime = false; // 日期选择器是否包含时间
4652
- }
4653
- return FormItem;
4654
- }());
4655
- if (false) {
4656
- /** @type {?} */
4657
- FormItem.prototype.type;
4658
- /** @type {?} */
4659
- FormItem.prototype.label;
4660
- /** @type {?} */
4661
- FormItem.prototype.name;
4662
- /** @type {?} */
4663
- FormItem.prototype.require;
4664
- /** @type {?} */
4665
- FormItem.prototype.placeholder;
4666
- /** @type {?} */
4667
- FormItem.prototype.width;
4668
- /** @type {?} */
4669
- FormItem.prototype.hide;
4670
- /** @type {?} */
4671
- FormItem.prototype.totalWidth;
4672
- /** @type {?} */
4673
- FormItem.prototype.isRowFirst;
4674
- /** @type {?} */
4675
- FormItem.prototype.columnItems;
4676
- /** @type {?} */
4677
- FormItem.prototype.value;
4678
- /** @type {?} */
4679
- FormItem.prototype.disabled;
4680
- /** @type {?} */
4681
- FormItem.prototype.color;
4682
- /** @type {?} */
4683
- FormItem.prototype.maxLength;
4684
- /** @type {?} */
4685
- FormItem.prototype.selectOption;
4686
- /** @type {?} */
4687
- FormItem.prototype.inputNumber;
4688
- /** @type {?} */
4689
- FormItem.prototype.onChangeEvent;
4690
- /** @type {?} */
4691
- FormItem.prototype.onSearchEvent;
4692
- /** @type {?} */
4693
- FormItem.prototype.defaultLabel;
4694
- /** @type {?} */
4695
- FormItem.prototype.hdDisabledDate;
4696
- /** @type {?} */
4697
- FormItem.prototype.explain;
4698
- /** @type {?} */
4699
- FormItem.prototype.textAreaRows;
4700
- /** @type {?} */
4701
- FormItem.prototype.showTime;
4702
- /** @type {?} */
4703
- FormItem.prototype.labelColor;
4704
- }
4705
- /** @enum {number} */
4706
- var FormListType = {
4707
- Input: 0,
4708
- Select: 1,
4709
- Date: 2,
4710
- DateRange: 3,
4711
- TextArea: 4,
4712
- InputNumber: 5,
4713
- MultipleSelect: 6,
4714
- ViewDom: 7,
4715
- Switch: 8,
4716
- Time: 9 // 时间选择器
4717
- ,
4718
- };
4719
- FormListType[FormListType.Input] = 'Input';
4720
- FormListType[FormListType.Select] = 'Select';
4721
- FormListType[FormListType.Date] = 'Date';
4722
- FormListType[FormListType.DateRange] = 'DateRange';
4723
- FormListType[FormListType.TextArea] = 'TextArea';
4724
- FormListType[FormListType.InputNumber] = 'InputNumber';
4725
- FormListType[FormListType.MultipleSelect] = 'MultipleSelect';
4726
- FormListType[FormListType.ViewDom] = 'ViewDom';
4727
- FormListType[FormListType.Switch] = 'Switch';
4728
- FormListType[FormListType.Time] = 'Time';
4729
- var HdFormService = /** @class */ (function () {
4730
- function HdFormService() {
4731
- }
4732
- HdFormService.decorators = [
4733
- { type: core.Injectable, args: [{
4734
- providedIn: 'root'
4735
- },] }
4736
- ];
4737
- /** @nocollapse */
4738
- HdFormService.ctorParameters = function () { return []; };
4739
- /** @nocollapse */ HdFormService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function HdFormService_Factory() { return new HdFormService(); }, token: HdFormService, providedIn: "root" });
4740
- return HdFormService;
4741
- }());
4742
-
4743
4628
  /**
4744
4629
  * @fileoverview added by tsickle
4745
4630
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
@@ -4875,6 +4760,121 @@
4875
4760
  return HdFormLinesService;
4876
4761
  }());
4877
4762
 
4763
+ /**
4764
+ * @fileoverview added by tsickle
4765
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4766
+ */
4767
+ // 控件列表
4768
+ var
4769
+ // 控件列表
4770
+ FormItem = /** @class */ (function () {
4771
+ function FormItem() {
4772
+ // 字段名称
4773
+ this.require = false; // 是否必填
4774
+ // 输入框提示文案
4775
+ this.width = 1; // 占据的列数。默认1
4776
+ // 占据的列数。默认1
4777
+ this.hide = false; // 是否为隐藏字段,仅用于填充表单的字段,不显示在页面上
4778
+ // 是否为隐藏字段,仅用于填充表单的字段,不显示在页面上
4779
+ this.totalWidth = 0;
4780
+ this.isRowFirst = 0; // 是否是一行的第一个元素
4781
+ // 当前行的所有列的items
4782
+ this.value = null; // 值 不传默认为null
4783
+ // 控件为Select时,选项列表
4784
+ this.inputNumber = new InputNumber(); // number组件的min、max、step
4785
+ // textArea的行数
4786
+ this.showTime = false; // 日期选择器是否包含时间
4787
+ }
4788
+ return FormItem;
4789
+ }());
4790
+ if (false) {
4791
+ /** @type {?} */
4792
+ FormItem.prototype.type;
4793
+ /** @type {?} */
4794
+ FormItem.prototype.label;
4795
+ /** @type {?} */
4796
+ FormItem.prototype.name;
4797
+ /** @type {?} */
4798
+ FormItem.prototype.require;
4799
+ /** @type {?} */
4800
+ FormItem.prototype.placeholder;
4801
+ /** @type {?} */
4802
+ FormItem.prototype.width;
4803
+ /** @type {?} */
4804
+ FormItem.prototype.hide;
4805
+ /** @type {?} */
4806
+ FormItem.prototype.totalWidth;
4807
+ /** @type {?} */
4808
+ FormItem.prototype.isRowFirst;
4809
+ /** @type {?} */
4810
+ FormItem.prototype.columnItems;
4811
+ /** @type {?} */
4812
+ FormItem.prototype.value;
4813
+ /** @type {?} */
4814
+ FormItem.prototype.disabled;
4815
+ /** @type {?} */
4816
+ FormItem.prototype.color;
4817
+ /** @type {?} */
4818
+ FormItem.prototype.maxLength;
4819
+ /** @type {?} */
4820
+ FormItem.prototype.selectOption;
4821
+ /** @type {?} */
4822
+ FormItem.prototype.inputNumber;
4823
+ /** @type {?} */
4824
+ FormItem.prototype.onChangeEvent;
4825
+ /** @type {?} */
4826
+ FormItem.prototype.onSearchEvent;
4827
+ /** @type {?} */
4828
+ FormItem.prototype.defaultLabel;
4829
+ /** @type {?} */
4830
+ FormItem.prototype.hdDisabledDate;
4831
+ /** @type {?} */
4832
+ FormItem.prototype.explain;
4833
+ /** @type {?} */
4834
+ FormItem.prototype.textAreaRows;
4835
+ /** @type {?} */
4836
+ FormItem.prototype.showTime;
4837
+ /** @type {?} */
4838
+ FormItem.prototype.labelColor;
4839
+ }
4840
+ /** @enum {number} */
4841
+ var FormListType = {
4842
+ Input: 0,
4843
+ Select: 1,
4844
+ Date: 2,
4845
+ DateRange: 3,
4846
+ TextArea: 4,
4847
+ InputNumber: 5,
4848
+ MultipleSelect: 6,
4849
+ ViewDom: 7,
4850
+ Switch: 8,
4851
+ Time: 9 // 时间选择器
4852
+ ,
4853
+ };
4854
+ FormListType[FormListType.Input] = 'Input';
4855
+ FormListType[FormListType.Select] = 'Select';
4856
+ FormListType[FormListType.Date] = 'Date';
4857
+ FormListType[FormListType.DateRange] = 'DateRange';
4858
+ FormListType[FormListType.TextArea] = 'TextArea';
4859
+ FormListType[FormListType.InputNumber] = 'InputNumber';
4860
+ FormListType[FormListType.MultipleSelect] = 'MultipleSelect';
4861
+ FormListType[FormListType.ViewDom] = 'ViewDom';
4862
+ FormListType[FormListType.Switch] = 'Switch';
4863
+ FormListType[FormListType.Time] = 'Time';
4864
+ var HdFormService = /** @class */ (function () {
4865
+ function HdFormService() {
4866
+ }
4867
+ HdFormService.decorators = [
4868
+ { type: core.Injectable, args: [{
4869
+ providedIn: 'root'
4870
+ },] }
4871
+ ];
4872
+ /** @nocollapse */
4873
+ HdFormService.ctorParameters = function () { return []; };
4874
+ /** @nocollapse */ HdFormService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function HdFormService_Factory() { return new HdFormService(); }, token: HdFormService, providedIn: "root" });
4875
+ return HdFormService;
4876
+ }());
4877
+
4878
4878
  /**
4879
4879
  * @fileoverview added by tsickle
4880
4880
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
@@ -5005,6 +5005,7 @@
5005
5005
 
5006
5006
  exports.ButtonSize = ButtonSize;
5007
5007
  exports.ButtonType = ButtonType;
5008
+ exports.ColWidth = ColWidth;
5008
5009
  exports.ColorOption = ColorOption;
5009
5010
  exports.ExplainOption = ExplainOption;
5010
5011
  exports.FantasyNgzorroModule = FantasyNgzorroModule;