bromcom-ui 2.3.61 → 2.3.62
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-date-picker.entry.js +2 -1
- package/dist/bromcom-ui/bcm-datetime-picker.entry.js +4 -1
- package/dist/bromcom-ui/bcm-form-group.entry.js +1 -1
- package/dist/bromcom-ui/bcm-form.entry.js +3 -1
- package/dist/bromcom-ui/bcm-input.entry.js +1 -0
- package/dist/bromcom-ui/bcm-listbox.entry.js +1 -0
- package/dist/bromcom-ui/bcm-select.entry.js +4 -2
- package/dist/types/components/organism/datetime-picker/datetime-picker.d.ts +1 -0
- package/dist/types/components/organism/form/form.d.ts +1 -1
- package/dist/types/components.d.ts +1 -1
- package/package.json +1 -1
- package/dist/bromcom-ui/bcm-ad02f9c9.js +0 -453
- package/dist/bromcom-ui/bcm-list-2-item.entry.js +0 -36
- package/dist/bromcom-ui/bcm-list-2.entry.js +0 -834
- package/dist/bromcom-ui/bcm-range.entry.js +0 -160
- package/dist/bromcom-ui/bcm-search-2.entry.js +0 -190
- package/dist/bromcom-ui/caption-template-2d4ffc88.js +0 -25
- package/dist/bromcom-ui/color-helper-19448077.js +0 -35
- package/dist/bromcom-ui/element-dragger-2a215f47.js +0 -273
- package/dist/bromcom-ui/generate-0a22e8df.js +0 -88
- package/dist/bromcom-ui/generate-2170e960.js +0 -81
- package/dist/bromcom-ui/generate-516a5391.js +0 -90
- package/dist/bromcom-ui/index-dbc63c66.js +0 -2818
- package/dist/bromcom-ui/index-dd5c1283.js +0 -187
- package/dist/bromcom-ui/input-template-e0e652a9.js +0 -82
- package/dist/bromcom-ui/json-parse-decarator-223ea680.js +0 -21
- package/dist/bromcom-ui/label-template-b0b70fde.js +0 -19
- package/dist/bromcom-ui/number-helper-fea1966f.js +0 -13
- package/dist/bromcom-ui/popover-placement-31e0e70f.js +0 -96
- package/dist/bromcom-ui/property-decorators-21b15487.js +0 -36
- package/dist/bromcom-ui/slot-template-5b8e1902.js +0 -9
- package/dist/bromcom-ui/snq.es5-946822b8.js +0 -14
- package/dist/bromcom-ui/string-helper-414d635d.js +0 -25
- package/dist/bromcom-ui/types-6b2a6629.js +0 -172
- package/dist/bromcom-ui/utils-333ded7f.js +0 -438
- 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 -25
- 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 -9
- package/dist/types/components/molecules/textarea/types.d.ts +0 -9
- package/dist/types/components/organism/list-2/list-2-item.d.ts +0 -11
- package/dist/types/components/organism/list-2/list-2.d.ts +0 -102
- package/dist/types/components/organism/states/bcm-list2.states.d.ts +0 -17
- package/dist/types/decorators/json-parse-decarator.d.ts +0 -4
- package/dist/types/decorators/property-decorators.d.ts +0 -6
- 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 -69
- 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 -10
- package/dist/types/templates/list-template.d.ts +0 -21
- package/dist/types/templates/tag-template.d.ts +0 -17
|
@@ -349,6 +349,7 @@ const BcmDatetimePicker = class {
|
|
|
349
349
|
if (disabledDatesData.max && disabledDatesData.max instanceof Date) {
|
|
350
350
|
this.disabledDatesList.max = new Date(disabledDatesData.max.toDateString());
|
|
351
351
|
}
|
|
352
|
+
this.lastDate && this.set(this.lastDate);
|
|
352
353
|
}
|
|
353
354
|
/**
|
|
354
355
|
*
|
|
@@ -1160,6 +1161,7 @@ const BcmDatetimePicker = class {
|
|
|
1160
1161
|
* @param dateOrTime
|
|
1161
1162
|
*/
|
|
1162
1163
|
async set(dateOrTime) {
|
|
1164
|
+
this.lastDate = dateOrTime;
|
|
1163
1165
|
// contains -
|
|
1164
1166
|
// const split = dateOrTime.toString().split('-')
|
|
1165
1167
|
// var date: any = DateTimeHelper.convertTimeStampToDate(new Date(split[0]).getTime()).toString()
|
|
@@ -1186,8 +1188,9 @@ const BcmDatetimePicker = class {
|
|
|
1186
1188
|
// }
|
|
1187
1189
|
}
|
|
1188
1190
|
async setClear() {
|
|
1189
|
-
this.handleInputClear();
|
|
1191
|
+
await this.handleInputClear();
|
|
1190
1192
|
await this.inputElement.setClear();
|
|
1193
|
+
return Promise.resolve();
|
|
1191
1194
|
}
|
|
1192
1195
|
/**
|
|
1193
1196
|
* @desc
|
|
@@ -11,7 +11,7 @@ const BcmFormGroup = class {
|
|
|
11
11
|
this.name = "";
|
|
12
12
|
}
|
|
13
13
|
inputChange() {
|
|
14
|
-
console.log("diğişti")
|
|
14
|
+
// console.log("diğişti")
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
17
|
return (h(Host, { "on-bcm-change": () => this.inputChange() }, h("form", { class: "bcm-form" }, h("slot", null))));
|
|
@@ -124,15 +124,17 @@ const BcmForm = class {
|
|
|
124
124
|
this.formData = {};
|
|
125
125
|
this.inputs = [];
|
|
126
126
|
this.selector = this.el;
|
|
127
|
+
let clear = [];
|
|
127
128
|
this.getInputs();
|
|
128
129
|
for (const item of this.inputs) {
|
|
129
130
|
try {
|
|
130
|
-
|
|
131
|
+
clear.push(item.setClear());
|
|
131
132
|
}
|
|
132
133
|
catch (error) {
|
|
133
134
|
console.log(item.nodeName, "sc p");
|
|
134
135
|
}
|
|
135
136
|
}
|
|
137
|
+
return Promise.all(clear);
|
|
136
138
|
}
|
|
137
139
|
async resetCaption() {
|
|
138
140
|
this.formData = {};
|
|
@@ -419,7 +419,8 @@ const BcmSelect = class {
|
|
|
419
419
|
return this.checklist;
|
|
420
420
|
}
|
|
421
421
|
async setClear() {
|
|
422
|
-
this.handleClear();
|
|
422
|
+
await this.handleClear();
|
|
423
|
+
return Promise.resolve();
|
|
423
424
|
}
|
|
424
425
|
async resetCaption() {
|
|
425
426
|
this.caption = this.captionCache;
|
|
@@ -586,7 +587,6 @@ const BcmSelect = class {
|
|
|
586
587
|
async handleClear() {
|
|
587
588
|
this.value = null;
|
|
588
589
|
this.selectText = null;
|
|
589
|
-
this.clear.emit();
|
|
590
590
|
// const allitem:any = [...this.onShowVisibleTags, ...this.onShowHiddenTags]
|
|
591
591
|
// if ( allitem.length > 0 ) {
|
|
592
592
|
// allitem.map(item => {
|
|
@@ -624,6 +624,8 @@ const BcmSelect = class {
|
|
|
624
624
|
if (searchInput) {
|
|
625
625
|
searchInput.clearAndSelectSearch();
|
|
626
626
|
}
|
|
627
|
+
this.clear.emit();
|
|
628
|
+
return Promise.resolve();
|
|
627
629
|
}
|
|
628
630
|
handleFocus() {
|
|
629
631
|
this.focus.emit();
|
|
@@ -17,7 +17,7 @@ export declare class BcmForm {
|
|
|
17
17
|
handleSubmit(e: any): void;
|
|
18
18
|
submitFunction(): Promise<any>;
|
|
19
19
|
submit(): Promise<any>;
|
|
20
|
-
setClear(): Promise<
|
|
20
|
+
setClear(): Promise<any[]>;
|
|
21
21
|
resetCaption(): Promise<void>;
|
|
22
22
|
config(_config: Array<object>): Promise<boolean>;
|
|
23
23
|
getInputs(): void;
|
|
@@ -435,7 +435,7 @@ export namespace Components {
|
|
|
435
435
|
"hidden": boolean;
|
|
436
436
|
"name": string;
|
|
437
437
|
"resetCaption": () => Promise<void>;
|
|
438
|
-
"setClear": () => Promise<
|
|
438
|
+
"setClear": () => Promise<any[]>;
|
|
439
439
|
"submit": () => Promise<any>;
|
|
440
440
|
"validation": boolean;
|
|
441
441
|
"value": any;
|
package/package.json
CHANGED
|
@@ -1,453 +0,0 @@
|
|
|
1
|
-
var Bcm;
|
|
2
|
-
(function (Bcm) {
|
|
3
|
-
let HtmlElementType;
|
|
4
|
-
(function (HtmlElementType) {
|
|
5
|
-
HtmlElementType["div"] = "div";
|
|
6
|
-
HtmlElementType["span"] = "span";
|
|
7
|
-
HtmlElementType["button"] = "button";
|
|
8
|
-
HtmlElementType["a"] = "a";
|
|
9
|
-
HtmlElementType["input"] = "input";
|
|
10
|
-
HtmlElementType["textarea"] = "textarea";
|
|
11
|
-
HtmlElementType["select"] = "select";
|
|
12
|
-
HtmlElementType["option"] = "option";
|
|
13
|
-
HtmlElementType["img"] = "img";
|
|
14
|
-
HtmlElementType["table"] = "table";
|
|
15
|
-
HtmlElementType["tr"] = "tr";
|
|
16
|
-
HtmlElementType["td"] = "td";
|
|
17
|
-
HtmlElementType["th"] = "th";
|
|
18
|
-
HtmlElementType["tbody"] = "tbody";
|
|
19
|
-
HtmlElementType["thead"] = "thead";
|
|
20
|
-
HtmlElementType["tfoot"] = "tfoot";
|
|
21
|
-
HtmlElementType["ul"] = "ul";
|
|
22
|
-
HtmlElementType["li"] = "li";
|
|
23
|
-
HtmlElementType["form"] = "form";
|
|
24
|
-
HtmlElementType["label"] = "label";
|
|
25
|
-
HtmlElementType["main"] = "main";
|
|
26
|
-
HtmlElementType["header"] = "header";
|
|
27
|
-
HtmlElementType["footer"] = "footer";
|
|
28
|
-
HtmlElementType["section"] = "section";
|
|
29
|
-
HtmlElementType["article"] = "article";
|
|
30
|
-
HtmlElementType["nav"] = "nav";
|
|
31
|
-
HtmlElementType["aside"] = "aside";
|
|
32
|
-
})(HtmlElementType = Bcm.HtmlElementType || (Bcm.HtmlElementType = {}));
|
|
33
|
-
let Status;
|
|
34
|
-
(function (Status) {
|
|
35
|
-
Status["info"] = "info";
|
|
36
|
-
Status["error"] = "error";
|
|
37
|
-
Status["warning"] = "warning";
|
|
38
|
-
Status["success"] = "success";
|
|
39
|
-
Status["default"] = "default";
|
|
40
|
-
})(Status = Bcm.Status || (Bcm.Status = {}));
|
|
41
|
-
let Shape;
|
|
42
|
-
(function (Shape) {
|
|
43
|
-
Shape["ellipse"] = "ellipse";
|
|
44
|
-
Shape["square"] = "square";
|
|
45
|
-
})(Shape = Bcm.Shape || (Bcm.Shape = {}));
|
|
46
|
-
let Direction;
|
|
47
|
-
(function (Direction) {
|
|
48
|
-
Direction["horizontal"] = "horizontal";
|
|
49
|
-
Direction["vertical"] = "vertical";
|
|
50
|
-
})(Direction = Bcm.Direction || (Bcm.Direction = {}));
|
|
51
|
-
let PreDefinedIconSize;
|
|
52
|
-
(function (PreDefinedIconSize) {
|
|
53
|
-
PreDefinedIconSize[PreDefinedIconSize["large"] = 48] = "large";
|
|
54
|
-
PreDefinedIconSize[PreDefinedIconSize["medium"] = 24] = "medium";
|
|
55
|
-
PreDefinedIconSize[PreDefinedIconSize["default"] = 16] = "default";
|
|
56
|
-
PreDefinedIconSize[PreDefinedIconSize["small"] = 12] = "small";
|
|
57
|
-
PreDefinedIconSize[PreDefinedIconSize["xsmall"] = 8] = "xsmall";
|
|
58
|
-
})(PreDefinedIconSize = Bcm.PreDefinedIconSize || (Bcm.PreDefinedIconSize = {}));
|
|
59
|
-
let IconSize;
|
|
60
|
-
(function (IconSize) {
|
|
61
|
-
IconSize["small"] = "16";
|
|
62
|
-
IconSize["medium"] = "20";
|
|
63
|
-
IconSize["large"] = "24";
|
|
64
|
-
})(IconSize = Bcm.IconSize || (Bcm.IconSize = {}));
|
|
65
|
-
let Size;
|
|
66
|
-
(function (Size) {
|
|
67
|
-
Size["small"] = "small";
|
|
68
|
-
Size["medium"] = "medium";
|
|
69
|
-
Size["large"] = "large";
|
|
70
|
-
Size["xsmall"] = "xsmall";
|
|
71
|
-
Size["xlarge"] = "xlarge";
|
|
72
|
-
Size["xxlarge"] = "xxlarge";
|
|
73
|
-
Size["xxxlarge"] = "xxxlarge";
|
|
74
|
-
})(Size = Bcm.Size || (Bcm.Size = {}));
|
|
75
|
-
let Kind;
|
|
76
|
-
(function (Kind) {
|
|
77
|
-
Kind["solid"] = "solid";
|
|
78
|
-
Kind["ghost"] = "ghost";
|
|
79
|
-
Kind["link"] = "link";
|
|
80
|
-
Kind["solid-link"] = "solid-link";
|
|
81
|
-
Kind["ghost-link"] = "ghost-link";
|
|
82
|
-
})(Kind = Bcm.Kind || (Bcm.Kind = {}));
|
|
83
|
-
let ButtonType;
|
|
84
|
-
(function (ButtonType) {
|
|
85
|
-
ButtonType["button"] = "button";
|
|
86
|
-
ButtonType["reset"] = "reset";
|
|
87
|
-
ButtonType["submit"] = "submit";
|
|
88
|
-
})(ButtonType = Bcm.ButtonType || (Bcm.ButtonType = {}));
|
|
89
|
-
let IconPosition;
|
|
90
|
-
(function (IconPosition) {
|
|
91
|
-
IconPosition["prefix"] = "prefix";
|
|
92
|
-
IconPosition["suffix"] = "suffix";
|
|
93
|
-
})(IconPosition = Bcm.IconPosition || (Bcm.IconPosition = {}));
|
|
94
|
-
let TagType;
|
|
95
|
-
(function (TagType) {
|
|
96
|
-
TagType["basic"] = "basic";
|
|
97
|
-
TagType["add"] = "add";
|
|
98
|
-
TagType["checkable"] = "checkable";
|
|
99
|
-
TagType["dismissable"] = "dismissable";
|
|
100
|
-
})(TagType = Bcm.TagType || (Bcm.TagType = {}));
|
|
101
|
-
let FontSize;
|
|
102
|
-
(function (FontSize) {
|
|
103
|
-
FontSize["size-1"] = "size-1";
|
|
104
|
-
FontSize["size-2"] = "size-2";
|
|
105
|
-
FontSize["size-3"] = "size-3";
|
|
106
|
-
FontSize["size-4"] = "size-4";
|
|
107
|
-
FontSize["size-5"] = "size-5";
|
|
108
|
-
FontSize["size-6"] = "size-6";
|
|
109
|
-
FontSize["size-7"] = "size-7";
|
|
110
|
-
FontSize["size-8"] = "size-8";
|
|
111
|
-
FontSize["size-9"] = "size-9";
|
|
112
|
-
})(FontSize = Bcm.FontSize || (Bcm.FontSize = {}));
|
|
113
|
-
let FontSizeValue;
|
|
114
|
-
(function (FontSizeValue) {
|
|
115
|
-
FontSizeValue[FontSizeValue["size-1"] = 12] = "size-1";
|
|
116
|
-
FontSizeValue[FontSizeValue["size-2"] = 14] = "size-2";
|
|
117
|
-
FontSizeValue[FontSizeValue["size-3"] = 16] = "size-3";
|
|
118
|
-
FontSizeValue[FontSizeValue["size-4"] = 20] = "size-4";
|
|
119
|
-
FontSizeValue[FontSizeValue["size-5"] = 24] = "size-5";
|
|
120
|
-
FontSizeValue[FontSizeValue["size-6"] = 30] = "size-6";
|
|
121
|
-
FontSizeValue[FontSizeValue["size-7"] = 38] = "size-7";
|
|
122
|
-
FontSizeValue[FontSizeValue["size-8"] = 46] = "size-8";
|
|
123
|
-
FontSizeValue[FontSizeValue["size-9"] = 56] = "size-9";
|
|
124
|
-
})(FontSizeValue = Bcm.FontSizeValue || (Bcm.FontSizeValue = {}));
|
|
125
|
-
let FontWeight;
|
|
126
|
-
(function (FontWeight) {
|
|
127
|
-
FontWeight["thin"] = "thin";
|
|
128
|
-
FontWeight["light"] = "light";
|
|
129
|
-
FontWeight["regular"] = "regular";
|
|
130
|
-
FontWeight["medium"] = "medium";
|
|
131
|
-
FontWeight["bold"] = "bold";
|
|
132
|
-
FontWeight["black"] = "black";
|
|
133
|
-
})(FontWeight = Bcm.FontWeight || (Bcm.FontWeight = {}));
|
|
134
|
-
let ColorPalette;
|
|
135
|
-
(function (ColorPalette) {
|
|
136
|
-
ColorPalette["default"] = "default";
|
|
137
|
-
ColorPalette["black"] = "black";
|
|
138
|
-
ColorPalette["white"] = "white";
|
|
139
|
-
ColorPalette["prime-blue"] = "prime-blue";
|
|
140
|
-
ColorPalette["prime-blue-1"] = "prime-blue-1";
|
|
141
|
-
ColorPalette["prime-blue-2"] = "prime-blue-2";
|
|
142
|
-
ColorPalette["prime-blue-3"] = "prime-blue-3";
|
|
143
|
-
ColorPalette["prime-blue-4"] = "prime-blue-4";
|
|
144
|
-
ColorPalette["prime-blue-5"] = "prime-blue-5";
|
|
145
|
-
ColorPalette["prime-blue-6"] = "prime-blue-6";
|
|
146
|
-
ColorPalette["prime-blue-7"] = "prime-blue-7";
|
|
147
|
-
ColorPalette["prime-blue-8"] = "prime-blue-8";
|
|
148
|
-
ColorPalette["prime-blue-9"] = "prime-blue-9";
|
|
149
|
-
ColorPalette["prime-blue-10"] = "prime-blue-10";
|
|
150
|
-
ColorPalette["grey"] = "grey";
|
|
151
|
-
ColorPalette["grey-1"] = "grey-1";
|
|
152
|
-
ColorPalette["grey-2"] = "grey-2";
|
|
153
|
-
ColorPalette["grey-3"] = "grey-3";
|
|
154
|
-
ColorPalette["grey-4"] = "grey-4";
|
|
155
|
-
ColorPalette["grey-5"] = "grey-5";
|
|
156
|
-
ColorPalette["grey-6"] = "grey-6";
|
|
157
|
-
ColorPalette["grey-7"] = "grey-7";
|
|
158
|
-
ColorPalette["grey-8"] = "grey-8";
|
|
159
|
-
ColorPalette["grey-9"] = "grey-9";
|
|
160
|
-
ColorPalette["grey-10"] = "grey-10";
|
|
161
|
-
ColorPalette["blue"] = "blue";
|
|
162
|
-
ColorPalette["blue-1"] = "blue-1";
|
|
163
|
-
ColorPalette["blue-2"] = "blue-2";
|
|
164
|
-
ColorPalette["blue-3"] = "blue-3";
|
|
165
|
-
ColorPalette["blue-4"] = "blue-4";
|
|
166
|
-
ColorPalette["blue-5"] = "blue-5";
|
|
167
|
-
ColorPalette["blue-6"] = "blue-6";
|
|
168
|
-
ColorPalette["blue-7"] = "blue-7";
|
|
169
|
-
ColorPalette["blue-8"] = "blue-8";
|
|
170
|
-
ColorPalette["blue-9"] = "blue-9";
|
|
171
|
-
ColorPalette["blue-10"] = "blue-10";
|
|
172
|
-
ColorPalette["warmyellow"] = "warmyellow";
|
|
173
|
-
ColorPalette["warmyellow-1"] = "warmyellow-1";
|
|
174
|
-
ColorPalette["warmyellow-2"] = "warmyellow-2";
|
|
175
|
-
ColorPalette["warmyellow-3"] = "warmyellow-3";
|
|
176
|
-
ColorPalette["warmyellow-4"] = "warmyellow-4";
|
|
177
|
-
ColorPalette["warmyellow-5"] = "warmyellow-5";
|
|
178
|
-
ColorPalette["warmyellow-6"] = "warmyellow-6";
|
|
179
|
-
ColorPalette["warmyellow-7"] = "warmyellow-7";
|
|
180
|
-
ColorPalette["warmyellow-8"] = "warmyellow-8";
|
|
181
|
-
ColorPalette["warmyellow-9"] = "warmyellow-9";
|
|
182
|
-
ColorPalette["warmyellow-10"] = "warmyellow-10";
|
|
183
|
-
ColorPalette["yellow"] = "yellow";
|
|
184
|
-
ColorPalette["yellow-1"] = "yellow-1";
|
|
185
|
-
ColorPalette["yellow-2"] = "yellow-2";
|
|
186
|
-
ColorPalette["yellow-3"] = "yellow-3";
|
|
187
|
-
ColorPalette["yellow-4"] = "yellow-4";
|
|
188
|
-
ColorPalette["yellow-5"] = "yellow-5";
|
|
189
|
-
ColorPalette["yellow-6"] = "yellow-6";
|
|
190
|
-
ColorPalette["yellow-7"] = "yellow-7";
|
|
191
|
-
ColorPalette["yellow-8"] = "yellow-8";
|
|
192
|
-
ColorPalette["yellow-9"] = "yellow-9";
|
|
193
|
-
ColorPalette["yellow-10"] = "yellow-10";
|
|
194
|
-
ColorPalette["limegreen"] = "limegreen";
|
|
195
|
-
ColorPalette["limegreen-1"] = "limegreen-1";
|
|
196
|
-
ColorPalette["limegreen-2"] = "limegreen-2";
|
|
197
|
-
ColorPalette["limegreen-3"] = "limegreen-3";
|
|
198
|
-
ColorPalette["limegreen-4"] = "limegreen-4";
|
|
199
|
-
ColorPalette["limegreen-5"] = "limegreen-5";
|
|
200
|
-
ColorPalette["limegreen-6"] = "limegreen-6";
|
|
201
|
-
ColorPalette["limegreen-7"] = "limegreen-7";
|
|
202
|
-
ColorPalette["limegreen-8"] = "limegreen-8";
|
|
203
|
-
ColorPalette["limegreen-9"] = "limegreen-9";
|
|
204
|
-
ColorPalette["limegreen-10"] = "limegreen-10";
|
|
205
|
-
ColorPalette["red"] = "red";
|
|
206
|
-
ColorPalette["red-1"] = "red-1";
|
|
207
|
-
ColorPalette["red-2"] = "red-2";
|
|
208
|
-
ColorPalette["red-3"] = "red-3";
|
|
209
|
-
ColorPalette["red-4"] = "red-4";
|
|
210
|
-
ColorPalette["red-5"] = "red-5";
|
|
211
|
-
ColorPalette["red-6"] = "red-6";
|
|
212
|
-
ColorPalette["red-7"] = "red-7";
|
|
213
|
-
ColorPalette["red-8"] = "red-8";
|
|
214
|
-
ColorPalette["red-9"] = "red-9";
|
|
215
|
-
ColorPalette["red-10"] = "red-10";
|
|
216
|
-
ColorPalette["darkorange"] = "darkorange";
|
|
217
|
-
ColorPalette["darkorange-1"] = "darkorange-1";
|
|
218
|
-
ColorPalette["darkorange-2"] = "darkorange-2";
|
|
219
|
-
ColorPalette["darkorange-3"] = "darkorange-3";
|
|
220
|
-
ColorPalette["darkorange-4"] = "darkorange-4";
|
|
221
|
-
ColorPalette["darkorange-5"] = "darkorange-5";
|
|
222
|
-
ColorPalette["darkorange-6"] = "darkorange-6";
|
|
223
|
-
ColorPalette["darkorange-7"] = "darkorange-7";
|
|
224
|
-
ColorPalette["darkorange-8"] = "darkorange-8";
|
|
225
|
-
ColorPalette["darkorange-9"] = "darkorange-9";
|
|
226
|
-
ColorPalette["darkorange-10"] = "darkorange-10";
|
|
227
|
-
ColorPalette["orange"] = "orange";
|
|
228
|
-
ColorPalette["orange-1"] = "orange-1";
|
|
229
|
-
ColorPalette["orange-2"] = "orange-2";
|
|
230
|
-
ColorPalette["orange-3"] = "orange-3";
|
|
231
|
-
ColorPalette["orange-4"] = "orange-4";
|
|
232
|
-
ColorPalette["orange-5"] = "orange-5";
|
|
233
|
-
ColorPalette["orange-6"] = "orange-6";
|
|
234
|
-
ColorPalette["orange-7"] = "orange-7";
|
|
235
|
-
ColorPalette["orange-8"] = "orange-8";
|
|
236
|
-
ColorPalette["orange-9"] = "orange-9";
|
|
237
|
-
ColorPalette["orange-10"] = "orange-10";
|
|
238
|
-
ColorPalette["green"] = "green";
|
|
239
|
-
ColorPalette["green-1"] = "green-1";
|
|
240
|
-
ColorPalette["green-2"] = "green-2";
|
|
241
|
-
ColorPalette["green-3"] = "green-3";
|
|
242
|
-
ColorPalette["green-4"] = "green-4";
|
|
243
|
-
ColorPalette["green-5"] = "green-5";
|
|
244
|
-
ColorPalette["green-6"] = "green-6";
|
|
245
|
-
ColorPalette["green-7"] = "green-7";
|
|
246
|
-
ColorPalette["green-8"] = "green-8";
|
|
247
|
-
ColorPalette["green-9"] = "green-9";
|
|
248
|
-
ColorPalette["green-10"] = "green-10";
|
|
249
|
-
ColorPalette["turquosie"] = "turquosie";
|
|
250
|
-
ColorPalette["turquosie-1"] = "turquosie-1";
|
|
251
|
-
ColorPalette["turquosie-2"] = "turquosie-2";
|
|
252
|
-
ColorPalette["turquosie-3"] = "turquosie-3";
|
|
253
|
-
ColorPalette["turquosie-4"] = "turquosie-4";
|
|
254
|
-
ColorPalette["turquosie-5"] = "turquosie-5";
|
|
255
|
-
ColorPalette["turquosie-6"] = "turquosie-6";
|
|
256
|
-
ColorPalette["turquosie-7"] = "turquosie-7";
|
|
257
|
-
ColorPalette["turquosie-8"] = "turquosie-8";
|
|
258
|
-
ColorPalette["turquosie-9"] = "turquosie-9";
|
|
259
|
-
ColorPalette["turquosie-10"] = "turquosie-10";
|
|
260
|
-
ColorPalette["cobaltblue"] = "cobaltblue";
|
|
261
|
-
ColorPalette["cobaltblue-1"] = "cobaltblue-1";
|
|
262
|
-
ColorPalette["cobaltblue-2"] = "cobaltblue-2";
|
|
263
|
-
ColorPalette["cobaltblue-3"] = "cobaltblue-3";
|
|
264
|
-
ColorPalette["cobaltblue-4"] = "cobaltblue-4";
|
|
265
|
-
ColorPalette["cobaltblue-5"] = "cobaltblue-5";
|
|
266
|
-
ColorPalette["cobaltblue-6"] = "cobaltblue-6";
|
|
267
|
-
ColorPalette["cobaltblue-7"] = "cobaltblue-7";
|
|
268
|
-
ColorPalette["cobaltblue-8"] = "cobaltblue-8";
|
|
269
|
-
ColorPalette["cobaltblue-9"] = "cobaltblue-9";
|
|
270
|
-
ColorPalette["cobaltblue-10"] = "cobaltblue-10";
|
|
271
|
-
ColorPalette["magenta"] = "magenta";
|
|
272
|
-
ColorPalette["magenta-1"] = "magenta-1";
|
|
273
|
-
ColorPalette["magenta-2"] = "magenta-2";
|
|
274
|
-
ColorPalette["magenta-3"] = "magenta-3";
|
|
275
|
-
ColorPalette["magenta-4"] = "magenta-4";
|
|
276
|
-
ColorPalette["magenta-5"] = "magenta-5";
|
|
277
|
-
ColorPalette["magenta-6"] = "magenta-6";
|
|
278
|
-
ColorPalette["magenta-7"] = "magenta-7";
|
|
279
|
-
ColorPalette["magenta-8"] = "magenta-8";
|
|
280
|
-
ColorPalette["magenta-9"] = "magenta-9";
|
|
281
|
-
ColorPalette["magenta-10"] = "magenta-10";
|
|
282
|
-
ColorPalette["purple"] = "purple";
|
|
283
|
-
ColorPalette["purple-1"] = "purple-1";
|
|
284
|
-
ColorPalette["purple-2"] = "purple-2";
|
|
285
|
-
ColorPalette["purple-3"] = "purple-3";
|
|
286
|
-
ColorPalette["purple-4"] = "purple-4";
|
|
287
|
-
ColorPalette["purple-5"] = "purple-5";
|
|
288
|
-
ColorPalette["purple-6"] = "purple-6";
|
|
289
|
-
ColorPalette["purple-7"] = "purple-7";
|
|
290
|
-
ColorPalette["purple-8"] = "purple-8";
|
|
291
|
-
ColorPalette["purple-9"] = "purple-9";
|
|
292
|
-
ColorPalette["purple-10"] = "purple-10";
|
|
293
|
-
ColorPalette["bc-red"] = "bc-red";
|
|
294
|
-
ColorPalette["bc-red-1"] = "bc-red-1";
|
|
295
|
-
ColorPalette["bc-red-2"] = "bc-red-2";
|
|
296
|
-
ColorPalette["bc-red-3"] = "bc-red-3";
|
|
297
|
-
ColorPalette["bc-red-4"] = "bc-red-4";
|
|
298
|
-
ColorPalette["bc-red-5"] = "bc-red-5";
|
|
299
|
-
ColorPalette["bc-red-6"] = "bc-red-6";
|
|
300
|
-
ColorPalette["bc-red-7"] = "bc-red-7";
|
|
301
|
-
ColorPalette["bc-red-8"] = "bc-red-8";
|
|
302
|
-
ColorPalette["bc-red-9"] = "bc-red-9";
|
|
303
|
-
ColorPalette["bc-blue"] = "bc-blue";
|
|
304
|
-
ColorPalette["bc-blue-1"] = "bc-blue-1";
|
|
305
|
-
ColorPalette["bc-blue-2"] = "bc-blue-2";
|
|
306
|
-
ColorPalette["bc-blue-3"] = "bc-blue-3";
|
|
307
|
-
ColorPalette["bc-blue-4"] = "bc-blue-4";
|
|
308
|
-
ColorPalette["bc-blue-5"] = "bc-blue-5";
|
|
309
|
-
ColorPalette["bc-blue-6"] = "bc-blue-6";
|
|
310
|
-
ColorPalette["bc-blue-7"] = "bc-blue-7";
|
|
311
|
-
ColorPalette["bc-blue-8"] = "bc-blue-8";
|
|
312
|
-
ColorPalette["bc-blue-9"] = "bc-blue-9";
|
|
313
|
-
ColorPalette["bc-green"] = "bc-green";
|
|
314
|
-
ColorPalette["bc-green-1"] = "bc-green-1";
|
|
315
|
-
ColorPalette["bc-green-2"] = "bc-green-2";
|
|
316
|
-
ColorPalette["bc-green-3"] = "bc-green-3";
|
|
317
|
-
ColorPalette["bc-green-4"] = "bc-green-4";
|
|
318
|
-
ColorPalette["bc-green-5"] = "bc-green-5";
|
|
319
|
-
ColorPalette["bc-green-6"] = "bc-green-6";
|
|
320
|
-
ColorPalette["bc-green-7"] = "bc-green-7";
|
|
321
|
-
ColorPalette["bc-green-8"] = "bc-green-8";
|
|
322
|
-
ColorPalette["bc-green-9"] = "bc-green-9";
|
|
323
|
-
ColorPalette["bc-orange"] = "bc-orange";
|
|
324
|
-
ColorPalette["bc-orange-1"] = "bc-orange-1";
|
|
325
|
-
ColorPalette["bc-orange-2"] = "bc-orange-2";
|
|
326
|
-
ColorPalette["bc-orange-3"] = "bc-orange-3";
|
|
327
|
-
ColorPalette["bc-orange-4"] = "bc-orange-4";
|
|
328
|
-
ColorPalette["bc-orange-5"] = "bc-orange-5";
|
|
329
|
-
ColorPalette["bc-orange-6"] = "bc-orange-6";
|
|
330
|
-
ColorPalette["bc-orange-7"] = "bc-orange-7";
|
|
331
|
-
ColorPalette["bc-orange-8"] = "bc-orange-8";
|
|
332
|
-
ColorPalette["bc-orange-9"] = "bc-orange-9";
|
|
333
|
-
})(ColorPalette = Bcm.ColorPalette || (Bcm.ColorPalette = {}));
|
|
334
|
-
let InputType;
|
|
335
|
-
(function (InputType) {
|
|
336
|
-
InputType["text"] = "text";
|
|
337
|
-
InputType["number"] = "number";
|
|
338
|
-
InputType["email"] = "email";
|
|
339
|
-
InputType["password"] = "password";
|
|
340
|
-
InputType["url"] = "url";
|
|
341
|
-
InputType["search"] = "search";
|
|
342
|
-
InputType["tel"] = "tel";
|
|
343
|
-
InputType["hidden"] = "hidden";
|
|
344
|
-
})(InputType = Bcm.InputType || (Bcm.InputType = {}));
|
|
345
|
-
let KeyCode;
|
|
346
|
-
(function (KeyCode) {
|
|
347
|
-
KeyCode[KeyCode["backspace"] = 8] = "backspace";
|
|
348
|
-
KeyCode[KeyCode["tab"] = 9] = "tab";
|
|
349
|
-
KeyCode[KeyCode["enter"] = 13] = "enter";
|
|
350
|
-
KeyCode[KeyCode["shift"] = 16] = "shift";
|
|
351
|
-
KeyCode[KeyCode["ctrl"] = 17] = "ctrl";
|
|
352
|
-
KeyCode[KeyCode["alt"] = 18] = "alt";
|
|
353
|
-
KeyCode[KeyCode["pause"] = 19] = "pause";
|
|
354
|
-
KeyCode[KeyCode["capslock"] = 20] = "capslock";
|
|
355
|
-
KeyCode[KeyCode["escape"] = 27] = "escape";
|
|
356
|
-
KeyCode[KeyCode["space"] = 32] = "space";
|
|
357
|
-
KeyCode[KeyCode["pageup"] = 33] = "pageup";
|
|
358
|
-
KeyCode[KeyCode["pagedown"] = 34] = "pagedown";
|
|
359
|
-
KeyCode[KeyCode["end"] = 35] = "end";
|
|
360
|
-
KeyCode[KeyCode["home"] = 36] = "home";
|
|
361
|
-
KeyCode[KeyCode["left"] = 37] = "left";
|
|
362
|
-
KeyCode[KeyCode["up"] = 38] = "up";
|
|
363
|
-
KeyCode[KeyCode["right"] = 39] = "right";
|
|
364
|
-
KeyCode[KeyCode["down"] = 40] = "down";
|
|
365
|
-
KeyCode[KeyCode["insert"] = 45] = "insert";
|
|
366
|
-
KeyCode[KeyCode["delete"] = 46] = "delete";
|
|
367
|
-
KeyCode[KeyCode["f1"] = 112] = "f1";
|
|
368
|
-
KeyCode[KeyCode["f2"] = 113] = "f2";
|
|
369
|
-
KeyCode[KeyCode["f3"] = 114] = "f3";
|
|
370
|
-
KeyCode[KeyCode["f4"] = 115] = "f4";
|
|
371
|
-
KeyCode[KeyCode["f5"] = 116] = "f5";
|
|
372
|
-
KeyCode[KeyCode["f6"] = 117] = "f6";
|
|
373
|
-
KeyCode[KeyCode["f7"] = 118] = "f7";
|
|
374
|
-
KeyCode[KeyCode["f8"] = 119] = "f8";
|
|
375
|
-
KeyCode[KeyCode["f9"] = 120] = "f9";
|
|
376
|
-
KeyCode[KeyCode["f10"] = 121] = "f10";
|
|
377
|
-
KeyCode[KeyCode["f11"] = 122] = "f11";
|
|
378
|
-
KeyCode[KeyCode["f12"] = 123] = "f12";
|
|
379
|
-
KeyCode[KeyCode["numlock"] = 144] = "numlock";
|
|
380
|
-
KeyCode[KeyCode["scrolllock"] = 145] = "scrolllock";
|
|
381
|
-
KeyCode[KeyCode["semicolon"] = 186] = "semicolon";
|
|
382
|
-
KeyCode[KeyCode["equal"] = 187] = "equal";
|
|
383
|
-
KeyCode[KeyCode["comma"] = 188] = "comma";
|
|
384
|
-
KeyCode[KeyCode["dash"] = 189] = "dash";
|
|
385
|
-
KeyCode[KeyCode["period"] = 190] = "period";
|
|
386
|
-
KeyCode[KeyCode["slash"] = 191] = "slash";
|
|
387
|
-
KeyCode[KeyCode["backslash"] = 220] = "backslash";
|
|
388
|
-
KeyCode[KeyCode["bracketleft"] = 219] = "bracketleft";
|
|
389
|
-
KeyCode[KeyCode["bracketright"] = 221] = "bracketright";
|
|
390
|
-
KeyCode[KeyCode["quote"] = 222] = "quote";
|
|
391
|
-
KeyCode[KeyCode["backtick"] = 192] = "backtick";
|
|
392
|
-
KeyCode[KeyCode["a"] = 65] = "a";
|
|
393
|
-
})(KeyCode = Bcm.KeyCode || (Bcm.KeyCode = {}));
|
|
394
|
-
Bcm.FormErrorMessages = {
|
|
395
|
-
'email': 'Please enter a valid email address',
|
|
396
|
-
'password': 'Please enter a valid password',
|
|
397
|
-
'url': 'Please enter a valid URL',
|
|
398
|
-
'phone': 'Please enter a valid phone number',
|
|
399
|
-
'search': 'Please enter a valid search term',
|
|
400
|
-
'number': 'Please enter a valid number',
|
|
401
|
-
'text': 'Please enter a valid text',
|
|
402
|
-
'required': 'This field is required',
|
|
403
|
-
'minlength': 'This field must be at least {0} characters long',
|
|
404
|
-
'maxlength': 'This field must be at most {0} characters long',
|
|
405
|
-
'min': 'This field must be at least {0}',
|
|
406
|
-
'max': 'This field must be at most {0}',
|
|
407
|
-
'between': 'This field must be between {0} and {1}',
|
|
408
|
-
'pattern': 'This field is invalid',
|
|
409
|
-
'date': 'Please enter a valid date',
|
|
410
|
-
'time': 'Please enter a valid time',
|
|
411
|
-
'datetime': 'Please enter a valid date and time',
|
|
412
|
-
'datetime-local': 'Please enter a valid date and time',
|
|
413
|
-
'month': 'Please enter a valid month',
|
|
414
|
-
'week': 'Please enter a valid week',
|
|
415
|
-
'color': 'Please enter a valid color',
|
|
416
|
-
'file': 'Please enter a valid file',
|
|
417
|
-
'range': 'Please enter a valid range',
|
|
418
|
-
'radio': 'Please select a valid option',
|
|
419
|
-
'checkbox': 'Please select a valid option',
|
|
420
|
-
'select': 'Please select a valid option',
|
|
421
|
-
'multiple': 'Please select a valid option',
|
|
422
|
-
};
|
|
423
|
-
let IndeterminateType;
|
|
424
|
-
(function (IndeterminateType) {
|
|
425
|
-
IndeterminateType["uncheck"] = "uncheck";
|
|
426
|
-
IndeterminateType["indeterminate"] = "indeterminate";
|
|
427
|
-
IndeterminateType["determinate"] = "determinate"; // true
|
|
428
|
-
})(IndeterminateType = Bcm.IndeterminateType || (Bcm.IndeterminateType = {}));
|
|
429
|
-
let Placement;
|
|
430
|
-
(function (Placement) {
|
|
431
|
-
Placement["top"] = "top";
|
|
432
|
-
Placement["top-start"] = "top-start";
|
|
433
|
-
Placement["top-end"] = "top-end";
|
|
434
|
-
Placement["bottom"] = "bottom";
|
|
435
|
-
Placement["bottom-start"] = "bottom-start";
|
|
436
|
-
Placement["bottom-end"] = "bottom-end";
|
|
437
|
-
Placement["left"] = "left";
|
|
438
|
-
Placement["left-start"] = "left-start";
|
|
439
|
-
Placement["left-end"] = "left-end";
|
|
440
|
-
Placement["right"] = "right";
|
|
441
|
-
Placement["right-start"] = "right-start";
|
|
442
|
-
Placement["right-end"] = "right-end";
|
|
443
|
-
})(Placement = Bcm.Placement || (Bcm.Placement = {}));
|
|
444
|
-
let TriggerType;
|
|
445
|
-
(function (TriggerType) {
|
|
446
|
-
TriggerType["hover"] = "hover";
|
|
447
|
-
TriggerType["click"] = "click";
|
|
448
|
-
TriggerType["focus"] = "focus";
|
|
449
|
-
})(TriggerType = Bcm.TriggerType || (Bcm.TriggerType = {}));
|
|
450
|
-
})(Bcm || (Bcm = {}));
|
|
451
|
-
const Bcm$1 = Bcm;
|
|
452
|
-
|
|
453
|
-
export { Bcm$1 as B, Bcm as a };
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, f as Host, g as getElement } from './index-dbc63c66.js';
|
|
2
|
-
import { G as Generate } from './generate-0a22e8df.js';
|
|
3
|
-
import { c as classnames } from './index-43956e3c.js';
|
|
4
|
-
import { A as AttrReflect } from './property-decorators-21b15487.js';
|
|
5
|
-
|
|
6
|
-
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
9
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
10
|
-
else
|
|
11
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
12
|
-
if (d = decorators[i])
|
|
13
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
14
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15
|
-
};
|
|
16
|
-
const BcmList2Item = class {
|
|
17
|
-
constructor(hostRef) {
|
|
18
|
-
registerInstance(this, hostRef);
|
|
19
|
-
this._id = Generate.UID();
|
|
20
|
-
this.disabled = false;
|
|
21
|
-
this.readonly = false;
|
|
22
|
-
this.required = false;
|
|
23
|
-
this.hidden = false;
|
|
24
|
-
}
|
|
25
|
-
render() {
|
|
26
|
-
const { _title } = this;
|
|
27
|
-
const hostClasses = classnames('bcm-list-2__item');
|
|
28
|
-
return (h(Host, { class: hostClasses }, _title));
|
|
29
|
-
}
|
|
30
|
-
get el() { return getElement(this); }
|
|
31
|
-
};
|
|
32
|
-
__decorate([
|
|
33
|
-
AttrReflect('title')
|
|
34
|
-
], BcmList2Item.prototype, "_title", void 0);
|
|
35
|
-
|
|
36
|
-
export { BcmList2Item as bcm_list_2_item };
|