fantasy-ngzorro 1.0.6 → 1.0.8

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.
Files changed (44) hide show
  1. package/bundles/fantasy-ngzorro.umd.js +105 -10
  2. package/bundles/fantasy-ngzorro.umd.js.map +1 -1
  3. package/bundles/fantasy-ngzorro.umd.min.js +2 -2
  4. package/bundles/fantasy-ngzorro.umd.min.js.map +1 -1
  5. package/esm2015/fantasy-ngzorro.js +6 -5
  6. package/esm2015/hd-component.module.js +4 -2
  7. package/esm2015/hd-current-table/hd-current-table.component.js +2 -2
  8. package/esm2015/hd-current-table/hd-current-table.service.js +1 -1
  9. package/esm2015/hd-detail-form/hd-detail-form.component.js +1 -1
  10. package/esm2015/hd-filter/hd-filter.service.js +1 -1
  11. package/esm2015/hd-form/hd-form.service.js +2 -2
  12. package/esm2015/hd-form-lines/hd-form-lines.service.js +2 -2
  13. package/esm2015/hd-popconfirm/hd-popconfirm.component.js +54 -0
  14. package/esm2015/hd-popconfirm/hd-popconfirm.module.js +29 -0
  15. package/esm2015/index.js +2 -2
  16. package/esm2015/public-api.js +2 -1
  17. package/esm5/fantasy-ngzorro.js +6 -5
  18. package/esm5/hd-component.module.js +4 -2
  19. package/esm5/hd-current-table/hd-current-table.component.js +2 -2
  20. package/esm5/hd-current-table/hd-current-table.service.js +1 -1
  21. package/esm5/hd-detail-form/hd-detail-form.component.js +1 -1
  22. package/esm5/hd-filter/hd-filter.service.js +1 -1
  23. package/esm5/hd-form/hd-form.service.js +2 -2
  24. package/esm5/hd-form-lines/hd-form-lines.service.js +2 -2
  25. package/esm5/hd-popconfirm/hd-popconfirm.component.js +67 -0
  26. package/esm5/hd-popconfirm/hd-popconfirm.module.js +33 -0
  27. package/esm5/index.js +2 -2
  28. package/esm5/public-api.js +2 -1
  29. package/fantasy-ngzorro.d.ts +4 -3
  30. package/fantasy-ngzorro.metadata.json +1 -1
  31. package/fesm2015/fantasy-ngzorro.js +82 -5
  32. package/fesm2015/fantasy-ngzorro.js.map +1 -1
  33. package/fesm5/fantasy-ngzorro.js +97 -5
  34. package/fesm5/fantasy-ngzorro.js.map +1 -1
  35. package/hd-current-table/hd-current-table.component.d.ts +1 -1
  36. package/hd-current-table/hd-current-table.service.d.ts +1 -1
  37. package/hd-detail-form/hd-detail-form.component.d.ts +1 -1
  38. package/hd-filter/hd-filter.service.d.ts +1 -1
  39. package/hd-form/hd-form.service.d.ts +1 -1
  40. package/hd-form-lines/hd-form-lines.service.d.ts +1 -1
  41. package/hd-popconfirm/hd-popconfirm.component.d.ts +10 -0
  42. package/hd-popconfirm/hd-popconfirm.module.d.ts +2 -0
  43. package/package.json +1 -1
  44. package/public-api.d.ts +1 -0
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('ng-zorro-antd'), require('@angular/forms'), require('ng-zorro-antd/core'), require('lodash'), require('@angular/cdk/drag-drop'), require('ng-zorro-antd/table'), require('fantasy-ngzorro/model/common-type')) :
3
- typeof define === 'function' && define.amd ? define('fantasy-ngzorro', ['exports', '@angular/core', '@angular/common', 'ng-zorro-antd', '@angular/forms', 'ng-zorro-antd/core', 'lodash', '@angular/cdk/drag-drop', 'ng-zorro-antd/table', 'fantasy-ngzorro/model/common-type'], factory) :
4
- (global = global || self, factory(global['fantasy-ngzorro'] = {}, global.ng.core, global.ng.common, global.ngZorroAntd, global.ng.forms, global.core$1, global.lodash, global.ng.cdk['drag-drop'], global.table, global.commonType));
5
- }(this, (function (exports, core, common, ngZorroAntd, forms, core$1, lodash, dragDrop, table, commonType) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('ng-zorro-antd'), require('@angular/forms'), require('ng-zorro-antd/core'), require('lodash'), require('@angular/cdk/drag-drop'), require('ng-zorro-antd/table')) :
3
+ typeof define === 'function' && define.amd ? define('fantasy-ngzorro', ['exports', '@angular/core', '@angular/common', 'ng-zorro-antd', '@angular/forms', 'ng-zorro-antd/core', 'lodash', '@angular/cdk/drag-drop', 'ng-zorro-antd/table'], factory) :
4
+ (global = global || self, factory(global['fantasy-ngzorro'] = {}, global.ng.core, global.ng.common, global.ngZorroAntd, global.ng.forms, global.core$1, global.lodash, global.ng.cdk['drag-drop'], global.table));
5
+ }(this, (function (exports, core, common, ngZorroAntd, forms, core$1, lodash, dragDrop, table) { 'use strict';
6
6
 
7
7
  /*! *****************************************************************************
8
8
  Copyright (c) Microsoft Corporation.
@@ -2631,6 +2631,98 @@
2631
2631
  return HdTipModule;
2632
2632
  }());
2633
2633
 
2634
+ /**
2635
+ * @fileoverview added by tsickle
2636
+ * Generated from: hd-popconfirm/hd-popconfirm.component.ts
2637
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2638
+ */
2639
+ var HdPopconfirmComponent = /** @class */ (function () {
2640
+ function HdPopconfirmComponent() {
2641
+ this.confirmOption = new core.EventEmitter();
2642
+ this.cancelOption = new core.EventEmitter();
2643
+ }
2644
+ /**
2645
+ * @return {?}
2646
+ */
2647
+ HdPopconfirmComponent.prototype.ngOnInit = /**
2648
+ * @return {?}
2649
+ */
2650
+ function () {
2651
+ };
2652
+ /**
2653
+ * @param {?} e
2654
+ * @return {?}
2655
+ */
2656
+ HdPopconfirmComponent.prototype.cancel = /**
2657
+ * @param {?} e
2658
+ * @return {?}
2659
+ */
2660
+ function (e) {
2661
+ this.cancelOption.emit();
2662
+ };
2663
+ /**
2664
+ * @param {?} e
2665
+ * @return {?}
2666
+ */
2667
+ HdPopconfirmComponent.prototype.confirm = /**
2668
+ * @param {?} e
2669
+ * @return {?}
2670
+ */
2671
+ function (e) {
2672
+ this.confirmOption.emit();
2673
+ };
2674
+ HdPopconfirmComponent.decorators = [
2675
+ { type: core.Component, args: [{
2676
+ selector: 'app-hd-popconfirm',
2677
+ template: "<div class=\"popconfirm-content\">\n <div class=\"popconfirm-arrow\"></div>\n\n <div class=\"popconfirm-inner\">\n <div class=\"message-content\">\n <svg class=\"icon-warn\" viewBox=\"64 64 896 896\" fill=\"currentColor\" width=\"1em\" height=\"1em\" data-icon=\"exclamation-circle\" aria-hidden=\"true\"><path d=\"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z\"></path></svg>\n <p style=\"text-indent: 18px\">{{message}}</p>\n </div>\n\n <!-- \u6309\u94AE\u63D0\u793A -->\n <div class=\"btn-content\">\n <button type=\"button\" (click)=\"cancel($event)\" nz-button nzType=\"default\">\u53D6\u6D88</button>\n <button type=\"button\" (click)=\"confirm($event)\" nz-button nzType=\"primary\">\u786E\u8BA4</button>\n </div>\n </div>\n</div>\n",
2678
+ styles: [".popconfirm-content{position:relative}.popconfirm-arrow{position:absolute;top:15px;left:-4px;display:block;width:8.5px;height:8.5px;background:0 0;border-style:solid;border-width:4.24264069px;transform:rotate(45deg);right:6px;box-shadow:-3px 3px 7px rgba(0,0,0,.07);border-color:transparent transparent #fff #fff}.popconfirm-inner{min-width:158px;background-color:#fff;padding:12px 16px;box-sizing:border-box;line-height:1.5;box-shadow:0 2px 8px rgba(0,0,0,.15);border-radius:4px;text-align:left}.message-content{position:relative}.icon-warn{color:#faad14;position:absolute;top:4px;font-size:14px}.btn-content{width:100%;text-align:right}:host ::ng-deep .btn-content>button{padding:0 7px!important;margin-left:8px!important;font-size:14px!important}"]
2679
+ }] }
2680
+ ];
2681
+ /** @nocollapse */
2682
+ HdPopconfirmComponent.ctorParameters = function () { return []; };
2683
+ HdPopconfirmComponent.propDecorators = {
2684
+ message: [{ type: core.Input }],
2685
+ confirmOption: [{ type: core.Output }],
2686
+ cancelOption: [{ type: core.Output }]
2687
+ };
2688
+ return HdPopconfirmComponent;
2689
+ }());
2690
+ if (false) {
2691
+ /** @type {?} */
2692
+ HdPopconfirmComponent.prototype.message;
2693
+ /** @type {?} */
2694
+ HdPopconfirmComponent.prototype.confirmOption;
2695
+ /** @type {?} */
2696
+ HdPopconfirmComponent.prototype.cancelOption;
2697
+ }
2698
+
2699
+ /**
2700
+ * @fileoverview added by tsickle
2701
+ * Generated from: hd-popconfirm/hd-popconfirm.module.ts
2702
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2703
+ */
2704
+ var HdPopconfirmModule = /** @class */ (function () {
2705
+ function HdPopconfirmModule() {
2706
+ }
2707
+ HdPopconfirmModule.decorators = [
2708
+ { type: core.NgModule, args: [{
2709
+ declarations: [
2710
+ HdPopconfirmComponent
2711
+ ],
2712
+ imports: [
2713
+ forms.FormsModule,
2714
+ forms.ReactiveFormsModule,
2715
+ common.CommonModule,
2716
+ ngZorroAntd.NgZorroAntdModule,
2717
+ ],
2718
+ exports: [HdPopconfirmComponent],
2719
+ providers: [],
2720
+ bootstrap: [HdPopconfirmComponent]
2721
+ },] }
2722
+ ];
2723
+ return HdPopconfirmModule;
2724
+ }());
2725
+
2634
2726
  /**
2635
2727
  * @fileoverview added by tsickle
2636
2728
  * Generated from: hd-component.module.ts
@@ -2653,7 +2745,8 @@
2653
2745
  HdSpaceModule,
2654
2746
  HdStatusModule,
2655
2747
  HdCurrentTableModule,
2656
- HdTipModule
2748
+ HdTipModule,
2749
+ HdPopconfirmModule
2657
2750
  ]
2658
2751
  },] }
2659
2752
  ];
@@ -2849,7 +2942,7 @@
2849
2942
  // 当前行的所有列的items
2850
2943
  this.value = null; // 值 不传默认为null
2851
2944
  // 控件为Select时,选项列表
2852
- this.inputNumber = new commonType.InputNumber(); // number组件的min、max、step
2945
+ this.inputNumber = new InputNumber(); // number组件的min、max、step
2853
2946
  }
2854
2947
  return FormItem;
2855
2948
  }());
@@ -2948,7 +3041,7 @@
2948
3041
  // 列对齐方式
2949
3042
  this.value = null; // 值 不传默认为null
2950
3043
  // 需要保留小数的列的位数
2951
- this.inputNumber = new commonType.InputNumber(); // number组件的min、max、step
3044
+ this.inputNumber = new InputNumber(); // number组件的min、max、step
2952
3045
  }
2953
3046
  return FormLine;
2954
3047
  }());
@@ -3192,6 +3285,7 @@
3192
3285
  exports.FormLineType = FormLineType;
3193
3286
  exports.FormListType = FormListType;
3194
3287
  exports.HdButtonService = HdButtonService;
3288
+ exports.HdCurrentTableComponent = HdCurrentTableComponent;
3195
3289
  exports.HdDetailFormService = HdDetailFormService;
3196
3290
  exports.HdFilterService = HdFilterService;
3197
3291
  exports.HdFormLinesService = HdFormLinesService;
@@ -3226,9 +3320,10 @@
3226
3320
  exports.ɵt = HdStatusModule;
3227
3321
  exports.ɵu = HdStatusComponent;
3228
3322
  exports.ɵv = HdCurrentTableModule;
3229
- exports.ɵw = HdCurrentTableComponent;
3230
- exports.ɵx = HdTipModule;
3231
- exports.ɵy = HdTipComponent;
3323
+ exports.ɵw = HdTipModule;
3324
+ exports.ɵx = HdTipComponent;
3325
+ exports.ɵy = HdPopconfirmModule;
3326
+ exports.ɵz = HdPopconfirmComponent;
3232
3327
 
3233
3328
  Object.defineProperty(exports, '__esModule', { value: true });
3234
3329