fantasy-ngzorro 1.1.1 → 1.1.3
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/fantasy-ngzorro.umd.js +137 -136
- package/bundles/fantasy-ngzorro.umd.js.map +1 -1
- package/bundles/fantasy-ngzorro.umd.min.js +2 -2
- package/bundles/fantasy-ngzorro.umd.min.js.map +1 -1
- package/esm2015/fantasy-ngzorro.js +2 -2
- package/esm2015/hd-table/hd-table.component.js +1 -1
- package/esm2015/hd-table/hd-table.service.js +13 -13
- package/esm2015/index.js +2 -2
- package/esm2015/public-api.js +5 -5
- package/esm5/fantasy-ngzorro.js +2 -2
- package/esm5/hd-table/hd-table.component.js +1 -1
- package/esm5/hd-table/hd-table.service.js +16 -16
- package/esm5/index.js +2 -2
- package/esm5/public-api.js +5 -5
- package/fantasy-ngzorro.metadata.json +1 -1
- package/fesm2015/fantasy-ngzorro.js +129 -129
- package/fesm2015/fantasy-ngzorro.js.map +1 -1
- package/fesm5/fantasy-ngzorro.js +136 -136
- package/fesm5/fantasy-ngzorro.js.map +1 -1
- package/hd-table/hd-table.component.d.ts +3 -3
- package/hd-table/hd-table.service.d.ts +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +3 -3
|
@@ -3301,8 +3301,8 @@
|
|
|
3301
3301
|
// 表格行
|
|
3302
3302
|
var
|
|
3303
3303
|
// 表格行
|
|
3304
|
-
|
|
3305
|
-
function
|
|
3304
|
+
HdTableColumn = /** @class */ (function () {
|
|
3305
|
+
function HdTableColumn() {
|
|
3306
3306
|
// 列名
|
|
3307
3307
|
this.name = null; // 字段名
|
|
3308
3308
|
// 颜色
|
|
@@ -3312,31 +3312,31 @@
|
|
|
3312
3312
|
this.btnList = [];
|
|
3313
3313
|
this.isShow = true;
|
|
3314
3314
|
}
|
|
3315
|
-
return
|
|
3315
|
+
return HdTableColumn;
|
|
3316
3316
|
}());
|
|
3317
3317
|
if (false) {
|
|
3318
3318
|
/** @type {?} */
|
|
3319
|
-
|
|
3319
|
+
HdTableColumn.prototype.title;
|
|
3320
3320
|
/** @type {?} */
|
|
3321
|
-
|
|
3321
|
+
HdTableColumn.prototype.name;
|
|
3322
3322
|
/** @type {?} */
|
|
3323
|
-
|
|
3323
|
+
HdTableColumn.prototype.render;
|
|
3324
3324
|
/** @type {?} */
|
|
3325
|
-
|
|
3325
|
+
HdTableColumn.prototype.width;
|
|
3326
3326
|
/** @type {?} */
|
|
3327
|
-
|
|
3327
|
+
HdTableColumn.prototype.color;
|
|
3328
3328
|
/** @type {?} */
|
|
3329
|
-
|
|
3329
|
+
HdTableColumn.prototype.align;
|
|
3330
3330
|
/** @type {?} */
|
|
3331
|
-
|
|
3331
|
+
HdTableColumn.prototype.click;
|
|
3332
3332
|
/** @type {?} */
|
|
3333
|
-
|
|
3333
|
+
HdTableColumn.prototype.fixed;
|
|
3334
3334
|
/** @type {?} */
|
|
3335
|
-
|
|
3335
|
+
HdTableColumn.prototype.fixedWidth;
|
|
3336
3336
|
/** @type {?} */
|
|
3337
|
-
|
|
3337
|
+
HdTableColumn.prototype.btnList;
|
|
3338
3338
|
/** @type {?} */
|
|
3339
|
-
|
|
3339
|
+
HdTableColumn.prototype.isShow;
|
|
3340
3340
|
}
|
|
3341
3341
|
var OperateBtn = /** @class */ (function () {
|
|
3342
3342
|
function OperateBtn() {
|
|
@@ -4483,7 +4483,7 @@
|
|
|
4483
4483
|
// 表格行
|
|
4484
4484
|
var
|
|
4485
4485
|
// 表格行
|
|
4486
|
-
TableColumn
|
|
4486
|
+
TableColumn = /** @class */ (function () {
|
|
4487
4487
|
function TableColumn() {
|
|
4488
4488
|
// 字段名称
|
|
4489
4489
|
this.value = null; // 值 不传默认为null
|
|
@@ -4492,15 +4492,15 @@
|
|
|
4492
4492
|
}());
|
|
4493
4493
|
if (false) {
|
|
4494
4494
|
/** @type {?} */
|
|
4495
|
-
TableColumn
|
|
4495
|
+
TableColumn.prototype.label;
|
|
4496
4496
|
/** @type {?} */
|
|
4497
|
-
TableColumn
|
|
4497
|
+
TableColumn.prototype.name;
|
|
4498
4498
|
/** @type {?} */
|
|
4499
|
-
TableColumn
|
|
4499
|
+
TableColumn.prototype.value;
|
|
4500
4500
|
/** @type {?} */
|
|
4501
|
-
TableColumn
|
|
4501
|
+
TableColumn.prototype.selectList;
|
|
4502
4502
|
/** @type {?} */
|
|
4503
|
-
TableColumn
|
|
4503
|
+
TableColumn.prototype.show;
|
|
4504
4504
|
}
|
|
4505
4505
|
//
|
|
4506
4506
|
var
|
|
@@ -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;
|
|
@@ -5026,7 +5027,7 @@
|
|
|
5026
5027
|
exports.InputNumber = InputNumber;
|
|
5027
5028
|
exports.Page = Page;
|
|
5028
5029
|
exports.SelectOption = SelectOption;
|
|
5029
|
-
exports.TableColumn = TableColumn
|
|
5030
|
+
exports.TableColumn = TableColumn;
|
|
5030
5031
|
exports.TableTotalOption = TableTotalOption$1;
|
|
5031
5032
|
exports.TotalOption = TotalOption;
|
|
5032
5033
|
exports.Utils = Utils;
|