bromcom-ui 2.3.67 → 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.
Files changed (71) hide show
  1. package/dist/bromcom-ui/bcm-label.entry.js +6 -478
  2. package/dist/bromcom-ui/bcm-select-box.entry.js +3 -0
  3. package/dist/bromcom-ui/bcm-select.entry.js +36 -18
  4. package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
  5. package/dist/bromcom-ui/{bcm-ad02f9c9.js → string-helper-1d51eff7.js} +23 -2
  6. package/dist/types/components/atoms/icon/icon.d.ts +1 -1
  7. package/dist/types/components/molecules/select/select-box.d.ts +1 -0
  8. package/package.json +1 -1
  9. package/dist/bromcom-ui/bcm-list-2-item.entry.js +0 -36
  10. package/dist/bromcom-ui/bcm-list-2.entry.js +0 -936
  11. package/dist/bromcom-ui/bcm-range.entry.js +0 -160
  12. package/dist/bromcom-ui/bcm-search-2.entry.js +0 -193
  13. package/dist/bromcom-ui/caption-template-2d4ffc88.js +0 -25
  14. package/dist/bromcom-ui/color-helper-19448077.js +0 -35
  15. package/dist/bromcom-ui/element-dragger-2a215f47.js +0 -273
  16. package/dist/bromcom-ui/generate-0a22e8df.js +0 -88
  17. package/dist/bromcom-ui/index-dbc63c66.js +0 -2818
  18. package/dist/bromcom-ui/index-dd5c1283.js +0 -187
  19. package/dist/bromcom-ui/input-template-2c402b1c.js +0 -91
  20. package/dist/bromcom-ui/input-template-3fef2084.js +0 -87
  21. package/dist/bromcom-ui/input-template-5d0fa41c.js +0 -89
  22. package/dist/bromcom-ui/input-template-5d288c2e.js +0 -90
  23. package/dist/bromcom-ui/input-template-63f2d73c.js +0 -83
  24. package/dist/bromcom-ui/input-template-91ff8813.js +0 -90
  25. package/dist/bromcom-ui/input-template-d4438c87.js +0 -86
  26. package/dist/bromcom-ui/input-template-d594af3b.js +0 -86
  27. package/dist/bromcom-ui/input-template-e0e652a9.js +0 -82
  28. package/dist/bromcom-ui/input-template-ece52adc.js +0 -85
  29. package/dist/bromcom-ui/input-template-f669289a.js +0 -93
  30. package/dist/bromcom-ui/json-parse-decarator-223ea680.js +0 -21
  31. package/dist/bromcom-ui/label-template-b0b70fde.js +0 -19
  32. package/dist/bromcom-ui/number-helper-fea1966f.js +0 -13
  33. package/dist/bromcom-ui/popover-placement-31e0e70f.js +0 -96
  34. package/dist/bromcom-ui/property-decorators-21b15487.js +0 -36
  35. package/dist/bromcom-ui/slot-template-5b8e1902.js +0 -9
  36. package/dist/bromcom-ui/snq.es5-946822b8.js +0 -14
  37. package/dist/bromcom-ui/string-helper-414d635d.js +0 -25
  38. package/dist/bromcom-ui/types-6b2a6629.js +0 -172
  39. package/dist/bromcom-ui/utils-333ded7f.js +0 -438
  40. package/dist/types/components/atoms/states/badge.states.d.ts +0 -7
  41. package/dist/types/components/atoms/states/button.states.d.ts +0 -7
  42. package/dist/types/components/molecules/breadcrumb/types.d.ts +0 -10
  43. package/dist/types/components/molecules/input/types.d.ts +0 -13
  44. package/dist/types/components/molecules/progress/types.d.ts +0 -24
  45. package/dist/types/components/molecules/range/range.d.ts +0 -36
  46. package/dist/types/components/molecules/search-2/search-2.d.ts +0 -26
  47. package/dist/types/components/molecules/states/alert.states.d.ts +0 -7
  48. package/dist/types/components/molecules/states/checkbox-group.states.d.ts +0 -53
  49. package/dist/types/components/molecules/states/message.states.d.ts +0 -7
  50. package/dist/types/components/molecules/states/notification.states.d.ts +0 -7
  51. package/dist/types/components/molecules/states/radio-group.states.d.ts +0 -47
  52. package/dist/types/components/molecules/states/result.states.d.ts +0 -7
  53. package/dist/types/components/molecules/states/search.states.d.ts +0 -9
  54. package/dist/types/components/molecules/textarea/types.d.ts +0 -9
  55. package/dist/types/components/organism/list-2/list-2-item.d.ts +0 -11
  56. package/dist/types/components/organism/list-2/list-2.d.ts +0 -104
  57. package/dist/types/components/organism/states/bcm-list2.states.d.ts +0 -19
  58. package/dist/types/decorators/json-parse-decarator.d.ts +0 -4
  59. package/dist/types/decorators/property-decorators.d.ts +0 -6
  60. package/dist/types/helper/number-helper.d.ts +0 -9
  61. package/dist/types/models/states/Atoms/bcm-Atoms-state.d.ts +0 -34
  62. package/dist/types/models/states/molecules/bcm-molecules-state.d.ts +0 -78
  63. package/dist/types/models/states/organisms/bcm-organisms-state.d.ts +0 -69
  64. package/dist/types/templates/button-template.d.ts +0 -16
  65. package/dist/types/templates/checkbox-group-template.d.ts +0 -10
  66. package/dist/types/templates/checkbox-template.d.ts +0 -13
  67. package/dist/types/templates/info-footer-template.d.ts +0 -10
  68. package/dist/types/templates/input-template.d.ts +0 -30
  69. package/dist/types/templates/list-item-template.d.ts +0 -10
  70. package/dist/types/templates/list-template.d.ts +0 -21
  71. package/dist/types/templates/tag-template.d.ts +0 -17
@@ -1,7 +0,0 @@
1
- import BcmMoleculesState from "../../../models/states/molecules/bcm-molecules-state";
2
- declare const _default: {
3
- removeValue: (_id: any) => void;
4
- getValue: (id: any) => BcmMoleculesState.Result;
5
- setValue: (val: any) => void;
6
- };
7
- export default _default;
@@ -1,9 +0,0 @@
1
- import BcmMoleculesState from '../../../models/states/molecules/bcm-molecules-state';
2
- declare const _default: {
3
- setValue: (val: any) => void;
4
- removeValue: (_id: any) => void;
5
- getValue: (id: any) => BcmMoleculesState.BcmSearchModel;
6
- getDataPagination: (id: any, limit?: number) => any[];
7
- searchData: (id: any, searchText: any, items?: any) => any;
8
- };
9
- export default _default;
@@ -1,9 +0,0 @@
1
- export declare enum ResizeType {
2
- none = "none",
3
- both = "both",
4
- horizontal = "horizontal",
5
- vertical = "vertical",
6
- initial = "initial",
7
- inherit = "inherit"
8
- }
9
- export declare type ResizeTypes = keyof typeof ResizeType;
@@ -1,11 +0,0 @@
1
- import { ComponentInterface } from '../../../stencil-public-runtime';
2
- export declare class BcmList2Item implements ComponentInterface {
3
- el: HTMLElement;
4
- _id: string;
5
- _title: string;
6
- disabled: boolean;
7
- readonly: boolean;
8
- required: boolean;
9
- hidden: boolean;
10
- render(): any;
11
- }
@@ -1,104 +0,0 @@
1
- import { ComponentInterface, EventEmitter } from '../../../stencil-public-runtime';
2
- import Bcm from '../../../models/bcm';
3
- import { PlacementTypes, SizeTypes, StatusTypes } from '../../../models/bcm-types';
4
- export declare class BcmList2 implements ComponentInterface {
5
- private debounce;
6
- el: HTMLElement;
7
- _id: string;
8
- type: 'listbox' | 'treeview' | 'select' | 'multiselect' | 'autocomplete';
9
- treeview: boolean;
10
- checkboxes: boolean;
11
- valueCache: any[];
12
- value: any[];
13
- inputText: string;
14
- name: string;
15
- label: string;
16
- size: SizeTypes;
17
- disabled: boolean;
18
- readonly: boolean;
19
- highlight: boolean;
20
- required: boolean;
21
- hidden: boolean;
22
- fullWidth: boolean;
23
- height: string;
24
- width: string;
25
- infoFooter: boolean;
26
- variableText: string;
27
- template: string;
28
- showIcon: boolean;
29
- favIcon: boolean;
30
- favIconOnlyChilds: any;
31
- allOpen: boolean;
32
- linkedComponent: string;
33
- isOpen: boolean;
34
- placeholder: string;
35
- clearable: boolean;
36
- caption: string;
37
- noCaption: boolean;
38
- captionType: StatusTypes;
39
- captionError: string;
40
- captionCache: string;
41
- captionTypeCache: any;
42
- data: any;
43
- tick: {};
44
- totalData: any;
45
- totalRootData: any;
46
- limit: number;
47
- searchFound: any;
48
- options: {
49
- rootMargin: string;
50
- };
51
- tagContainerWidth: number;
52
- tagChildsTotalWidth: number;
53
- tagChildsTotal: number;
54
- maxTags: number;
55
- fitArea: any;
56
- totalRows: any;
57
- otherTags: any;
58
- otherTagsItem: any;
59
- selectAllItem: {
60
- id: string;
61
- text: string;
62
- value: string;
63
- checked: boolean;
64
- disabled: boolean;
65
- icon: string;
66
- status: Bcm.Status;
67
- indeterminate: string;
68
- };
69
- placement: PlacementTypes;
70
- placement_string: any;
71
- bcmChecklist: EventEmitter;
72
- bcmSelected: EventEmitter;
73
- change: EventEmitter;
74
- debounceHandler: () => void;
75
- componentDidLoad(): Promise<void>;
76
- componentWillRender(): void | Promise<void>;
77
- componentShouldUpdate(newVal: any, oldVal: any, propName: string): boolean | void;
78
- handleResize(): void;
79
- listenResize(): void;
80
- handleClick(event: any): void;
81
- unSelectOther(): void;
82
- onDismiss(event: CustomEvent): Promise<void>;
83
- onSelect(event: CustomEvent): Promise<void>;
84
- bcmOnSearch(event: any): void;
85
- dataChanged(newValue: any, oldValue: any): Promise<void>;
86
- getCheckedList(): Promise<any[]>;
87
- getValue(): Promise<any[]>;
88
- addChecked(ids?: any[], save?: boolean): Promise<void>;
89
- selected(id: any): Promise<void>;
90
- setClear(e?: any): Promise<void>;
91
- private initState;
92
- private markForCheck;
93
- private getOptions;
94
- private getItems;
95
- private openGroup;
96
- private checkedItem;
97
- private selectedItem;
98
- dataScrollEvent(event: any): void;
99
- calculateLocation(): void;
100
- createTag(tag: any): Promise<any>;
101
- tagControl(): Promise<void>;
102
- onSelectTag(ids: any): Promise<void>;
103
- render(): any;
104
- }
@@ -1,19 +0,0 @@
1
- import BcmOrganismsState from '../../../models/states/organisms/bcm-organisms-state';
2
- declare const _default: {
3
- setValue: (val: any) => void;
4
- removeValue: (_id: any) => void;
5
- getValue: (id: any) => BcmOrganismsState.BcmList2Model;
6
- getDataPagination: (id: any, limit?: number) => any[];
7
- openGroup: (id: any, groupId?: any, items?: any, status?: any) => void;
8
- checkedItem: (id: any, itemId: any) => void;
9
- filterData: (id: any, ids: any, items?: any) => void;
10
- getCheckedList: (id: any, items?: any) => any[];
11
- selectedItem: (id: any, itemId?: any, items?: any) => any[];
12
- addChecked: (id: any, ids: any) => void;
13
- setClear: (id: any, items?: any) => void;
14
- getUnhiddenItems: (id: any, items?: any) => any[];
15
- selectAll: (id: any, status?: any) => void;
16
- removeOtherTags: (id: any, ids: any, items?: any) => void;
17
- onRemoveItems: (id: any, itemId: any, items: any) => void;
18
- };
19
- export default _default;
@@ -1,4 +0,0 @@
1
- import { ComponentInterface } from "../stencil-public-runtime";
2
- declare type AttrReflectDecorator = (target: ComponentInterface, propertyKey: string) => void;
3
- export declare function JsonParse(attribute?: any): AttrReflectDecorator;
4
- export {};
@@ -1,6 +0,0 @@
1
- import { ComponentInterface } from "../stencil-public-runtime";
2
- declare type AttrReflectDecorator = (target: ComponentInterface, propertyKey: string) => void;
3
- export declare function AttrReflect(attribute?: any): AttrReflectDecorator;
4
- export declare function registerAttrReflect(component: ComponentInterface, element: HTMLElement, propName: string, attribute: string): void;
5
- export declare function initProps(component: any, element: any, propName: any, attribute: any): void;
6
- export {};
@@ -1,9 +0,0 @@
1
- export declare class NumberHelper {
2
- static isNumber: (str: string) => boolean;
3
- static convertToNumber: (str: string) => number;
4
- static replaceNumber: (str: string) => string;
5
- static replaceFloat: (str: string) => string;
6
- static toFixed: (num: number, fixed: number) => string;
7
- static parseFloatFixed: (str: string, fixed: number) => string;
8
- static getDecimalLength: (str: string) => number;
9
- }
@@ -1,34 +0,0 @@
1
- export declare namespace BcmAtomsState {
2
- interface BaseAtoms {
3
- id: string | number;
4
- }
5
- interface Button extends BaseAtoms {
6
- type: any;
7
- hidden: any;
8
- size: any;
9
- disabled: any;
10
- outline: any;
11
- icon: any;
12
- href: any;
13
- kind: any;
14
- target: any;
15
- value: string;
16
- loading: boolean;
17
- variant: any;
18
- fullWidth: boolean;
19
- iconPosition: any;
20
- variantClass: string;
21
- isIconOnly: boolean;
22
- iconSize: any;
23
- dataDismiss: () => void;
24
- }
25
- interface Badge extends BaseAtoms {
26
- blink?: any;
27
- value?: any;
28
- _slot?: any;
29
- color?: any;
30
- size?: any;
31
- status?: any;
32
- }
33
- }
34
- export default BcmAtomsState;
@@ -1,78 +0,0 @@
1
- export declare namespace BcmMoleculesState {
2
- interface BaseMolecules {
3
- id: string | number;
4
- }
5
- interface Icon {
6
- icon?: any;
7
- iconType?: any;
8
- size?: any;
9
- color?: any;
10
- loading?: any;
11
- bigIcon?: any;
12
- }
13
- interface FormAttr {
14
- disabled?: boolean;
15
- hidden?: boolean;
16
- required?: boolean;
17
- readonly?: boolean;
18
- value?: any;
19
- name?: any;
20
- label?: any;
21
- }
22
- interface Alert extends Icon, BaseMolecules {
23
- status?: any;
24
- dismissable?: any;
25
- }
26
- interface Message extends Icon, BaseMolecules {
27
- message?: any;
28
- status?: any;
29
- }
30
- interface Notification extends Icon, BaseMolecules {
31
- message?: any;
32
- description?: any;
33
- status?: any;
34
- }
35
- interface Result extends Icon, BaseMolecules {
36
- message?: any;
37
- description?: any;
38
- status?: any;
39
- }
40
- interface Options {
41
- value?: any;
42
- size?: any;
43
- label?: any;
44
- placeholder?: any;
45
- noCaption?: any;
46
- caption?: any;
47
- captionError?: any;
48
- captionType?: any;
49
- disabled?: any;
50
- required?: any;
51
- hidden?: any;
52
- highlight?: any;
53
- name?: any;
54
- items?: any;
55
- infoFooter?: any;
56
- checkboxes?: any;
57
- clearable?: any;
58
- template?: any;
59
- favIcon?: any;
60
- favIconOnlyChilds?: any;
61
- showIcon?: any;
62
- treeview?: any;
63
- allOpen?: any;
64
- fullWidth?: any;
65
- readonly?: any;
66
- type?: any;
67
- linkedComponent?: any;
68
- }
69
- interface SearchData extends BaseMolecules {
70
- parentId?: any;
71
- text?: any;
72
- items?: SearchData[];
73
- }
74
- interface BcmSearchModel extends BaseMolecules {
75
- dataSource: SearchData[];
76
- }
77
- }
78
- export default BcmMoleculesState;
@@ -1,69 +0,0 @@
1
- export declare namespace BcmOrganismsState {
2
- interface GenerateId {
3
- id: string;
4
- }
5
- interface Options {
6
- value?: any;
7
- size?: any;
8
- label?: any;
9
- placeholder?: any;
10
- noCaption?: any;
11
- caption?: any;
12
- captionError?: any;
13
- captionType?: any;
14
- disabled?: any;
15
- required?: any;
16
- hidden?: any;
17
- isSearching?: any;
18
- highlight?: any;
19
- name?: any;
20
- items?: any;
21
- infoFooter?: any;
22
- checkboxes?: any;
23
- clearable?: any;
24
- template?: any;
25
- favIcon?: any;
26
- favIconOnlyChilds?: any;
27
- showIcon?: any;
28
- treeview?: any;
29
- allOpen?: any;
30
- fullWidth?: any;
31
- readonly?: any;
32
- type?: any;
33
- linkedComponent?: any;
34
- }
35
- interface Data extends GenerateId {
36
- size?: any;
37
- parentId?: any;
38
- text?: any;
39
- tooltipText?: any;
40
- secondaryText?: any;
41
- icon?: any;
42
- template?: any;
43
- avatar?: any;
44
- disabled?: any;
45
- readonly?: any;
46
- checked?: any;
47
- selected?: any;
48
- hidden?: any;
49
- checkboxes?: any;
50
- open?: any;
51
- isSearch?: any;
52
- highlight?: any;
53
- showIcon?: any;
54
- focused?: any;
55
- favicon?: any;
56
- indeterminate?: any;
57
- itemObject?: any;
58
- contextMenu?: any;
59
- items?: Data[];
60
- }
61
- interface BcmList2Model extends GenerateId {
62
- dataSource: Data[];
63
- options: Options;
64
- totalItems: number;
65
- totalRoots: number;
66
- filterData?: Data[];
67
- }
68
- }
69
- export default BcmOrganismsState;
@@ -1,16 +0,0 @@
1
- import { FunctionalComponent } from '../stencil-public-runtime';
2
- interface ButtonTemplateProps {
3
- value?: any;
4
- className?: any;
5
- componentClass?: any;
6
- disabled?: any;
7
- href?: any;
8
- target?: any;
9
- loading?: any;
10
- iconSize?: any;
11
- isIconOnly?: any;
12
- icon?: any;
13
- iconPosition?: any;
14
- }
15
- export declare const ButtonTemplate: FunctionalComponent<ButtonTemplateProps>;
16
- export {};
@@ -1,10 +0,0 @@
1
- import { FunctionalComponent } from '../stencil-public-runtime';
2
- interface CheckboxGroupTemplate {
3
- id?: any;
4
- onBcmSelect?: (checkBoxId: any) => void;
5
- groupContainerClasses?: any;
6
- customStyle?: any;
7
- items: any;
8
- }
9
- export declare const CheckboxGroupTemplate: FunctionalComponent<CheckboxGroupTemplate>;
10
- export {};
@@ -1,13 +0,0 @@
1
- import { FunctionalComponent } from '../stencil-public-runtime';
2
- interface CheckboxTemplateProps {
3
- disabled?: any;
4
- checked?: any;
5
- readOnly?: any;
6
- required?: any;
7
- indeterminate?: any;
8
- hidden?: any;
9
- captionType?: any;
10
- _id?: any;
11
- }
12
- export declare const CheckboxTemplate: FunctionalComponent<CheckboxTemplateProps>;
13
- export {};
@@ -1,10 +0,0 @@
1
- import { FunctionalComponent } from '../stencil-public-runtime';
2
- interface InfoFooterTemplateProps {
3
- selected?: any;
4
- total?: any;
5
- found?: any;
6
- multiple?: boolean;
7
- variableText?: string;
8
- }
9
- export declare const InfoFooterTemplate: FunctionalComponent<InfoFooterTemplateProps>;
10
- export {};
@@ -1,30 +0,0 @@
1
- import { ComponentInterface, FunctionalComponent } from '../stencil-public-runtime';
2
- import Bcm from '../models/bcm';
3
- interface InputTemplateProps extends Bcm.InputClickEvent, ComponentInterface {
4
- elementType?: 'textarea' | 'input';
5
- rows?: any;
6
- id?: any;
7
- internalId?: any;
8
- type?: any;
9
- placeholder?: any;
10
- value?: any;
11
- size?: any;
12
- unit?: any;
13
- unitPrefix?: any;
14
- maxLength?: any;
15
- disabled?: any;
16
- clearable?: any;
17
- focused?: any;
18
- readonly?: any;
19
- isPasswordVisible?: any;
20
- passwordToggle?: any;
21
- noDefaultIcon?: any;
22
- inValid?: any;
23
- captionType?: any;
24
- resize?: any;
25
- changePasswordVisibility?: () => void;
26
- handleClear?: (e: MouseEvent) => void;
27
- steps?: (type: any) => void;
28
- }
29
- export declare const InputTemplate: FunctionalComponent<InputTemplateProps>;
30
- export {};
@@ -1,10 +0,0 @@
1
- import { FunctionalComponent } from '../stencil-public-runtime';
2
- import Bcm from '../models/bcm';
3
- interface ListItemTemplateProps extends Bcm.ListItemClickEvent {
4
- item?: any;
5
- treeview?: any;
6
- checkboxes?: any;
7
- size?: any;
8
- }
9
- export declare const ListItemTemplate: FunctionalComponent<ListItemTemplateProps>;
10
- export {};
@@ -1,21 +0,0 @@
1
- import { FunctionalComponent } from '../stencil-public-runtime';
2
- import Bcm from '../models/bcm';
3
- interface ListTemplateProps extends Bcm.ListClickEvent {
4
- treeview?: any;
5
- checkboxes?: any;
6
- bcmListContainer?: any;
7
- infoFooter?: any;
8
- value?: any;
9
- totalData?: any;
10
- searchFound?: any;
11
- variableText?: any;
12
- size?: any;
13
- items?: any;
14
- _id?: any;
15
- data?: any;
16
- width?: any;
17
- height?: any;
18
- selectAllItem?: any;
19
- }
20
- export declare const ListTemplate: FunctionalComponent<ListTemplateProps>;
21
- export {};
@@ -1,17 +0,0 @@
1
- import { FunctionalComponent } from '../stencil-public-runtime';
2
- import Bcm from '../models/bcm';
3
- interface TagTemplateProps {
4
- _id?: string;
5
- hostClasses?: string;
6
- classes?: string;
7
- colorStyle?: any;
8
- customStyle?: any;
9
- value?: string;
10
- type?: Bcm.TagType;
11
- calculatedSize?: number;
12
- checked?: boolean;
13
- onDismiss?: (e?: any) => void;
14
- onSelect?: (e?: any) => void;
15
- }
16
- export declare const TagTemplate: FunctionalComponent<TagTemplateProps>;
17
- export {};