bromcom-ui 2.3.70 → 2.3.71
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-alert.entry.js +58 -53
- package/dist/bromcom-ui/bcm-autocomplete.entry.js +3 -4
- package/dist/bromcom-ui/bcm-avatar.entry.js +28 -27
- package/dist/bromcom-ui/bcm-badge.entry.js +31 -60
- package/dist/bromcom-ui/bcm-breadcrumb.entry.js +32 -26
- package/dist/bromcom-ui/bcm-button.entry.js +215 -92
- package/dist/bromcom-ui/bcm-card-footer.entry.js +1 -1
- package/dist/bromcom-ui/bcm-card-header.entry.js +1 -1
- package/dist/bromcom-ui/bcm-card.entry.js +4 -5
- package/dist/bromcom-ui/bcm-checkbox-group.entry.js +227 -253
- package/dist/bromcom-ui/bcm-checkbox-lite.entry.js +26 -29
- package/dist/bromcom-ui/bcm-checkbox.entry.js +89 -85
- package/dist/bromcom-ui/bcm-collapse-group.entry.js +16 -11
- package/dist/bromcom-ui/bcm-collapse.entry.js +18 -31
- package/dist/bromcom-ui/bcm-colorpicker.entry.js +6 -7
- package/dist/bromcom-ui/bcm-comment-editor.entry.js +3 -4
- package/dist/bromcom-ui/bcm-comment-group.entry.js +3 -4
- package/dist/bromcom-ui/bcm-comment.entry.js +4 -5
- package/dist/bromcom-ui/bcm-content.entry.js +15 -0
- package/dist/bromcom-ui/bcm-date-picker.entry.js +34 -31
- package/dist/bromcom-ui/bcm-datetime-picker.entry.js +100 -64
- package/dist/bromcom-ui/bcm-divider.entry.js +11 -11
- package/dist/bromcom-ui/bcm-dropdown-button.entry.js +61 -35
- package/dist/bromcom-ui/bcm-dropdown-group.entry.js +58 -0
- package/dist/bromcom-ui/bcm-dropdown-item.entry.js +16 -66
- package/dist/bromcom-ui/bcm-dropdown-list.entry.js +49 -31
- package/dist/bromcom-ui/bcm-dropdown.entry.js +46 -17
- package/dist/bromcom-ui/bcm-empty.entry.js +45 -14
- package/dist/bromcom-ui/bcm-error-layout.entry.js +34 -20
- package/dist/bromcom-ui/bcm-footer.entry.js +15 -0
- package/dist/bromcom-ui/bcm-form-group.entry.js +3 -3
- package/dist/bromcom-ui/bcm-form.entry.js +16 -31
- package/dist/bromcom-ui/bcm-header.entry.js +15 -0
- package/dist/bromcom-ui/bcm-icon.entry.js +35 -55
- package/dist/bromcom-ui/bcm-input.entry.js +276 -170
- package/dist/bromcom-ui/bcm-label.entry.js +75 -10
- package/dist/bromcom-ui/bcm-link.entry.js +5 -26
- package/dist/bromcom-ui/bcm-list-item.entry.js +3 -4
- package/dist/bromcom-ui/bcm-list-select.entry.js +13 -14
- package/dist/bromcom-ui/bcm-list.entry.js +5 -10
- package/dist/bromcom-ui/bcm-listbox-group.entry.js +4 -5
- package/dist/bromcom-ui/bcm-listbox-item.entry.js +4 -5
- package/dist/bromcom-ui/bcm-listbox.entry.js +14 -17
- package/dist/bromcom-ui/bcm-menu-group.entry.js +3 -4
- package/dist/bromcom-ui/bcm-menu-item.entry.js +3 -4
- package/dist/bromcom-ui/bcm-menu.entry.js +3 -4
- package/dist/bromcom-ui/bcm-message.entry.js +50 -54
- package/dist/bromcom-ui/bcm-modal.entry.js +160 -47
- package/dist/bromcom-ui/bcm-notification.entry.js +47 -59
- package/dist/bromcom-ui/bcm-popconfirm-box.entry.js +21 -61
- package/dist/bromcom-ui/bcm-popconfirm.entry.js +93 -49
- package/dist/bromcom-ui/bcm-popover-box.entry.js +16 -44
- package/dist/bromcom-ui/bcm-popover.entry.js +101 -61
- package/dist/bromcom-ui/bcm-progress.entry.js +63 -77
- package/dist/bromcom-ui/bcm-pulldown-group.entry.js +4 -5
- package/dist/bromcom-ui/bcm-pulldown-item.entry.js +3 -4
- package/dist/bromcom-ui/bcm-pulldown.entry.js +4 -5
- package/dist/bromcom-ui/bcm-radio-group.entry.js +85 -183
- package/dist/bromcom-ui/bcm-radio.entry.js +79 -59
- package/dist/bromcom-ui/bcm-result.entry.js +38 -62
- package/dist/bromcom-ui/bcm-search.entry.js +4 -5
- package/dist/bromcom-ui/bcm-select-box.entry.js +6 -4
- package/dist/bromcom-ui/bcm-select-group.entry.js +3 -4
- package/dist/bromcom-ui/bcm-select-option.entry.js +4 -5
- package/dist/bromcom-ui/bcm-select.entry.js +53 -37
- package/dist/bromcom-ui/bcm-selecto.entry.js +2 -3
- package/dist/bromcom-ui/bcm-slider.entry.js +3 -4
- package/dist/bromcom-ui/bcm-sub-comment.entry.js +4 -5
- package/dist/bromcom-ui/bcm-switch.entry.js +37 -48
- package/dist/bromcom-ui/bcm-tab-pane.entry.js +3 -4
- package/dist/bromcom-ui/bcm-tab.entry.js +8 -8
- package/dist/bromcom-ui/bcm-tabs-content.entry.js +4 -5
- package/dist/bromcom-ui/bcm-tabs.entry.js +5 -6
- package/dist/bromcom-ui/bcm-tag.entry.js +44 -48
- package/dist/bromcom-ui/bcm-text.entry.js +10 -16
- package/dist/bromcom-ui/bcm-textarea.entry.js +68 -45
- package/dist/bromcom-ui/bcm-time-picker.entry.js +3 -4
- package/dist/bromcom-ui/bcm-timeline-item.entry.js +24 -10
- package/dist/bromcom-ui/bcm-timeline.entry.js +33 -11
- package/dist/bromcom-ui/bcm-tooltip-box.entry.js +16 -54
- package/dist/bromcom-ui/bcm-tooltip.entry.js +99 -48
- package/dist/bromcom-ui/bcm-treeview-group.entry.js +1 -1
- package/dist/bromcom-ui/bcm-treeview-item.entry.js +4 -5
- package/dist/bromcom-ui/bcm-treeview.entry.js +5 -6
- package/dist/bromcom-ui/bcm-upload.entry.js +4 -5
- package/dist/bromcom-ui/bromcom-ui.css +36 -40154
- package/dist/bromcom-ui/bromcom-ui.esm.js +2 -2
- package/dist/bromcom-ui/datetime-helper-c373f888.js +5 -0
- package/dist/bromcom-ui/{element-dragger-2a215f47.js → element-dragger-e40f0410.js} +1 -1
- package/dist/bromcom-ui/{_commonjsHelpers-2088bffa.js → index-43956e3c.js} +56 -1
- package/dist/bromcom-ui/{index-dbc63c66.js → index-9dbea026.js} +2 -2
- package/dist/bromcom-ui/{popover-placement-f7a6551c.js → popover-placement-fb1f91e9.js} +17 -25
- package/dist/bromcom-ui/{bcm-ad02f9c9.js → string-helper-1d51eff7.js} +23 -2
- package/dist/bromcom-ui/types-0e4b533d.js +14 -0
- package/dist/bromcom-ui/types-911a8837.js +21 -0
- package/dist/bromcom-ui/{utils-333ded7f.js → utils-1feb01eb.js} +1 -4
- package/dist/types/components/atoms/avatar/avatar.d.ts +5 -9
- package/dist/types/components/atoms/badge/badge.d.ts +9 -14
- package/dist/types/components/atoms/badge/types.d.ts +4 -0
- package/dist/types/components/atoms/button/button.d.ts +10 -17
- package/dist/types/components/atoms/button/types.d.ts +22 -0
- package/dist/types/components/atoms/divider/divider.d.ts +2 -2
- package/dist/types/components/atoms/icon/icon.d.ts +9 -14
- package/dist/types/components/atoms/label/label.d.ts +2 -1
- package/dist/types/components/atoms/link/link.d.ts +1 -6
- package/dist/types/components/atoms/tag/tag.d.ts +11 -14
- package/dist/types/components/atoms/text/text.d.ts +3 -4
- package/dist/types/components/molecules/alert/alert.d.ts +37 -15
- package/dist/types/components/molecules/breadcrumb/breadcrumb.d.ts +22 -9
- package/dist/types/components/molecules/checkbox/checkbox-lite.d.ts +22 -7
- package/dist/types/components/molecules/checkbox/checkbox.d.ts +31 -26
- package/dist/types/components/molecules/checkbox/group.d.ts +83 -24
- package/dist/types/components/molecules/checkbox/types.d.ts +29 -0
- package/dist/types/components/molecules/collapse/collapse.d.ts +6 -9
- package/dist/types/components/molecules/collapse/group.d.ts +2 -4
- package/dist/types/components/molecules/dropdown/dropdown-button.d.ts +31 -18
- package/dist/types/components/molecules/dropdown/dropdown-group.d.ts +28 -0
- package/dist/types/components/molecules/dropdown/dropdown-item.d.ts +16 -17
- package/dist/types/components/molecules/dropdown/dropdown-list.d.ts +35 -12
- package/dist/types/components/molecules/dropdown/dropdown.d.ts +30 -5
- package/dist/types/components/molecules/dropdown/types.d.ts +20 -0
- package/dist/types/components/molecules/empty/empty.d.ts +24 -7
- package/dist/types/components/molecules/empty/types.d.ts +15 -0
- package/dist/types/components/molecules/error-layout/error-layout.d.ts +18 -6
- package/dist/types/components/molecules/error-layout/types.d.ts +4 -0
- package/dist/types/components/molecules/input/input.d.ts +45 -39
- package/dist/types/components/molecules/list/list-select.d.ts +1 -0
- package/dist/types/components/molecules/list/list.d.ts +1 -0
- package/dist/types/components/molecules/message/message.d.ts +25 -13
- package/dist/types/components/molecules/message/types.d.ts +13 -0
- package/dist/types/components/molecules/modal/modal-content.d.ts +4 -0
- package/dist/types/components/molecules/modal/modal-header.d.ts +4 -0
- package/dist/types/components/molecules/modal/modal.d.ts +65 -12
- package/dist/types/components/molecules/modal/model-footer.d.ts +4 -0
- package/dist/types/components/molecules/modal/types.d.ts +41 -0
- package/dist/types/components/molecules/notification/notification.d.ts +21 -14
- package/dist/types/components/molecules/notification/types.d.ts +14 -0
- package/dist/types/components/molecules/popconfirm/popconfirm-box.d.ts +12 -14
- package/dist/types/components/molecules/popconfirm/popconfirm.d.ts +14 -10
- package/dist/types/components/molecules/popover/popover-box.d.ts +10 -10
- package/dist/types/components/molecules/popover/popover.d.ts +19 -13
- package/dist/types/components/molecules/progress/progress.d.ts +6 -8
- package/dist/types/components/molecules/radio/group.d.ts +22 -28
- package/dist/types/components/molecules/radio/radio.d.ts +17 -13
- package/dist/types/components/molecules/result/result.d.ts +8 -14
- package/dist/types/components/molecules/result/types.d.ts +19 -0
- package/dist/types/components/molecules/select/select-box.d.ts +1 -0
- package/dist/types/components/molecules/select/select.d.ts +6 -5
- package/dist/types/components/molecules/switch/switch.d.ts +15 -18
- package/dist/types/components/molecules/textarea/textarea.d.ts +23 -23
- package/dist/types/components/molecules/timeline/timeline-item.d.ts +12 -0
- package/dist/types/components/molecules/timeline/timeline.d.ts +19 -2
- package/dist/types/components/molecules/tooltip/tooltip-box.d.ts +8 -11
- package/dist/types/components/molecules/tooltip/tooltip.d.ts +17 -13
- package/dist/types/components/organism/colorpicker/colorpicker.d.ts +2 -1
- package/dist/types/components/organism/date-picker/date-picker.d.ts +11 -7
- package/dist/types/components/organism/datetime-picker/datetime-picker.d.ts +5 -4
- package/dist/types/components/organism/form/form.d.ts +1 -2
- package/dist/types/components/organism/listbox/listbox.d.ts +2 -1
- package/dist/types/components/organism/tabs/tab.d.ts +1 -2
- package/dist/types/components/organism/time-picker/time-picker.d.ts +1 -1
- package/dist/types/components.d.ts +510 -553
- package/dist/types/global/variables/colors.d.ts +1 -0
- package/dist/types/helper/datetime-helper.d.ts +3 -0
- package/dist/types/helper/generate.d.ts +1 -4
- package/dist/types/helper/string-helper.d.ts +0 -3
- package/dist/types/models/bcm.d.ts +1 -1
- package/dist/types/types/index.d.ts +1 -1
- package/dist/types/utils/popover-placement.d.ts +3 -3
- package/dist/types/utils/utils.d.ts +0 -1
- package/package.json +1 -1
- package/dist/bromcom-ui/bcm-list-2.entry.js +0 -1063
- package/dist/bromcom-ui/bcm-range.entry.js +0 -161
- package/dist/bromcom-ui/bcm-search-2.entry.js +0 -219
- package/dist/bromcom-ui/caption-template-2d4ffc88.js +0 -25
- package/dist/bromcom-ui/color-helper-19448077.js +0 -35
- package/dist/bromcom-ui/generate-8e440fc4.js +0 -91
- package/dist/bromcom-ui/index-55174f2a.js +0 -58
- package/dist/bromcom-ui/index-dd5c1283.js +0 -187
- package/dist/bromcom-ui/input-template-487d3243.js +0 -83
- package/dist/bromcom-ui/json-parse-decarator-223ea680.js +0 -21
- package/dist/bromcom-ui/label-template-501216fc.js +0 -19
- package/dist/bromcom-ui/number-helper-fea1966f.js +0 -13
- package/dist/bromcom-ui/property-decorators-21b15487.js +0 -36
- package/dist/bromcom-ui/slot-template-f79b82ee.js +0 -9
- package/dist/bromcom-ui/snq.es5-946822b8.js +0 -14
- package/dist/bromcom-ui/string-helper-35840f91.js +0 -109
- package/dist/bromcom-ui/types-6b2a6629.js +0 -172
- package/dist/types/components/atoms/states/badge.states.d.ts +0 -7
- package/dist/types/components/atoms/states/button.states.d.ts +0 -7
- package/dist/types/components/molecules/breadcrumb/types.d.ts +0 -10
- package/dist/types/components/molecules/input/types.d.ts +0 -13
- package/dist/types/components/molecules/progress/types.d.ts +0 -24
- package/dist/types/components/molecules/range/range.d.ts +0 -36
- package/dist/types/components/molecules/search-2/search-2.d.ts +0 -30
- package/dist/types/components/molecules/states/alert.states.d.ts +0 -7
- package/dist/types/components/molecules/states/checkbox-group.states.d.ts +0 -53
- package/dist/types/components/molecules/states/message.states.d.ts +0 -7
- package/dist/types/components/molecules/states/notification.states.d.ts +0 -7
- package/dist/types/components/molecules/states/radio-group.states.d.ts +0 -47
- package/dist/types/components/molecules/states/result.states.d.ts +0 -7
- package/dist/types/components/molecules/states/search.states.d.ts +0 -13
- package/dist/types/components/molecules/textarea/types.d.ts +0 -9
- package/dist/types/components/organism/list-2/list-2.d.ts +0 -109
- package/dist/types/components/organism/states/bcm-list2.states.d.ts +0 -24
- package/dist/types/decorators/json-parse-decarator.d.ts +0 -4
- package/dist/types/decorators/property-decorators.d.ts +0 -6
- package/dist/types/helper/number-helper.d.ts +0 -9
- package/dist/types/models/states/Atoms/bcm-Atoms-state.d.ts +0 -34
- package/dist/types/models/states/molecules/bcm-molecules-state.d.ts +0 -78
- package/dist/types/models/states/organisms/bcm-organisms-state.d.ts +0 -71
- package/dist/types/templates/button-template.d.ts +0 -16
- package/dist/types/templates/checkbox-group-template.d.ts +0 -10
- package/dist/types/templates/checkbox-template.d.ts +0 -13
- package/dist/types/templates/info-footer-template.d.ts +0 -10
- package/dist/types/templates/input-template.d.ts +0 -30
- package/dist/types/templates/list-item-template.d.ts +0 -11
- package/dist/types/templates/list-template.d.ts +0 -23
- package/dist/types/templates/tag-template.d.ts +0 -17
|
@@ -1,27 +1,40 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
+
import { KindProp, SizeProp } from './types';
|
|
3
|
+
export declare class BcmDropdownButton {
|
|
4
|
+
/**
|
|
5
|
+
* Component Element
|
|
6
|
+
*/
|
|
5
7
|
el: HTMLElement;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
size:
|
|
8
|
+
/**
|
|
9
|
+
* Component Properties
|
|
10
|
+
*/
|
|
11
|
+
kind: KindProp;
|
|
12
|
+
size: any & SizeProp;
|
|
11
13
|
disabled: boolean;
|
|
12
|
-
kind: KindTypes;
|
|
13
14
|
outline: boolean;
|
|
14
15
|
icon: string;
|
|
15
16
|
href: string;
|
|
16
17
|
target: string;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
18
|
+
loading?: boolean;
|
|
19
|
+
type: any;
|
|
20
|
+
isOpen: boolean;
|
|
21
|
+
_id: string;
|
|
22
|
+
hidden: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Component Events
|
|
25
|
+
*/
|
|
26
|
+
dropdownOpen: EventEmitter;
|
|
27
|
+
menuItemSelected: EventEmitter;
|
|
28
|
+
/**
|
|
29
|
+
* @desc
|
|
30
|
+
* @param event
|
|
31
|
+
*/
|
|
32
|
+
handleDropdownOpen(): void;
|
|
33
|
+
handleClickOutside(e: MouseEvent): void;
|
|
25
34
|
handleOpen(): void;
|
|
35
|
+
/**
|
|
36
|
+
* @ComponentMethod
|
|
37
|
+
*/
|
|
38
|
+
componentWillLoad(): void;
|
|
26
39
|
render(): any;
|
|
27
40
|
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
+
import { SizeProp } from './types';
|
|
3
|
+
export declare class BcmDropdownGroup {
|
|
4
|
+
el: HTMLElement;
|
|
5
|
+
/**
|
|
6
|
+
* Component Properties
|
|
7
|
+
*/
|
|
8
|
+
_title: string;
|
|
9
|
+
direction: 'bottom' | 'right';
|
|
10
|
+
_id: string;
|
|
11
|
+
size: any & SizeProp;
|
|
12
|
+
open: boolean;
|
|
13
|
+
hidden: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Component Events
|
|
16
|
+
*/
|
|
17
|
+
dropdownRootGroupOpen: EventEmitter;
|
|
18
|
+
/**
|
|
19
|
+
* @desc
|
|
20
|
+
*/
|
|
21
|
+
handleTitleClick(): void;
|
|
22
|
+
/**
|
|
23
|
+
* @desc
|
|
24
|
+
* @param event
|
|
25
|
+
*/
|
|
26
|
+
handleWindowClick(event: any): void;
|
|
27
|
+
render(): any;
|
|
28
|
+
}
|
|
@@ -1,25 +1,24 @@
|
|
|
1
|
-
import { EventEmitter
|
|
2
|
-
import {
|
|
3
|
-
export declare class BcmDropdownItem
|
|
1
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
+
import { SizeProp } from './types';
|
|
3
|
+
export declare class BcmDropdownItem {
|
|
4
|
+
/**
|
|
5
|
+
* Component Element
|
|
6
|
+
*/
|
|
4
7
|
el: HTMLElement;
|
|
5
|
-
|
|
6
|
-
_title: string;
|
|
7
|
-
size: SizeTypes;
|
|
8
|
-
direction: 'bottom' | 'right';
|
|
9
|
-
open: boolean;
|
|
10
|
-
hidden: boolean;
|
|
8
|
+
size: any & SizeProp;
|
|
11
9
|
disabled: boolean;
|
|
12
10
|
icon: string;
|
|
13
11
|
href: string;
|
|
14
12
|
target: string;
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
_id: string;
|
|
14
|
+
hidden: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Component Events
|
|
17
|
+
*/
|
|
17
18
|
menuItemSelected: EventEmitter;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
handleClickOutside(e: any): void;
|
|
23
|
-
handleChildItems(): void;
|
|
19
|
+
/**
|
|
20
|
+
* @desc
|
|
21
|
+
*/
|
|
22
|
+
handleClick(): void;
|
|
24
23
|
render(): any;
|
|
25
24
|
}
|
|
@@ -1,15 +1,38 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { SizeProp } from './types';
|
|
2
|
+
export declare class BcmDropdownList {
|
|
3
|
+
/**
|
|
4
|
+
* Component Element
|
|
5
|
+
*/
|
|
4
6
|
el: HTMLElement;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
7
|
+
/**
|
|
8
|
+
* Component Properties
|
|
9
|
+
*/
|
|
10
|
+
_items: Array<object> | string;
|
|
11
|
+
size: any & SizeProp;
|
|
12
|
+
hidden: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Component States
|
|
15
|
+
*/
|
|
16
|
+
items: Array<object>;
|
|
17
|
+
/**
|
|
18
|
+
* @ComponentMethod
|
|
19
|
+
*/
|
|
20
|
+
componentWillLoad(): void;
|
|
21
|
+
/**
|
|
22
|
+
* @desc
|
|
23
|
+
* @param item
|
|
24
|
+
*/
|
|
25
|
+
itemRenderer(item: any): any;
|
|
26
|
+
/**
|
|
27
|
+
* @desc
|
|
28
|
+
* @param group
|
|
29
|
+
*/
|
|
30
|
+
recursiveGroupRenderer(group: any): any;
|
|
31
|
+
/**
|
|
32
|
+
* @desc
|
|
33
|
+
* @param newValue
|
|
34
|
+
* @returns {void}
|
|
35
|
+
*/
|
|
36
|
+
parseItems(newValue: Array<object> | string): void;
|
|
14
37
|
render(): any;
|
|
15
38
|
}
|
|
@@ -1,9 +1,34 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
export declare class BcmDropdown
|
|
1
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
+
import { SizeProp } from './types';
|
|
3
|
+
export declare class BcmDropdown {
|
|
4
|
+
/**
|
|
5
|
+
* Component Element
|
|
6
|
+
*/
|
|
4
7
|
el: HTMLElement;
|
|
8
|
+
isOpen: boolean;
|
|
5
9
|
_id: string;
|
|
6
|
-
|
|
7
|
-
|
|
10
|
+
disabled: boolean;
|
|
11
|
+
size: any & SizeProp;
|
|
12
|
+
hidden: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Component Events
|
|
15
|
+
*/
|
|
16
|
+
dropdownRootGroupOpen: EventEmitter;
|
|
17
|
+
menuItemSelected: EventEmitter;
|
|
18
|
+
dropdownOpen: EventEmitter;
|
|
19
|
+
/**
|
|
20
|
+
* @desc
|
|
21
|
+
* @param event
|
|
22
|
+
*/
|
|
23
|
+
handleDropdownOpen(e: any): void;
|
|
24
|
+
/**
|
|
25
|
+
* @desc
|
|
26
|
+
*/
|
|
27
|
+
handleBcmDropdownItemSelected(): void;
|
|
28
|
+
/**
|
|
29
|
+
* @desc
|
|
30
|
+
* @param event
|
|
31
|
+
*/
|
|
32
|
+
handleSplitRootGroupOpen(event: any): void;
|
|
8
33
|
render(): any;
|
|
9
34
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 'type' prop kind
|
|
3
|
+
*/
|
|
4
|
+
export declare type KindProp = 'solid' | 'ghost' | 'link' | 'solid-link' | 'ghost-link';
|
|
5
|
+
/**
|
|
6
|
+
* 'type' prop size
|
|
7
|
+
*/
|
|
8
|
+
export declare type SizeProp = 'small' | 'medium' | 'large';
|
|
9
|
+
export declare const iconSizes: {
|
|
10
|
+
default: {
|
|
11
|
+
large: number;
|
|
12
|
+
medium: number;
|
|
13
|
+
small: number;
|
|
14
|
+
};
|
|
15
|
+
iconOnly: {
|
|
16
|
+
large: number;
|
|
17
|
+
medium: number;
|
|
18
|
+
small: number;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -1,12 +1,29 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { ImageProps, SizeProp } from './types';
|
|
2
|
+
export declare class BcmEmpty {
|
|
3
|
+
/**
|
|
4
|
+
* Component Element
|
|
5
|
+
*/
|
|
5
6
|
el: HTMLElement;
|
|
6
|
-
|
|
7
|
-
|
|
7
|
+
/**
|
|
8
|
+
* Component Properties
|
|
9
|
+
*/
|
|
10
|
+
_image: ImageProps;
|
|
11
|
+
size: SizeProp;
|
|
8
12
|
text: string;
|
|
9
13
|
hidden: boolean;
|
|
10
|
-
|
|
14
|
+
/**
|
|
15
|
+
* Component States
|
|
16
|
+
*/
|
|
17
|
+
image: string;
|
|
18
|
+
/**
|
|
19
|
+
* @ComponentMethod
|
|
20
|
+
*/
|
|
21
|
+
componentWillLoad(): void;
|
|
22
|
+
/**
|
|
23
|
+
* @desc
|
|
24
|
+
* @param newValue
|
|
25
|
+
* @returns {void}
|
|
26
|
+
*/
|
|
27
|
+
parseImage(newValue: string): void;
|
|
11
28
|
render(): any;
|
|
12
29
|
}
|
|
@@ -1,4 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 'image' prop predefined values
|
|
3
|
+
*/
|
|
1
4
|
export declare enum ImageProps {
|
|
2
5
|
default = "default.svg",
|
|
3
6
|
simple = "simple.svg"
|
|
4
7
|
}
|
|
8
|
+
/**
|
|
9
|
+
* 'size' prop predefined values
|
|
10
|
+
*/
|
|
11
|
+
export declare enum SizeProps {
|
|
12
|
+
small = "small",
|
|
13
|
+
medium = "medium",
|
|
14
|
+
big = "big"
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* 'status' prop types
|
|
18
|
+
*/
|
|
19
|
+
export declare type SizeProp = keyof typeof SizeProps;
|
|
@@ -1,12 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
export declare class BcmErrorLayout implements ComponentInterface {
|
|
1
|
+
import { SizeProp } from './types';
|
|
2
|
+
export declare class BcmErrorLayout {
|
|
4
3
|
el: HTMLElement;
|
|
5
|
-
size:
|
|
6
|
-
items: Array<object>;
|
|
4
|
+
size: SizeProp;
|
|
7
5
|
hidden: boolean;
|
|
6
|
+
items: Array<object> | string;
|
|
7
|
+
itemsProp: Array<object>;
|
|
8
8
|
connectedCallback(): void;
|
|
9
|
-
|
|
9
|
+
disconnectedCallback(): void;
|
|
10
|
+
componentWillLoad(): void;
|
|
11
|
+
componentDidLoad(): void;
|
|
12
|
+
componentWillRender(): void;
|
|
13
|
+
componentDidRender(): void;
|
|
14
|
+
componentWillUpdate(): void;
|
|
15
|
+
componentDidUpdate(): void;
|
|
16
|
+
/**
|
|
17
|
+
* @desc
|
|
18
|
+
* @param newValue
|
|
19
|
+
* @returns {void}
|
|
20
|
+
*/
|
|
21
|
+
parseItems(newValue: Array<object> | string): void;
|
|
10
22
|
set(val: any): Promise<void>;
|
|
11
23
|
clear(): Promise<void>;
|
|
12
24
|
render(): any;
|
|
@@ -1,73 +1,79 @@
|
|
|
1
|
-
import { EventEmitter
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
+
export declare class BcmInput {
|
|
3
|
+
inputId: string;
|
|
4
4
|
inputElement: HTMLInputElement;
|
|
5
|
-
|
|
6
|
-
_id: string;
|
|
7
|
-
_internal_id: string;
|
|
5
|
+
type: string;
|
|
8
6
|
value: any;
|
|
9
|
-
size:
|
|
7
|
+
size: 'small' | 'medium' | 'large';
|
|
10
8
|
label: string;
|
|
9
|
+
noCaption: boolean;
|
|
10
|
+
noMargin: boolean;
|
|
11
|
+
captionError: string;
|
|
12
|
+
caption: string;
|
|
13
|
+
captionType: 'primary' | 'success' | 'warning' | 'error' | 'default';
|
|
11
14
|
placeholder: string;
|
|
15
|
+
fullWidth: boolean;
|
|
12
16
|
disabled: boolean;
|
|
13
17
|
readonly: boolean;
|
|
14
18
|
clearable: boolean;
|
|
15
|
-
name: string;
|
|
16
|
-
type: InputTypes;
|
|
17
|
-
hidden: boolean;
|
|
18
|
-
required: boolean;
|
|
19
|
-
fullWidth: boolean;
|
|
20
|
-
noMargin: boolean;
|
|
21
|
-
noDefaultIcon: boolean;
|
|
22
|
-
disableWatchValue: boolean;
|
|
23
19
|
passwordToggle: boolean;
|
|
24
|
-
|
|
25
|
-
|
|
20
|
+
noDefaultIcon: boolean;
|
|
21
|
+
_id: string;
|
|
22
|
+
_internal_id: string;
|
|
23
|
+
name: string;
|
|
26
24
|
unit: string;
|
|
27
|
-
|
|
25
|
+
unitPrefix: string;
|
|
26
|
+
decimal: any;
|
|
28
27
|
min: number;
|
|
29
28
|
max: number;
|
|
30
29
|
step: any;
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
30
|
+
hidden: boolean;
|
|
31
|
+
required: boolean;
|
|
32
|
+
disableWatchValue: boolean;
|
|
33
|
+
maxLength: number;
|
|
34
|
+
tooltip: string;
|
|
35
|
+
inValid: boolean;
|
|
36
|
+
valueCache: string;
|
|
35
37
|
captionCache: string;
|
|
36
38
|
captionTypeCache: any;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
valueCache: any;
|
|
40
|
-
focused: boolean;
|
|
39
|
+
hasFocus: boolean;
|
|
40
|
+
isBlur: boolean;
|
|
41
41
|
isPasswordVisible: boolean;
|
|
42
|
-
/** Events **/
|
|
43
42
|
focus: EventEmitter;
|
|
44
43
|
blur: EventEmitter;
|
|
45
44
|
clear: EventEmitter;
|
|
46
45
|
change: EventEmitter;
|
|
47
46
|
input: EventEmitter;
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
onBcmFocus(): Promise<void>;
|
|
52
|
-
onBcmBlur(): Promise<void>;
|
|
53
|
-
onBcmSelect(): Promise<void>;
|
|
47
|
+
setFocus(): Promise<void>;
|
|
48
|
+
removeFocus(): Promise<void>;
|
|
49
|
+
select(): Promise<void>;
|
|
54
50
|
setValue(value: any): Promise<any>;
|
|
55
51
|
setClear(): Promise<void>;
|
|
56
52
|
resetCaption(): Promise<void>;
|
|
57
53
|
getValue(): Promise<any>;
|
|
58
|
-
watchValue(): void;
|
|
59
|
-
listenKeyDown(e: any): void;
|
|
60
54
|
handleFocus(): void;
|
|
61
55
|
handleBlur(): void;
|
|
62
56
|
handleChange(): void;
|
|
63
57
|
handleInput(): void;
|
|
64
58
|
handleClear(e: MouseEvent): void;
|
|
65
59
|
changePasswordVisibility(): void;
|
|
60
|
+
incrementNumber(): void;
|
|
61
|
+
decrementNumber(): void;
|
|
62
|
+
getNumberStep(step?: number): number;
|
|
63
|
+
connectedCallback(): void;
|
|
64
|
+
validationRange(val?: string): boolean;
|
|
66
65
|
setCaption(caption?: any, captionType?: any): void;
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
66
|
+
isEmailValid(): boolean;
|
|
67
|
+
isTelValid(): boolean;
|
|
68
|
+
isNumberValid(caption?: string, captionType?: string): boolean;
|
|
69
|
+
setNumberUnit(): void;
|
|
70
|
+
numberDecimal(val?: string): string;
|
|
71
|
+
numberNotDecimal(val?: number): number;
|
|
72
|
+
getDecimalLength(): number;
|
|
73
|
+
componentWillRender(): void;
|
|
74
|
+
componentWillLoad(): void;
|
|
75
|
+
numberControl(e: any): boolean;
|
|
70
76
|
whatchHasFocus(): void;
|
|
71
|
-
|
|
77
|
+
watchValue(): void;
|
|
72
78
|
render(): any;
|
|
73
79
|
}
|
|
@@ -1,20 +1,32 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { StatusProp } from './types';
|
|
2
|
+
export declare class BcmMessage {
|
|
3
|
+
/**
|
|
4
|
+
* Component Element
|
|
5
|
+
*/
|
|
5
6
|
el: HTMLElement;
|
|
6
|
-
|
|
7
|
+
/**
|
|
8
|
+
* Component Properties
|
|
9
|
+
*/
|
|
10
|
+
status?: StatusProp;
|
|
11
|
+
fullWidth?: boolean;
|
|
12
|
+
loading?: boolean;
|
|
13
|
+
isShow: boolean;
|
|
7
14
|
hidden: boolean;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
setStateData(): void;
|
|
15
|
+
/**
|
|
16
|
+
* @desc
|
|
17
|
+
*/
|
|
18
|
+
getIcon(): any;
|
|
19
|
+
/**
|
|
20
|
+
* @desc Removes component itself
|
|
21
|
+
*/
|
|
16
22
|
dismiss(): void;
|
|
23
|
+
/**
|
|
24
|
+
* @desc
|
|
25
|
+
*/
|
|
17
26
|
hide(): Promise<void>;
|
|
27
|
+
/**
|
|
28
|
+
* @desc
|
|
29
|
+
*/
|
|
18
30
|
show(): Promise<void>;
|
|
19
31
|
render(): any;
|
|
20
32
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 'status' prop predefined values
|
|
3
|
+
*/
|
|
4
|
+
export declare enum StatusProps {
|
|
5
|
+
info = "info",
|
|
6
|
+
error = "error",
|
|
7
|
+
warning = "warning",
|
|
8
|
+
success = "success"
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* 'status' prop types
|
|
12
|
+
*/
|
|
13
|
+
export declare type StatusProp = keyof typeof StatusProps;
|
|
@@ -1,22 +1,75 @@
|
|
|
1
|
-
import { EventEmitter
|
|
2
|
-
import {
|
|
3
|
-
export declare class BcmModal
|
|
1
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
+
import { StatusProp, TypeProp, SizeProp } from './types';
|
|
3
|
+
export declare class BcmModal {
|
|
4
|
+
/**
|
|
5
|
+
* Component Element
|
|
6
|
+
*/
|
|
4
7
|
el: HTMLElement;
|
|
5
|
-
|
|
6
|
-
|
|
8
|
+
slotHeader: boolean;
|
|
9
|
+
slotContent: boolean;
|
|
10
|
+
slotFooter: boolean;
|
|
11
|
+
slotHeaderHtml: any;
|
|
12
|
+
slotContentHtml: any;
|
|
13
|
+
slotFooterHtml: any;
|
|
14
|
+
bodyStyleOverflow: string;
|
|
15
|
+
/**
|
|
16
|
+
* Component Properties
|
|
17
|
+
*/
|
|
18
|
+
_id: string;
|
|
19
|
+
headerTitle?: string;
|
|
20
|
+
type: TypeProp;
|
|
21
|
+
status?: StatusProp;
|
|
22
|
+
okText?: string;
|
|
23
|
+
cancelText?: string;
|
|
7
24
|
isShow: boolean;
|
|
8
25
|
hidden: boolean;
|
|
9
|
-
size:
|
|
10
|
-
backdrop: boolean | 'static';
|
|
11
|
-
width: string;
|
|
12
|
-
height: string;
|
|
26
|
+
size: SizeProp;
|
|
13
27
|
fullWidth: boolean;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
28
|
+
backdrop: true | false | 'static';
|
|
29
|
+
headerArea: boolean;
|
|
30
|
+
footerArea: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Component Events
|
|
33
|
+
*/
|
|
34
|
+
ok: EventEmitter;
|
|
35
|
+
cancel: EventEmitter;
|
|
36
|
+
close: EventEmitter;
|
|
37
|
+
/**
|
|
38
|
+
* @StencilMethod
|
|
39
|
+
*/
|
|
40
|
+
componentWillLoad(): void;
|
|
41
|
+
componentDidRender(): void;
|
|
42
|
+
/**
|
|
43
|
+
* @desc
|
|
44
|
+
* @returns {BcmIcon}
|
|
45
|
+
*/
|
|
46
|
+
getIcon(): any;
|
|
47
|
+
/**
|
|
48
|
+
* @desc
|
|
49
|
+
*/
|
|
50
|
+
handleOk(): void;
|
|
51
|
+
/**
|
|
52
|
+
* @desc
|
|
53
|
+
*/
|
|
54
|
+
handleCancel(): void;
|
|
55
|
+
/**
|
|
56
|
+
* @desc
|
|
57
|
+
* @returns {BcmIcon}
|
|
58
|
+
*/
|
|
59
|
+
getFooterActions(): any;
|
|
17
60
|
handleSubmit(e: any): void;
|
|
61
|
+
/**
|
|
62
|
+
* @desc Removes component itself
|
|
63
|
+
*/
|
|
64
|
+
dismiss(): void;
|
|
18
65
|
handleBackdrop(): void;
|
|
66
|
+
/**
|
|
67
|
+
* @desc
|
|
68
|
+
*/
|
|
19
69
|
hide(): Promise<void>;
|
|
70
|
+
/**
|
|
71
|
+
* @desc
|
|
72
|
+
*/
|
|
20
73
|
show(): Promise<void>;
|
|
21
74
|
keyboardNavigation(e: any): void;
|
|
22
75
|
render(): any;
|