@sankhyalabs/core-docs 2.6.1 → 2.7.0

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.
@@ -13,6 +13,7 @@ Classe com utiliários comuns para funções genéricas em JavaScript.
13
13
  ### Methods
14
14
 
15
15
  - [debounce](JSUtils.md#debounce)
16
+ - [isEllipsisActive](JSUtils.md#isellipsisactive)
16
17
 
17
18
  ## Constructors
18
19
 
@@ -44,3 +45,27 @@ Método responsável em criar um timer para processar uma determinada função.
44
45
  #### Defined in
45
46
 
46
47
  src/utils/JSUtils.ts:14
48
+
49
+ ___
50
+
51
+ ### isEllipsisActive
52
+
53
+ ▸ `Static` **isEllipsisActive**(`element`): `boolean`
54
+
55
+ Método responsável em validar se um elemento HTML está com o ellipsis ativo.
56
+
57
+ #### Parameters
58
+
59
+ | Name | Type | Description |
60
+ | :------ | :------ | :------ |
61
+ | `element` | `any` | Elemento HTML que será verificado. |
62
+
63
+ #### Returns
64
+
65
+ `boolean`
66
+
67
+ - Retorna um valor booleando informando se o elemento está com o ellipsis ativo.
68
+
69
+ #### Defined in
70
+
71
+ src/utils/JSUtils.ts:29
@@ -14,6 +14,7 @@
14
14
 
15
15
  - [copy](ObjectUtils.md#copy)
16
16
  - [objectToString](ObjectUtils.md#objecttostring)
17
+ - [sortByProperty](ObjectUtils.md#sortbyproperty)
17
18
  - [stringToObject](ObjectUtils.md#stringtoobject)
18
19
 
19
20
  ## Constructors
@@ -76,6 +77,31 @@ src/utils/ObjectUtils.ts:26
76
77
 
77
78
  ___
78
79
 
80
+ ### sortByProperty
81
+
82
+ ▸ `Static` **sortByProperty**(`data`, `property`): `any`
83
+
84
+ Faz a ordenação de um objeto por uma propriedade.
85
+
86
+ #### Parameters
87
+
88
+ | Name | Type | Description |
89
+ | :------ | :------ | :------ |
90
+ | `data` | `any` | Objeto a ser ordenado. |
91
+ | `property` | `string` | Nome da propriedade a ser ordenada. |
92
+
93
+ #### Returns
94
+
95
+ `any`
96
+
97
+ - O objeto ordenado pela propriedade.
98
+
99
+ #### Defined in
100
+
101
+ src/utils/ObjectUtils.ts:50
102
+
103
+ ___
104
+
79
105
  ### stringToObject
80
106
 
81
107
  ▸ `Static` **stringToObject**(`data`): `Object` \| `Object`[]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sankhyalabs/core-docs",
3
- "version": "2.6.1",
3
+ "version": "2.7.0",
4
4
  "description": "Documentação da biblioteca de componentes Sankhya.",
5
5
  "main": "",
6
6
  "files": [