@sankhyalabs/sankhyablocks-docs 9.2.0-ms.1 → 9.2.0-ms.11
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/components/snk-application/readme.md +92 -28
- package/components/snk-configurator/readme.md +1 -1
- package/components/snk-crud/readme.md +9 -9
- package/components/snk-crud/subcomponents/readme.md +4 -4
- package/components/snk-crud/subcomponents/snk-detail-view/readme.md +4 -4
- package/components/snk-data-exporter/exporter-email-sender/readme.md +1 -1
- package/components/snk-data-unit/readme.md +10 -2
- package/components/snk-filter-bar/filter-item/readme.md +1 -1
- package/components/snk-filter-bar/readme.md +32 -24
- package/components/snk-filter-field-search/readme.md +1 -1
- package/components/snk-form/readme.md +20 -10
- package/components/snk-grid/readme.md +70 -51
- package/components/snk-personalized-filter/readme.md +11 -11
- package/components/snk-personalized-filter/subcomponents/snk-filter-param-config/readme.md +1 -1
- package/components/snk-simple-bar/readme.md +6 -6
- package/components/snk-simple-crud/readme.md +60 -58
- package/components/snk-taskbar/elements/taskbar-actions-button/readme.md +2 -2
- package/components/snk-taskbar/readme.md +22 -22
- package/package.json +1 -1
@@ -9,17 +9,17 @@
|
|
9
9
|
|
10
10
|
| Property | Attribute | Description | Type | Default |
|
11
11
|
| ----------------- | --------- | -------------------------------------------------------------------------------------- | ------------------- | ----------- |
|
12
|
-
| `breadcrumbItens` | -- | Define os itens que serão apresentados
|
13
|
-
| `label` | `label` | Define o título do header
|
12
|
+
| `breadcrumbItens` | -- | Define os itens que serão apresentados no breadcrumb. | `IBreadcrumbItem[]` | `undefined` |
|
13
|
+
| `label` | `label` | Define o título do header. | `string` | `undefined` |
|
14
14
|
| `messagesBuilder` | -- | Responsável por flexibilizar e padronizar o uso de mensagens nos blocos de construção. | `SnkMessageBuilder` | `undefined` |
|
15
15
|
|
16
16
|
|
17
17
|
## Events
|
18
18
|
|
19
|
-
| Event | Description
|
20
|
-
| --------------------- |
|
21
|
-
| `clickBreadcrumbItem` | Emitido quando algum item do breadcrumb é clicado | `CustomEvent<IBreadcrumbItem>` |
|
22
|
-
| `exit` | Emitido quando o botão voltar é acionado
|
19
|
+
| Event | Description | Type |
|
20
|
+
| --------------------- | -------------------------------------------------- | ------------------------------ |
|
21
|
+
| `clickBreadcrumbItem` | Emitido quando algum item do breadcrumb é clicado. | `CustomEvent<IBreadcrumbItem>` |
|
22
|
+
| `exit` | Emitido quando o botão "voltar" é acionado. | `CustomEvent<void>` |
|
23
23
|
|
24
24
|
|
25
25
|
## Dependencies
|
@@ -7,93 +7,93 @@
|
|
7
7
|
|
8
8
|
## Properties
|
9
9
|
|
10
|
-
| Property | Attribute | Description
|
11
|
-
| ------------------------------- | ----------------------------------- |
|
12
|
-
| `actionsList` | -- |
|
13
|
-
| `autoFocus` | `auto-focus` |
|
14
|
-
| `autoLoad` | `auto-load` |
|
15
|
-
| `configName` | `config-name` |
|
16
|
-
| `dataState` | -- |
|
17
|
-
| `dataUnit` | -- |
|
18
|
-
| `domainMessagesBuilder` | `domain-messages-builder` |
|
19
|
-
| `enableContinuousInsert` | `enable-continuous-insert` |
|
20
|
-
| `enableGridInsert` | `enable-grid-insert` |
|
21
|
-
| `enableLockManagerLoadingComp` | `enable-lock-manager-loading-comp` |
|
22
|
-
| `enableLockManagerTaskbarClick` | `enable-lock-manager-taskbar-click` |
|
23
|
-
| `entityName` | `entity-name` |
|
24
|
-
| `formConfig` | -- |
|
25
|
-
| `formLegacyConfigName` | `form-legacy-config-name` |
|
26
|
-
| `gridConfig` | -- |
|
27
|
-
| `gridLegacyConfigName` | `grid-legacy-config-name` |
|
28
|
-
| `ignoreReadOnlyFormFields` | `ignore-read-only-form-fields` |
|
29
|
-
| `layoutFormConfig` | `layout-form-config` |
|
30
|
-
| `messagesBuilder` | -- |
|
31
|
-
| `mode` | `mode` |
|
32
|
-
| `multipleEditionEnabled` | `multiple-edition-enabled` |
|
33
|
-
| `multipleSelection` | `multiple-selection` |
|
34
|
-
| `outlineMode` | `outline-mode` |
|
35
|
-
| `pageSize` | `page-size` |
|
36
|
-
| `paginationCounterMode` | `pagination-counter-mode` |
|
37
|
-
| `resourceID` | `resource-i-d` |
|
38
|
-
| `showConfiguratorButtons` | `show-configurator-buttons` |
|
39
|
-
| `taskbarManager` | -- |
|
40
|
-
| `useCancelConfirm` | `use-cancel-confirm` |
|
41
|
-
| `useEnterLikeTab` | `use-enter-like-tab` |
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
11
|
+
| ------------------------------- | ----------------------------------- | ----------- | ------------------------------------------------------- | ------------------------- |
|
12
|
+
| `actionsList` | -- | | `Action[]` | `undefined` |
|
13
|
+
| `autoFocus` | `auto-focus` | | `boolean` | `true` |
|
14
|
+
| `autoLoad` | `auto-load` | | `boolean` | `undefined` |
|
15
|
+
| `configName` | `config-name` | | `string` | `undefined` |
|
16
|
+
| `dataState` | -- | | `DataState` | `undefined` |
|
17
|
+
| `dataUnit` | -- | | `DataUnit` | `undefined` |
|
18
|
+
| `domainMessagesBuilder` | `domain-messages-builder` | | `string` | `undefined` |
|
19
|
+
| `enableContinuousInsert` | `enable-continuous-insert` | | `boolean` | `false` |
|
20
|
+
| `enableGridInsert` | `enable-grid-insert` | | `boolean` | `false` |
|
21
|
+
| `enableLockManagerLoadingComp` | `enable-lock-manager-loading-comp` | | `boolean` | `false` |
|
22
|
+
| `enableLockManagerTaskbarClick` | `enable-lock-manager-taskbar-click` | | `boolean` | `false` |
|
23
|
+
| `entityName` | `entity-name` | | `string` | `undefined` |
|
24
|
+
| `formConfig` | -- | | `IFormConfig` | `undefined` |
|
25
|
+
| `formLegacyConfigName` | `form-legacy-config-name` | | `string` | `undefined` |
|
26
|
+
| `gridConfig` | -- | | `IGridConfig` | `undefined` |
|
27
|
+
| `gridLegacyConfigName` | `grid-legacy-config-name` | | `string` | `undefined` |
|
28
|
+
| `ignoreReadOnlyFormFields` | `ignore-read-only-form-fields` | | `boolean` | `false` |
|
29
|
+
| `layoutFormConfig` | `layout-form-config` | | `boolean` | `false` |
|
30
|
+
| `messagesBuilder` | -- | | `SnkMessageBuilder` | `undefined` |
|
31
|
+
| `mode` | `mode` | | `SIMPLE_CRUD_MODE.IN_MEMORY \| SIMPLE_CRUD_MODE.SERVER` | `SIMPLE_CRUD_MODE.SERVER` |
|
32
|
+
| `multipleEditionEnabled` | `multiple-edition-enabled` | | `boolean` | `true` |
|
33
|
+
| `multipleSelection` | `multiple-selection` | | `boolean` | `undefined` |
|
34
|
+
| `outlineMode` | `outline-mode` | | `boolean` | `false` |
|
35
|
+
| `pageSize` | `page-size` | | `number` | `150` |
|
36
|
+
| `paginationCounterMode` | `pagination-counter-mode` | | `"auto" \| "hidden" \| "show"` | `'auto'` |
|
37
|
+
| `resourceID` | `resource-i-d` | | `string` | `undefined` |
|
38
|
+
| `showConfiguratorButtons` | `show-configurator-buttons` | | `boolean` | `false` |
|
39
|
+
| `taskbarManager` | -- | | `TaskbarManager` | `undefined` |
|
40
|
+
| `useCancelConfirm` | `use-cancel-confirm` | | `boolean` | `true` |
|
41
|
+
| `useEnterLikeTab` | `use-enter-like-tab` | | `boolean` | `false` |
|
42
42
|
|
43
43
|
|
44
44
|
## Events
|
45
45
|
|
46
|
-
| Event | Description
|
47
|
-
| -------------------- |
|
48
|
-
| `actionClick` |
|
49
|
-
| `configuratorCancel` |
|
50
|
-
| `configuratorSave` |
|
51
|
-
| `dataStateChange` |
|
52
|
-
| `dataUnitReady` |
|
53
|
-
| `formItemsReady` |
|
46
|
+
| Event | Description | Type |
|
47
|
+
| -------------------- | ----------- | ---------------------------- |
|
48
|
+
| `actionClick` | | `CustomEvent<string>` |
|
49
|
+
| `configuratorCancel` | | `CustomEvent<any>` |
|
50
|
+
| `configuratorSave` | | `CustomEvent<any>` |
|
51
|
+
| `dataStateChange` | | `CustomEvent<DataState>` |
|
52
|
+
| `dataUnitReady` | | `CustomEvent<DataUnit>` |
|
53
|
+
| `formItemsReady` | | `CustomEvent<HTMLElement[]>` |
|
54
54
|
|
55
55
|
|
56
56
|
## Methods
|
57
57
|
|
58
58
|
### `addCustomEditor(fieldName: string, customEditor: ICustomEditor) => Promise<void>`
|
59
59
|
|
60
|
-
|
60
|
+
|
61
61
|
|
62
62
|
#### Returns
|
63
63
|
|
64
64
|
Type: `Promise<void>`
|
65
65
|
|
66
|
-
|
66
|
+
---
|
67
67
|
|
68
68
|
### `addCustomValueFormatter(columnName: string, customFormatter: ICustomFormatter) => Promise<void>`
|
69
69
|
|
70
|
-
|
70
|
+
|
71
71
|
|
72
72
|
#### Returns
|
73
73
|
|
74
74
|
Type: `Promise<void>`
|
75
75
|
|
76
|
-
|
76
|
+
---
|
77
77
|
|
78
78
|
### `addGridCustomRender(fieldName: string, customRender: ICustomRender) => Promise<void>`
|
79
79
|
|
80
|
-
|
80
|
+
|
81
81
|
|
82
82
|
#### Returns
|
83
83
|
|
84
84
|
Type: `Promise<void>`
|
85
85
|
|
86
|
-
|
86
|
+
---
|
87
87
|
|
88
88
|
### `closeConfigurator() => Promise<void>`
|
89
89
|
|
90
|
-
|
90
|
+
|
91
91
|
|
92
92
|
#### Returns
|
93
93
|
|
94
94
|
Type: `Promise<void>`
|
95
95
|
|
96
|
-
|
96
|
+
---
|
97
97
|
|
98
98
|
### `getRecords() => Promise<Array<Record>>`
|
99
99
|
|
@@ -103,47 +103,49 @@ Type: `Promise<void>`
|
|
103
103
|
|
104
104
|
Type: `Promise<Record[]>`
|
105
105
|
|
106
|
+
Uma promessa que resolve com a lista de registros.
|
106
107
|
|
108
|
+
---
|
107
109
|
|
108
110
|
### `goToView(view: VIEW_MODE) => Promise<void>`
|
109
111
|
|
110
|
-
|
112
|
+
|
111
113
|
|
112
114
|
#### Returns
|
113
115
|
|
114
116
|
Type: `Promise<void>`
|
115
117
|
|
116
|
-
|
118
|
+
---
|
117
119
|
|
118
120
|
### `openConfigurator() => Promise<void>`
|
119
121
|
|
120
|
-
|
122
|
+
|
121
123
|
|
122
124
|
#### Returns
|
123
125
|
|
124
126
|
Type: `Promise<void>`
|
125
127
|
|
126
|
-
|
128
|
+
---
|
127
129
|
|
128
130
|
### `removeCustomValueFormatter(columnName: string) => Promise<void>`
|
129
131
|
|
130
|
-
|
132
|
+
|
131
133
|
|
132
134
|
#### Returns
|
133
135
|
|
134
136
|
Type: `Promise<void>`
|
135
137
|
|
136
|
-
|
138
|
+
---
|
137
139
|
|
138
140
|
### `setFieldProp(fieldName: string, propName: string, value: any) => Promise<void>`
|
139
141
|
|
140
|
-
|
142
|
+
|
141
143
|
|
142
144
|
#### Returns
|
143
145
|
|
144
146
|
Type: `Promise<void>`
|
145
147
|
|
146
|
-
|
148
|
+
---
|
147
149
|
|
148
150
|
### `setMetadata(metadata: UnitMetadata) => Promise<void>`
|
149
151
|
|
@@ -153,7 +155,7 @@ Type: `Promise<void>`
|
|
153
155
|
|
154
156
|
Type: `Promise<void>`
|
155
157
|
|
156
|
-
|
158
|
+
---
|
157
159
|
|
158
160
|
### `setRecords(records: Array<Record>) => Promise<void>`
|
159
161
|
|
@@ -163,7 +165,7 @@ Type: `Promise<void>`
|
|
163
165
|
|
164
166
|
Type: `Promise<void>`
|
165
167
|
|
166
|
-
|
168
|
+
---
|
167
169
|
|
168
170
|
### `updateConfig() => Promise<void>`
|
169
171
|
|
@@ -33,7 +33,7 @@ Esaconde a lista de ações.
|
|
33
33
|
|
34
34
|
Type: `Promise<void>`
|
35
35
|
|
36
|
-
|
36
|
+
---
|
37
37
|
|
38
38
|
### `isOpened() => Promise<boolean>`
|
39
39
|
|
@@ -43,7 +43,7 @@ Informa se a lista de ações está aberta.
|
|
43
43
|
|
44
44
|
Type: `Promise<boolean>`
|
45
45
|
|
46
|
-
|
46
|
+
---
|
47
47
|
|
48
48
|
### `showActions() => Promise<void>`
|
49
49
|
|
@@ -7,32 +7,32 @@
|
|
7
7
|
|
8
8
|
## Properties
|
9
9
|
|
10
|
-
| Property | Attribute | Description
|
11
|
-
| --------------------- | --------------------- |
|
12
|
-
| `actionsList` | -- |
|
13
|
-
| `actionsSettingsList` | -- |
|
14
|
-
| `alignRigth` | `align-rigth` |
|
15
|
-
| `buttons` | `buttons` |
|
16
|
-
| `configName` | `config-name` |
|
17
|
-
| `customButtons` | -- |
|
18
|
-
| `customContainerId` | `custom-container-id` |
|
19
|
-
| `customSlotId` | `custom-slot-id` |
|
20
|
-
| `dataUnit` | -- |
|
21
|
-
| `disabledButtons` | -- |
|
22
|
-
| `messagesBuilder` | -- |
|
23
|
-
| `overflowStrategy` | `overflow-strategy` |
|
24
|
-
| `presentationMode` | `presentation-mode` |
|
25
|
-
| `primaryButton` | `primary-button` |
|
26
|
-
| `resourceID` | `resource-i-d` |
|
10
|
+
| Property | Attribute | Description | Type | Default |
|
11
|
+
| --------------------- | --------------------- | ----------- | ------------------------------------------------------------------------------------------- | --------------------------- |
|
12
|
+
| `actionsList` | -- | | `Action[]` | `undefined` |
|
13
|
+
| `actionsSettingsList` | -- | | `Action[]` | `undefined` |
|
14
|
+
| `alignRigth` | `align-rigth` | | `boolean` | `false` |
|
15
|
+
| `buttons` | `buttons` | | `string` | `undefined` |
|
16
|
+
| `configName` | `config-name` | | `string` | `undefined` |
|
17
|
+
| `customButtons` | -- | | `Map<string, CustomButton>` | `undefined` |
|
18
|
+
| `customContainerId` | `custom-container-id` | | `string` | `undefined` |
|
19
|
+
| `customSlotId` | `custom-slot-id` | | `string` | `"TASKBAR_CUSTOM_ELEMENTS"` |
|
20
|
+
| `dataUnit` | -- | | `DataUnit` | `undefined` |
|
21
|
+
| `disabledButtons` | -- | | `string[]` | `undefined` |
|
22
|
+
| `messagesBuilder` | -- | | `SnkMessageBuilder` | `undefined` |
|
23
|
+
| `overflowStrategy` | `overflow-strategy` | | `"hiddenItems" \| "none"` | `'hiddenItems'` |
|
24
|
+
| `presentationMode` | `presentation-mode` | | `PresentationMode.PRIMARY \| PresentationMode.SECONDARY \| PresentationMode.SINGLE_TASKBAR` | `PresentationMode.PRIMARY` |
|
25
|
+
| `primaryButton` | `primary-button` | | `string` | `undefined` |
|
26
|
+
| `resourceID` | `resource-i-d` | | `string` | `undefined` |
|
27
27
|
|
28
28
|
|
29
29
|
## Events
|
30
30
|
|
31
|
-
| Event | Description
|
32
|
-
| --------------------- |
|
33
|
-
| `actionClick` |
|
34
|
-
| `taskbarSaveLocker` |
|
35
|
-
| `taskbarSaveUnlocker` |
|
31
|
+
| Event | Description | Type |
|
32
|
+
| --------------------- | ----------- | --------------------- |
|
33
|
+
| `actionClick` | | `CustomEvent<string>` |
|
34
|
+
| `taskbarSaveLocker` | | `CustomEvent<void>` |
|
35
|
+
| `taskbarSaveUnlocker` | | `CustomEvent<void>` |
|
36
36
|
|
37
37
|
|
38
38
|
## Dependencies
|