fantasy-ngzorro 1.0.6 → 1.0.7
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 +99 -4
- package/bundles/fantasy-ngzorro.umd.js.map +1 -1
- package/bundles/fantasy-ngzorro.umd.min.js +1 -1
- package/bundles/fantasy-ngzorro.umd.min.js.map +1 -1
- package/esm2015/fantasy-ngzorro.js +6 -5
- package/esm2015/hd-component.module.js +4 -2
- package/esm2015/hd-popconfirm/hd-popconfirm.component.js +54 -0
- package/esm2015/hd-popconfirm/hd-popconfirm.module.js +29 -0
- package/esm2015/index.js +2 -2
- package/esm2015/public-api.js +2 -1
- package/esm5/fantasy-ngzorro.js +6 -5
- package/esm5/hd-component.module.js +4 -2
- package/esm5/hd-popconfirm/hd-popconfirm.component.js +67 -0
- package/esm5/hd-popconfirm/hd-popconfirm.module.js +33 -0
- package/esm5/index.js +2 -2
- package/esm5/public-api.js +2 -1
- package/fantasy-ngzorro.d.ts +4 -3
- package/fantasy-ngzorro.metadata.json +1 -1
- package/fesm2015/fantasy-ngzorro.js +80 -2
- package/fesm2015/fantasy-ngzorro.js.map +1 -1
- package/fesm5/fantasy-ngzorro.js +95 -2
- package/fesm5/fantasy-ngzorro.js.map +1 -1
- package/hd-popconfirm/hd-popconfirm.component.d.ts +10 -0
- package/hd-popconfirm/hd-popconfirm.module.d.ts +2 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -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
|
];
|
|
@@ -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 =
|
|
3230
|
-
exports.ɵx =
|
|
3231
|
-
exports.ɵy =
|
|
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
|
|