bm-core-ui 2.9.3 → 2.9.5
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/build/@types/index.d.ts +33 -0
- package/build/BMView/BMView_v2.5.js +3 -3
- package/build/BMWindow/BMConfirmationPopup.js +1 -1
- package/build/BMWindow/BMPopover/BMPopover.js +1 -1
- package/build/Core/BMRect.js +1 -1
- package/build/index.js +2 -0
- package/lib/@types/BMCoreUI.min.d.ts +33 -0
- package/lib/BMCoreUI.min.js +0 -0
- package/package.json +1 -1
package/build/@types/index.d.ts
CHANGED
|
@@ -3441,6 +3441,17 @@ export class BMViewConstraintAttribute {
|
|
|
3441
3441
|
*/
|
|
3442
3442
|
private _view: BMView;
|
|
3443
3443
|
|
|
3444
|
+
/**
|
|
3445
|
+
* Constructs and returns a layout constraint that links this view constraint attribute to constant value.
|
|
3446
|
+
* The constraint will be created with an equality sign.
|
|
3447
|
+
* @param constant The constraint's constant.
|
|
3448
|
+
* @param priority Defaults to `BMLayoutConstraintPriorityRequired`. The constraint's priority.
|
|
3449
|
+
* @return A layout constraint.
|
|
3450
|
+
*
|
|
3451
|
+
*/
|
|
3452
|
+
equalTo(constant: number, {priority}?: {priority?: number | null | undefined}): BMLayoutConstraint;
|
|
3453
|
+
|
|
3454
|
+
|
|
3444
3455
|
/**
|
|
3445
3456
|
* Constructs and returns a layout constraint that links this view constraint attribute to the given attribute.
|
|
3446
3457
|
* The constraint will be created with an equality sign.
|
|
@@ -3454,6 +3465,17 @@ export class BMViewConstraintAttribute {
|
|
|
3454
3465
|
equalTo(attribute: BMViewConstraintAttribute, {times, plus, priority}?: {times?: number | null | undefined, plus?: number | null | undefined, priority?: number | null | undefined}): BMLayoutConstraint;
|
|
3455
3466
|
|
|
3456
3467
|
|
|
3468
|
+
/**
|
|
3469
|
+
* Constructs and returns a layout constraint that links this view constraint attribute to constant value.
|
|
3470
|
+
* The constraint will be created with a less than or equals sign.
|
|
3471
|
+
* @param constant The constraint's constant.
|
|
3472
|
+
* @param priority Defaults to `BMLayoutConstraintPriorityRequired`. The constraint's priority.
|
|
3473
|
+
* @return A layout constraint.
|
|
3474
|
+
*
|
|
3475
|
+
*/
|
|
3476
|
+
lessThanOrEqualTo(constant: number, {priority}?: {priority?: number | null | undefined}): BMLayoutConstraint;
|
|
3477
|
+
|
|
3478
|
+
|
|
3457
3479
|
/**
|
|
3458
3480
|
* Constructs and returns a layout constraint that links this view constraint attribute to the given attribute.
|
|
3459
3481
|
* The constraint will be created with a less than or equals sign.
|
|
@@ -3467,6 +3489,17 @@ export class BMViewConstraintAttribute {
|
|
|
3467
3489
|
lessThanOrEqualTo(attribute: BMViewConstraintAttribute, {times, plus, priority}?: {times?: number | null | undefined, plus?: number | null | undefined, priority?: number | null | undefined}): BMLayoutConstraint;
|
|
3468
3490
|
|
|
3469
3491
|
|
|
3492
|
+
/**
|
|
3493
|
+
* Constructs and returns a layout constraint that links this view constraint attribute to constant value.
|
|
3494
|
+
* The constraint will be created with a greather than or equals sign.
|
|
3495
|
+
* @param constant The constraint's constant.
|
|
3496
|
+
* @param priority Defaults to `BMLayoutConstraintPriorityRequired`. The constraint's priority.
|
|
3497
|
+
* @return A layout constraint.
|
|
3498
|
+
*
|
|
3499
|
+
*/
|
|
3500
|
+
greaterThanOrEqualTo(constant: number, {priority}?: {priority?: number | null | undefined}): BMLayoutConstraint;
|
|
3501
|
+
|
|
3502
|
+
|
|
3470
3503
|
/**
|
|
3471
3504
|
* Constructs and returns a layout constraint that links this view constraint attribute to the given attribute.
|
|
3472
3505
|
* The constraint will be created with a greater than or equals sign.
|
|
@@ -65,7 +65,7 @@ BMViewConstraintAttribute.prototype = {
|
|
|
65
65
|
* }
|
|
66
66
|
* @return <BMLayoutConstraint> A layout constraint.
|
|
67
67
|
*/
|
|
68
|
-
// equalTo(constant, {priority}) {
|
|
68
|
+
// equalTo: function (constant, {priority}) {
|
|
69
69
|
|
|
70
70
|
/**
|
|
71
71
|
* Constructs and returns a layout constraint that links this view constraint attribute to the given attribute.
|
|
@@ -107,7 +107,7 @@ BMViewConstraintAttribute.prototype = {
|
|
|
107
107
|
* }
|
|
108
108
|
* @return <BMLayoutConstraint> A layout constraint.
|
|
109
109
|
*/
|
|
110
|
-
// lessThanOrEqualTo(constant, {priority}) {
|
|
110
|
+
// lessThanOrEqualTo: function (constant, {priority}) {
|
|
111
111
|
|
|
112
112
|
/**
|
|
113
113
|
* Constructs and returns a layout constraint that links this view constraint attribute to the given attribute.
|
|
@@ -149,7 +149,7 @@ BMViewConstraintAttribute.prototype = {
|
|
|
149
149
|
* }
|
|
150
150
|
* @return <BMLayoutConstraint> A layout constraint.
|
|
151
151
|
*/
|
|
152
|
-
// greaterThanOrEqualTo(constant, {priority}) {
|
|
152
|
+
// greaterThanOrEqualTo: function (constant, {priority}) {
|
|
153
153
|
|
|
154
154
|
/**
|
|
155
155
|
* Constructs and returns a layout constraint that links this view constraint attribute to the given attribute.
|
|
@@ -353,7 +353,7 @@ BMAlertPopup.alertPopupWithTitle = function (title, {text, actionText = 'OK'}) {
|
|
|
353
353
|
* You can display your confirmation popup using the usual `bringToFrontAnimated(_)` method, but for convenience you can also
|
|
354
354
|
* use the `confirm()` method that returns a promise which resolves when the user takes a decision.
|
|
355
355
|
*/
|
|
356
|
-
function BMConfirmationPopup() {} // <constructor>
|
|
356
|
+
export function BMConfirmationPopup() {} // <constructor>
|
|
357
357
|
|
|
358
358
|
BMConfirmationPopup.prototype = BMExtend(Object.create(BMAlertPopup.prototype), {
|
|
359
359
|
|
|
@@ -46,7 +46,7 @@ import { BMInsetMakeWithEqualInsets } from "../../Core/BMInset";
|
|
|
46
46
|
* Additionally, unlike with windows, subviews should not be directly added to the popover.
|
|
47
47
|
* Instead, they should be added to the popover's `contentView` property.
|
|
48
48
|
*/
|
|
49
|
-
function BMPopover() {} // <constructor>
|
|
49
|
+
export function BMPopover() {} // <constructor>
|
|
50
50
|
|
|
51
51
|
BMPopover.prototype = BMExtend(Object.create(BMWindow.prototype), {
|
|
52
52
|
|
package/build/Core/BMRect.js
CHANGED
package/build/index.js
CHANGED
|
@@ -22,6 +22,8 @@ export * from './BMView/BMMenu'
|
|
|
22
22
|
export * from './BMWindow/BMWindow'
|
|
23
23
|
export * from './BMWindow/BMToolWindow'
|
|
24
24
|
export * from './BMWindow/BMKeyboardShortcut'
|
|
25
|
+
export * from './BMWindow/BMPopover/BMPopover'
|
|
26
|
+
export * from './BMWindow/BMConfirmationPopup'
|
|
25
27
|
|
|
26
28
|
export * from './BMCodeEditor/BMCodeEditor'
|
|
27
29
|
|
|
@@ -3441,6 +3441,17 @@ declare class BMViewConstraintAttribute {
|
|
|
3441
3441
|
*/
|
|
3442
3442
|
private _view: BMView;
|
|
3443
3443
|
|
|
3444
|
+
/**
|
|
3445
|
+
* Constructs and returns a layout constraint that links this view constraint attribute to constant value.
|
|
3446
|
+
* The constraint will be created with an equality sign.
|
|
3447
|
+
* @param constant The constraint's constant.
|
|
3448
|
+
* @param priority Defaults to `BMLayoutConstraintPriorityRequired`. The constraint's priority.
|
|
3449
|
+
* @return A layout constraint.
|
|
3450
|
+
*
|
|
3451
|
+
*/
|
|
3452
|
+
equalTo(constant: number, {priority}?: {priority?: number | null | undefined}): BMLayoutConstraint;
|
|
3453
|
+
|
|
3454
|
+
|
|
3444
3455
|
/**
|
|
3445
3456
|
* Constructs and returns a layout constraint that links this view constraint attribute to the given attribute.
|
|
3446
3457
|
* The constraint will be created with an equality sign.
|
|
@@ -3454,6 +3465,17 @@ declare class BMViewConstraintAttribute {
|
|
|
3454
3465
|
equalTo(attribute: BMViewConstraintAttribute, {times, plus, priority}?: {times?: number | null | undefined, plus?: number | null | undefined, priority?: number | null | undefined}): BMLayoutConstraint;
|
|
3455
3466
|
|
|
3456
3467
|
|
|
3468
|
+
/**
|
|
3469
|
+
* Constructs and returns a layout constraint that links this view constraint attribute to constant value.
|
|
3470
|
+
* The constraint will be created with a less than or equals sign.
|
|
3471
|
+
* @param constant The constraint's constant.
|
|
3472
|
+
* @param priority Defaults to `BMLayoutConstraintPriorityRequired`. The constraint's priority.
|
|
3473
|
+
* @return A layout constraint.
|
|
3474
|
+
*
|
|
3475
|
+
*/
|
|
3476
|
+
lessThanOrEqualTo(constant: number, {priority}?: {priority?: number | null | undefined}): BMLayoutConstraint;
|
|
3477
|
+
|
|
3478
|
+
|
|
3457
3479
|
/**
|
|
3458
3480
|
* Constructs and returns a layout constraint that links this view constraint attribute to the given attribute.
|
|
3459
3481
|
* The constraint will be created with a less than or equals sign.
|
|
@@ -3467,6 +3489,17 @@ declare class BMViewConstraintAttribute {
|
|
|
3467
3489
|
lessThanOrEqualTo(attribute: BMViewConstraintAttribute, {times, plus, priority}?: {times?: number | null | undefined, plus?: number | null | undefined, priority?: number | null | undefined}): BMLayoutConstraint;
|
|
3468
3490
|
|
|
3469
3491
|
|
|
3492
|
+
/**
|
|
3493
|
+
* Constructs and returns a layout constraint that links this view constraint attribute to constant value.
|
|
3494
|
+
* The constraint will be created with a greather than or equals sign.
|
|
3495
|
+
* @param constant The constraint's constant.
|
|
3496
|
+
* @param priority Defaults to `BMLayoutConstraintPriorityRequired`. The constraint's priority.
|
|
3497
|
+
* @return A layout constraint.
|
|
3498
|
+
*
|
|
3499
|
+
*/
|
|
3500
|
+
greaterThanOrEqualTo(constant: number, {priority}?: {priority?: number | null | undefined}): BMLayoutConstraint;
|
|
3501
|
+
|
|
3502
|
+
|
|
3470
3503
|
/**
|
|
3471
3504
|
* Constructs and returns a layout constraint that links this view constraint attribute to the given attribute.
|
|
3472
3505
|
* The constraint will be created with a greater than or equals sign.
|
package/lib/BMCoreUI.min.js
CHANGED
|
File without changes
|
package/package.json
CHANGED