bromcom-ui 2.4.27 → 2.4.30
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/dist/bromcom-ui/bcm-label.entry.js +1 -1
- package/dist/bromcom-ui/bcm-list.entry.js +1 -1
- package/dist/bromcom-ui/bcm-popconfirm-box.entry.js +5 -5
- package/dist/bromcom-ui/bcm-popconfirm.entry.js +9 -1
- package/dist/bromcom-ui/bcm-popover-box.entry.js +1 -1
- package/dist/bromcom-ui/bcm-popover.entry.js +1 -1
- package/dist/bromcom-ui/bcm-search-2.entry.js +1 -1
- package/dist/bromcom-ui/bcm-step.entry.js +2 -2
- package/dist/bromcom-ui/bcm-stepper.entry.js +2 -2
- package/dist/bromcom-ui/bcm-tag-2.entry.js +1 -1
- package/dist/bromcom-ui/bcm-tooltip-box.entry.js +1 -1
- package/dist/bromcom-ui/bcm-tooltip.entry.js +1 -1
- package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
- package/dist/bromcom-ui/{generate-a07bb784.js → generate-fb32722c.js} +1 -1
- package/dist/bromcom-ui/{stepper-states-a1bcea84.js → stepper-states-2cab75b8.js} +1 -1
- package/dist/types/components/molecules/popconfirm/popconfirm.d.ts +4 -0
- package/dist/types/components.d.ts +4 -2
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, r as registerInstance, f as Host, g as getElement } from './index-c4bad8c7.js';
|
|
2
2
|
import './types-911a8837.js';
|
|
3
3
|
import { c as classnames } from './index-93682c12.js';
|
|
4
|
-
import { G as Generate } from './generate-
|
|
4
|
+
import { G as Generate } from './generate-fb32722c.js';
|
|
5
5
|
import { B as Bcm } from './bcm-1571bb45.js';
|
|
6
6
|
import { S as StringHelper } from './string-helper-5630fd9a.js';
|
|
7
7
|
|
|
@@ -4,7 +4,7 @@ import { c as classnames } from './index-93682c12.js';
|
|
|
4
4
|
import { p as pluralize, d as delay } from './utils-73c61c67.js';
|
|
5
5
|
import { s as snq } from './snq.es5-946822b8.js';
|
|
6
6
|
import { J as JsonParse } from './json-parse-decarator-b93dacbb.js';
|
|
7
|
-
import { G as Generate } from './generate-
|
|
7
|
+
import { G as Generate } from './generate-fb32722c.js';
|
|
8
8
|
import { B as Bcm } from './bcm-1571bb45.js';
|
|
9
9
|
import { S as StringHelper } from './string-helper-5630fd9a.js';
|
|
10
10
|
import { g as getPlacement, s as setPosition } from './popover-placement-b9199a13.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, e as createEvent, h, f as Host, g as getElement } from './index-c4bad8c7.js';
|
|
2
2
|
import './types-911a8837.js';
|
|
3
3
|
import { c as classnames } from './index-93682c12.js';
|
|
4
|
-
import { G as Generate } from './generate-
|
|
4
|
+
import { G as Generate } from './generate-fb32722c.js';
|
|
5
5
|
import './bcm-1571bb45.js';
|
|
6
6
|
import { S as StringHelper } from './string-helper-5630fd9a.js';
|
|
7
7
|
import { g as getPlacement, s as setPosition } from './popover-placement-b9199a13.js';
|
|
@@ -15,8 +15,8 @@ const statuses = {
|
|
|
15
15
|
const BcmPopconfirmBox = class {
|
|
16
16
|
constructor(hostRef) {
|
|
17
17
|
registerInstance(this, hostRef);
|
|
18
|
-
this.onConfirm = createEvent(this, "bcm-confirm", 7);
|
|
19
|
-
this.onCancel = createEvent(this, "bcm-cancel", 7);
|
|
18
|
+
this.onConfirm = createEvent(this, "bcm-popconfirm-confirm", 7);
|
|
19
|
+
this.onCancel = createEvent(this, "bcm-popconfirm-cancel", 7);
|
|
20
20
|
this._id = Generate.UID();
|
|
21
21
|
this.status = 'warning';
|
|
22
22
|
this.cancelText = "No";
|
|
@@ -64,12 +64,12 @@ const BcmPopconfirmBox = class {
|
|
|
64
64
|
this.placement_string = placements.join(' ');
|
|
65
65
|
}
|
|
66
66
|
handleConfirm() {
|
|
67
|
+
this.hide();
|
|
67
68
|
this.onConfirm.emit(this._target_id);
|
|
68
|
-
this.getPopconfirm().hide();
|
|
69
69
|
}
|
|
70
70
|
handleCancel() {
|
|
71
|
+
this.hide();
|
|
71
72
|
this.onCancel.emit(this._target_id);
|
|
72
|
-
this.getPopconfirm().hide();
|
|
73
73
|
}
|
|
74
74
|
render() {
|
|
75
75
|
const { message, cancelText, okeyText, open, placement_string, status } = this;
|