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,438 +0,0 @@
1
- const ColorPalette = {
2
- 'black': '#000000',
3
- 'white': '#ffffff',
4
- 'prime-blue': {
5
- 1: '#F4FBFE',
6
- 2: '#D4E9F6',
7
- 3: '#B0D3EC',
8
- 4: '#8ABDE2',
9
- 5: '#65A8D9',
10
- 6: '#4293CF',
11
- 7: '#3679AB',
12
- 8: '#285C82',
13
- 9: '#194E75',
14
- 10: '#0E2739'
15
- },
16
- 'grey': {
17
- 1: '#FFFFFF',
18
- 2: '#FAFAFA',
19
- 3: '#F5F5F5',
20
- 4: '#E8E8E8',
21
- 5: '#D9D9D9',
22
- 6: '#BFBFBF',
23
- 7: '#8C8C8C',
24
- 8: '#595959',
25
- 9: '#262626',
26
- 10: '#000000'
27
- },
28
- 'blue': {
29
- 1: '#E6F7FF',
30
- 2: '#BAE7FF',
31
- 3: '#91D5FF',
32
- 4: '#69C0FF',
33
- 5: '#40A9FF',
34
- 6: '#1890FF',
35
- 7: '#096DD9',
36
- 8: '#0050B3',
37
- 9: '#003A8C',
38
- 10: '#002766'
39
- },
40
- 'warmyellow': {
41
- 1: '#FFFBE6',
42
- 2: '#FFF1B8',
43
- 3: '#FFE58F',
44
- 4: '#FFD666',
45
- 5: '#FFC53D',
46
- 6: '#FAAD14',
47
- 7: '#D48806',
48
- 8: '#AD6800',
49
- 9: '#874D00',
50
- 10: '#613400'
51
- },
52
- 'yellow': {
53
- 1: '#FEFFE6',
54
- 2: '#FFFFB8',
55
- 3: '#FFFB8F',
56
- 4: '#FFF566',
57
- 5: '#FFEC3D',
58
- 6: '#FADB14',
59
- 7: '#D4B106',
60
- 8: '#AD8B00',
61
- 9: '#876800',
62
- 10: '#614700'
63
- },
64
- 'limegreen': {
65
- 1: '#FCFFE6',
66
- 2: '#F4FFB8',
67
- 3: '#EAFF8F',
68
- 4: '#D3F261',
69
- 5: '#BAE637',
70
- 6: '#A0D911',
71
- 7: '#7CB305',
72
- 8: '#5B8C00',
73
- 9: '#3F66',
74
- 10: '#254000'
75
- },
76
- 'red': {
77
- 1: '#FFF1F0',
78
- 2: '#FFCCC7',
79
- 3: '#FFA39E',
80
- 4: '#FF7875',
81
- 5: '#FF4D4F',
82
- 6: '#F5222D',
83
- 7: '#CF1322',
84
- 8: '#A8071A',
85
- 9: '#820014',
86
- 10: '#5C0011'
87
- },
88
- 'darkorange': {
89
- 1: '#FFF2E8',
90
- 2: '#FFD8BF',
91
- 3: '#FFBB96',
92
- 4: '#FF9C6E',
93
- 5: '#FF7A45',
94
- 6: '#FA541C',
95
- 7: '#D4380D',
96
- 8: '#AD2102',
97
- 9: '#871400',
98
- 10: '#610B00'
99
- },
100
- 'orange': {
101
- 1: '#FFF7E6',
102
- 2: '#FFE7BA',
103
- 3: '#FFD591',
104
- 4: '#FFC096',
105
- 5: '#FFA940',
106
- 6: '#FA8C16',
107
- 7: '#D46B08',
108
- 8: '#AD4E00',
109
- 9: '#873800',
110
- 10: '#612500'
111
- },
112
- 'green': {
113
- 1: '#F6FFED',
114
- 2: '#D9F7BE',
115
- 3: '#B7EB8F',
116
- 4: '#95DE64',
117
- 5: '#73D13D',
118
- 6: '#52C41A',
119
- 7: '#389E0D',
120
- 8: '#237804',
121
- 9: '#135200',
122
- 10: '#092B00'
123
- },
124
- 'turquosie': {
125
- 1: '#E6FFFB',
126
- 2: '#B5F5EC',
127
- 3: '#87E8DE',
128
- 4: '#5CDBD3',
129
- 5: '#36CFC9',
130
- 6: '#13C2C2',
131
- 7: '#08979C',
132
- 8: '#006D75',
133
- 9: '#00474F',
134
- 10: '#002329'
135
- },
136
- 'cobaltblue': {
137
- 1: '#F0F5FF',
138
- 2: '#D6E4FF',
139
- 3: '#ADC6FF',
140
- 4: '#85A5FF',
141
- 5: '#597EF7',
142
- 6: '#2F54EB',
143
- 7: '#1D39C4',
144
- 8: '#10239E',
145
- 9: '#061178',
146
- 10: '#030852'
147
- },
148
- 'magenta': {
149
- 1: '#FFF0F6',
150
- 2: '#FFD6E7',
151
- 3: '#FFADD2',
152
- 4: '#FF85C0',
153
- 5: '#F759AB',
154
- 6: '#EB2F96',
155
- 7: '#C41D7F',
156
- 8: '#9E1068',
157
- 9: '#780650',
158
- 10: '#520339'
159
- },
160
- 'purple': {
161
- 1: '#F9F0FF',
162
- 2: '#EFDBFF',
163
- 3: '#D3ADF7',
164
- 4: '#B37FEB',
165
- 5: '#9254DE',
166
- 6: '#722ED1',
167
- 7: '#531DAB',
168
- 8: '#391085',
169
- 9: '#22075E',
170
- 10: '#120338'
171
- },
172
- 'bc-red': {
173
- 1: '#FCF5F5',
174
- 2: '#F3C4BF',
175
- 3: '#EB998F',
176
- 4: '#E46E60',
177
- 5: '#CC4C41',
178
- 6: '#AA3527',
179
- 7: '#8D2D20',
180
- 8: '#6F241A',
181
- 9: '#4A1912'
182
- },
183
- 'bc-orange': {
184
- 1: '#FEF9F4',
185
- 2: '#F9DDC0',
186
- 3: '#F7C494',
187
- 4: '#F4AD69',
188
- 5: '#F1963F',
189
- 6: '#D38236',
190
- 7: '#B26C2C',
191
- 8: '#905622',
192
- 9: '#6B3E17'
193
- },
194
- 'bc-green': {
195
- 1: '#F8FCF6',
196
- 2: '#DBE8CA',
197
- 3: '#C0D6A2',
198
- 4: '#A6C57B',
199
- 5: '#8BB453',
200
- 6: '#7C9F4B',
201
- 7: '#6A8740',
202
- 8: '#586E36',
203
- 9: '#45532B'
204
- },
205
- 'bc-blue': {
206
- 1: '#F4FBFE',
207
- 2: '#C5DEF0',
208
- 3: '#99C4E5',
209
- 4: '#6DACDA',
210
- 5: '#4293CF',
211
- 6: '#3A7FB3',
212
- 7: '#316892',
213
- 8: '#275071',
214
- 9: '#1D374F'
215
- }
216
- };
217
-
218
- const delay = ms => new Promise(res => setTimeout(res, ms));
219
- /**
220
- * @desc
221
- * @param nodeMap
222
- */
223
- const getElementAttributes = (nodeMap) => {
224
- if (nodeMap) {
225
- const length = nodeMap.length;
226
- console.log('namedNodeMap: ', nodeMap);
227
- return Object.keys(nodeMap).reduce((props, current) => {
228
- try {
229
- const numCurrent = parseInt(current);
230
- if (numCurrent < length) {
231
- const property = nodeMap[current];
232
- return Object.assign(Object.assign({}, props), { [property.name]: property.value });
233
- }
234
- }
235
- catch (err) { }
236
- }, {});
237
- }
238
- return {};
239
- };
240
- /**
241
- * @desc
242
- * @param colors
243
- * @param colorName
244
- */
245
- const extractColor = (colors, colorName) => {
246
- const splitted = colorName.split('-');
247
- const grade = splitted[splitted.length - 1];
248
- const swatch = splitted.slice(0, splitted.length - 1).join('-');
249
- return colors[swatch] && colors[swatch][grade] ? colors[swatch][grade] : colors['prime-blue']['6'];
250
- };
251
- /**
252
- * @desc
253
- */
254
- const generateCssVariables = () => {
255
- let rootColors = '';
256
- Object.keys(ColorPalette).forEach((color) => {
257
- Object.keys(ColorPalette[color]).forEach((key) => {
258
- let variable = `--bcm-color-${color}-${key}: #\{$${color}-${key}\};\n`;
259
- rootColors += variable;
260
- });
261
- });
262
- return rootColors;
263
- };
264
- /**
265
- * @desc
266
- * @param component
267
- * @param component2
268
- */
269
- const isTargetComponent = (component, component2) => {
270
- return component.tagName && String(component.tagName).toLowerCase() === component2;
271
- };
272
- /**
273
- *
274
- * @param type
275
- */
276
- const getChilds = (el, component) => {
277
- let elements = [];
278
- let allElements = [];
279
- // Get @component's from
280
- // slot childs
281
- const slot = Array.from(el.shadowRoot.querySelectorAll('slot')).find(slot => !slot.name);
282
- elements = (slot && slot.assignedElements()) || [];
283
- elements.map(element => {
284
- String(element.tagName).toLowerCase() == component
285
- && allElements.push(element);
286
- });
287
- // Get @component's from
288
- // childs
289
- elements = el.shadowRoot.querySelectorAll(component);
290
- allElements = [
291
- ...allElements,
292
- ...elements
293
- ];
294
- return allElements;
295
- };
296
- const getChildElements = (el, component) => {
297
- return [...el.querySelectorAll(component)];
298
- };
299
- /**
300
- * @desc
301
- */
302
- function createError(
303
- // @ts-ignore
304
- template,
305
- // @ts-ignore
306
- arg1,
307
- // @ts-ignore
308
- arg2,
309
- // @ts-ignore
310
- arg3,
311
- // @ts-ignore
312
- arg4,
313
- // @ts-ignore
314
- arg5,
315
- // @ts-ignore
316
- arg6,
317
- // @ts-ignore
318
- arg7,
319
- // @ts-ignore
320
- arg8,
321
- // @ts-ignore
322
- arg9) {
323
- let str = arguments[0];
324
- let curr, pb = false, ts = '', tstr = str, ca = 1;
325
- for (let i = 0; i < str.length; i++) {
326
- curr = str[i];
327
- if (pb)
328
- if (curr == '}') {
329
- tstr = tstr.replace('{' + ts + '}', arguments[ca]);
330
- pb = false;
331
- ts = '';
332
- ca++;
333
- }
334
- else
335
- ts += curr;
336
- if (curr == '{')
337
- pb = true;
338
- }
339
- return tstr;
340
- }
341
- /**
342
- * @desc
343
- * @param element
344
- */
345
- const getRect = (element) => {
346
- return element.getBoundingClientRect();
347
- };
348
- /**
349
- * @desc
350
- * @param
351
- */
352
- const dropInComponent = (followingComponent, targetComponent) => {
353
- const el = followingComponent;
354
- const linkedComponent = targetComponent;
355
- const bodyWidth = document.documentElement.clientWidth;
356
- const bodyHeight = document.documentElement.clientHeight;
357
- // window.onload = () => {
358
- // document.querySelector(targetComponent).onload = () => {
359
- var linkedId = document.querySelector(linkedComponent);
360
- if (linkedId) {
361
- var captionAreaHeight = 0;
362
- if (linkedId.shadowRoot && linkedId.shadowRoot.querySelector(".caption-area") && linkedId.shadowRoot.querySelector(".caption-area").clientHeight) {
363
- captionAreaHeight = linkedId.shadowRoot.querySelector(".caption-area").clientHeight + 8;
364
- }
365
- var labelAreaHeight = 0;
366
- if (linkedId.shadowRoot && linkedId.shadowRoot.querySelector(".label") && linkedId.shadowRoot.querySelector(".label").clientHeight) {
367
- labelAreaHeight = linkedId.shadowRoot.querySelector(".label").clientHeight + 2;
368
- }
369
- var captionHeight = linkedId["noCaption"] ? 0 : captionAreaHeight - 8;
370
- var linkedPosition = getRect(linkedId);
371
- el.style.position = "fixed";
372
- el.style.top = linkedPosition.top + linkedPosition.height - captionHeight + "px";
373
- el.style.left = linkedPosition.left + "px";
374
- if (bodyHeight < (el.clientHeight + linkedPosition.top + linkedPosition.height - captionHeight)) {
375
- el.style.top = linkedPosition.top - el.clientHeight + labelAreaHeight + "px";
376
- }
377
- if (bodyWidth < el.clientWidth + linkedPosition.left) {
378
- el.style.left = linkedPosition.left - el.clientWidth + linkedPosition.width - 2 + "px";
379
- }
380
- }
381
- // }
382
- // };
383
- };
384
- /**
385
- * @desc
386
- * @param element
387
- */
388
- const getTransform = (element) => {
389
- let transform = getComputedStyle(element).getPropertyValue('transform');
390
- let values;
391
- values = transform.replace(/(matrix|\(|\)|px)/g, '');
392
- values = values.split(', ');
393
- return { x: parseInt(values[4]), y: parseInt(values[5]) };
394
- };
395
- /**
396
- * @desc
397
- * @param mouseEvent
398
- * @param element
399
- */
400
- const getDragPoint = (event, element) => {
401
- // const rectElement: DOMRect = getRect(element)
402
- const transformElement = getTransform(element);
403
- console.log(event.pageY, transformElement.y, event.pageY - transformElement.y);
404
- return {
405
- x: event.pageX - element.offsetLeft,
406
- y: event.pageY - transformElement.y
407
- };
408
- /* return {
409
- x: Math.floor(event.clientX) - (rectElement.x + (rectElement.width / 2)),
410
- y: Math.floor(event.clientY) - (rectElement.y + (rectElement.height / 2))
411
- } */
412
- };
413
- const pluralize = (function () {
414
- // var vowels = "aeiou";
415
- var irregulars = { "addendum": "addenda", "aircraft": "aircraft", "alumna": "alumnae", "alumnus": "alumni", "analysis": "analyses", "antenna": "antennae", "antithesis": "antitheses", "apex": "apices", "appendix": "appendices", "axis": "axes", "bacillus": "bacilli", "bacterium": "bacteria", "basis": "bases", "beau": "beaux", "bison": "bison", "bureau": "bureaux", "cactus": "cacti", "château": "châteaux", "child": "children", "codex": "codices", "concerto": "concerti", "corpus": "corpora", "crisis": "crises", "criterion": "criteria", "curriculum": "curricula", "datum": "data", "deer": "deer", "diagnosis": "diagnoses", "die": "dice", "dwarf": "dwarves", "ellipsis": "ellipses", "erratum": "errata", "faux pas": "faux pas", "fez": "fezzes", "fish": "fish", "focus": "foci", "foot": "feet", "formula": "formulae", "fungus": "fungi", "genus": "genera", "goose": "geese", "graffito": "graffiti", "grouse": "grouse", "half": "halves", "hoof": "hooves", "hypothesis": "hypotheses", "index": "indices", "larva": "larvae", "libretto": "libretti", "loaf": "loaves", "locus": "loci", "louse": "lice", "man": "men", "matrix": "matrices", "medium": "media", "memorandum": "memoranda", "minutia": "minutiae", "moose": "moose", "mouse": "mice", "nebula": "nebulae", "nucleus": "nuclei", "oasis": "oases", "offspring": "offspring", "opus": "opera", "ovum": "ova", "ox": "oxen", "parenthesis": "parentheses", "phenomenon": "phenomena", "phylum": "phyla", "quiz": "quizzes", "radius": "radii", "referendum": "referenda", "salmon": "salmon", "scarf": "scarves", "self": "selves", "series": "series", "sheep": "sheep", "shrimp": "shrimp", "species": "species", "stimulus": "stimuli", "stratum": "strata", "swine": "swine", "syllabus": "syllabi", "symposium": "symposia", "synopsis": "synopses", "tableau": "tableaux", "thesis": "theses", "thief": "thieves", "tooth": "teeth", "trout": "trout", "tuna": "tuna", "vertebra": "vertebrae", "vertex": "vertices", "vita": "vitae", "vortex": "vortices", "wharf": "wharves", "wife": "wives", "wolf": "wolves", "woman": "women", "guy": "guys", "buy": "buys", "person": "people" };
416
- function text(word, length = 1) {
417
- if (length > 1) {
418
- if (irregulars[word]) {
419
- return irregulars[word];
420
- }
421
- else if (word[word.length - 1] === "s" || word.endsWith("sh") || word.endsWith("ch") || word[word.length - 1] === "x" || word[word.length - 1] === "z") {
422
- return word + "es";
423
- }
424
- else if (word[word.length - 1] === "y") {
425
- return word.substring(0, word.length - 1) + "ies";
426
- }
427
- else {
428
- return word + "s";
429
- }
430
- }
431
- else {
432
- return word;
433
- }
434
- }
435
- return text;
436
- })();
437
-
438
- export { ColorPalette as C, getTransform as a, getChilds as b, delay as c, dropInComponent as d, createError as e, extractColor as f, getChildElements as g, isTargetComponent as i, pluralize as p };
@@ -1,7 +0,0 @@
1
- import BcmAtomsState from "../../../models/states/Atoms/bcm-Atoms-state";
2
- declare const _default: {
3
- removeValue: (_id: any) => void;
4
- getValue: (id: any) => BcmAtomsState.Badge;
5
- setValue: (val: any) => void;
6
- };
7
- export default _default;
@@ -1,7 +0,0 @@
1
- import { BcmAtomsState } from "../../../models/states/atoms/bcm-atoms-state";
2
- declare const _default: {
3
- setValue: (val: any) => void;
4
- removeValue: (_id: any) => void;
5
- getValue: (id: any) => BcmAtomsState.Button;
6
- };
7
- export default _default;
@@ -1,10 +0,0 @@
1
- export interface ItemType {
2
- index?: number;
3
- id?: string;
4
- label?: string;
5
- href?: string;
6
- icon?: string;
7
- target: string;
8
- child?: boolean;
9
- dropdown?: Array<ItemType>;
10
- }
@@ -1,13 +0,0 @@
1
- export declare enum defaultIcons {
2
- search = "search",
3
- email = "mail",
4
- tel = "phone",
5
- url = "link"
6
- }
7
- export declare enum iconSizes {
8
- small = 14,
9
- medium = 16,
10
- large = 18
11
- }
12
- export declare type DefaultIcon = keyof typeof defaultIcons;
13
- export declare type iconSize = keyof typeof iconSizes;
@@ -1,24 +0,0 @@
1
- export declare const lineSizes: {
2
- small: {
3
- textSize: string;
4
- iconSize: number;
5
- };
6
- medium: {
7
- textSize: string;
8
- iconSize: number;
9
- };
10
- };
11
- export declare const circleSizes: {
12
- small: {
13
- textSize: string;
14
- iconSize: number;
15
- circleSize: number;
16
- radius: number;
17
- };
18
- medium: {
19
- textSize: string;
20
- iconSize: number;
21
- circleSize: number;
22
- radius: number;
23
- };
24
- };
@@ -1,36 +0,0 @@
1
- import { ComponentInterface, EventEmitter } from '../../../stencil-public-runtime';
2
- import { DirectionTypes } from '../../../models/bcm-types';
3
- export declare class BcmRange implements ComponentInterface {
4
- el: HTMLElement;
5
- _id: string;
6
- min: number;
7
- max: number;
8
- step: number;
9
- value: any;
10
- height: string;
11
- name: string;
12
- direction: DirectionTypes;
13
- _prefix: string;
14
- _suffix: string;
15
- multiple: boolean;
16
- leftValue: number;
17
- rightValue: number;
18
- leftMin: number;
19
- change: EventEmitter;
20
- connectedCallback(): void;
21
- componentDidLoad(): void;
22
- setValue(value: any): Promise<any>;
23
- setClear(): Promise<void>;
24
- resetCaption(): Promise<boolean>;
25
- getValue(): Promise<any>;
26
- syncValues(type: any, event: any): void;
27
- handleChange(): void;
28
- setThumbPosition(type: string): void;
29
- hiddenLeftThumb(): void;
30
- getTooltip(type: any): any;
31
- getThumb(type: string): any;
32
- getInput(type: string): any;
33
- touchToMove(value: any): void;
34
- hoverTick(id: any, status: any): void;
35
- render(): any;
36
- }
@@ -1,26 +0,0 @@
1
- import { ComponentInterface, EventEmitter } from '../../../stencil-public-runtime';
2
- export declare class BcmSearch2 implements ComponentInterface {
3
- el: HTMLElement;
4
- inputElement: HTMLInputElement;
5
- _id: string;
6
- placeholder: string;
7
- disabled: boolean;
8
- readonly: boolean;
9
- clearable: boolean;
10
- limit: number;
11
- data: any;
12
- tick: {};
13
- bcmOnSearch: EventEmitter;
14
- debounceHandler: () => void;
15
- componentDidLoad(): Promise<void>;
16
- dataChanged(newValue: any, oldValue: any): Promise<void>;
17
- private initState;
18
- private markForCheck;
19
- handleInput(): void;
20
- handleFocus(): void;
21
- handleBlur(): void;
22
- handleChange(): void;
23
- handleClear(): void;
24
- onSearchValue(event: any, instance: any): void;
25
- render(): any;
26
- }
@@ -1,7 +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.Alert;
6
- };
7
- export default _default;
@@ -1,53 +0,0 @@
1
- declare const _default: {
2
- setValue: ({ fullWidth, optionType, buttonStyle, size, disabled, defaultCheckedItems, el, id, label, required, captionType, hidden, direction, childs, indeterminate, gap, noCaption, }: {
3
- fullWidth: any;
4
- optionType: any;
5
- buttonStyle: any;
6
- size: any;
7
- disabled: any;
8
- defaultCheckedItems: any;
9
- el: any;
10
- id: any;
11
- label: any;
12
- required: any;
13
- captionType: any;
14
- hidden: any;
15
- direction: any;
16
- childs: any;
17
- indeterminate: any;
18
- gap: any;
19
- noCaption: any;
20
- }) => Promise<void>;
21
- getValue: (id: any, name: any) => any;
22
- setCheckedItems: (id: any, items: any, checked: any) => void;
23
- getCheckedList: (id: any) => any;
24
- getProperty: (id: any) => any;
25
- setClear: (id: any) => void;
26
- resetCaption: (id: any) => void;
27
- state: {
28
- group: Map<string, {
29
- fullWidth: any;
30
- optionType: any;
31
- buttonStyle: any;
32
- size: any;
33
- disabled: any;
34
- defaultCheckedItems: any;
35
- label: any;
36
- required: any;
37
- captionType: any;
38
- hidden: any;
39
- direction: any;
40
- childs: any;
41
- indeterminate: any;
42
- indeterminateState: any;
43
- gap: any;
44
- noCaption: any;
45
- }>;
46
- allChecked: boolean;
47
- allUnchecked: boolean;
48
- changeInderminate: Object;
49
- onChange: Object;
50
- };
51
- changeIndeterminate: (id: any) => void;
52
- };
53
- export default _default;
@@ -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.Message;
5
- setValue: (val: any) => void;
6
- };
7
- export default _default;
@@ -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.Notification;
5
- setValue: (val: any) => void;
6
- };
7
- export default _default;
@@ -1,47 +0,0 @@
1
- declare const _default: {
2
- setValue: ({ fullWidth, optionType, buttonStyle, size, disabled, defaultCheckedItems, el, id, label, required, captionType, hidden, direction, childs, gap, name, noCaption, }: {
3
- fullWidth: any;
4
- optionType: any;
5
- buttonStyle: any;
6
- size: any;
7
- disabled: any;
8
- defaultCheckedItems: any;
9
- el: any;
10
- id: any;
11
- label: any;
12
- required: any;
13
- captionType: any;
14
- hidden: any;
15
- direction: any;
16
- childs: any;
17
- gap: any;
18
- name: any;
19
- noCaption: any;
20
- }) => Promise<void>;
21
- getValue: (id: any) => any;
22
- setCheckedItem: (id: any, item: any, checked: any) => void;
23
- getProperty: (id: any) => any;
24
- setClear: (id: any) => void;
25
- resetCaption: (id: any) => void;
26
- state: {
27
- group: Map<string, {
28
- fullWidth: any;
29
- optionType: any;
30
- buttonStyle: any;
31
- size: any;
32
- disabled: any;
33
- defaultCheckedItems: any;
34
- label: any;
35
- required: any;
36
- captionType: any;
37
- hidden: any;
38
- direction: any;
39
- childs: any;
40
- gap: any;
41
- noCaption: any;
42
- name: any;
43
- }>;
44
- onChange: Object;
45
- };
46
- };
47
- export default _default;