tailjng 0.0.28 → 0.0.29
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/cli/settings/components-list.js +5 -1
- package/cli/settings/header-generator.js +1 -1
- package/package.json +1 -1
- package/src/lib/components/button/button.component.html +1 -1
- package/src/lib/components/card/{card-complete/complete-card.component.ts → card-crud-complete/complete-crud-card.component.ts} +7 -15
- package/src/lib/components/table/table-complete/complete-table.component.html +188 -561
- package/src/lib/components/table/table-complete/complete-table.component.ts +322 -829
- package/src/lib/components/table/table-crud-complete/complete-crud-table.component.html +626 -0
- package/src/lib/components/table/table-crud-complete/complete-crud-table.component.scss +5 -0
- package/src/lib/components/table/table-crud-complete/complete-crud-table.component.ts +1027 -0
- /package/src/lib/components/card/{card-complete/complete-card.component.html → card-crud-complete/complete-crud-card.component.html} +0 -0
- /package/src/lib/components/card/{card-complete/complete-card.component.scss → card-crud-complete/complete-crud-card.component.scss} +0 -0
|
@@ -102,7 +102,7 @@ function getComponentList() {
|
|
|
102
102
|
path: "src/lib/components/filter/filter-complete",
|
|
103
103
|
dependencies: ["select-dropdown", "select-multi-table", "button", "dialog", "checkbox-switch"],
|
|
104
104
|
},
|
|
105
|
-
'card-complete': {
|
|
105
|
+
'card-crud-complete': {
|
|
106
106
|
path: "src/lib/components/card/card-complete",
|
|
107
107
|
dependencies: ["paginator-complete", "filter-complete"],
|
|
108
108
|
},
|
|
@@ -114,6 +114,10 @@ function getComponentList() {
|
|
|
114
114
|
|
|
115
115
|
|
|
116
116
|
|
|
117
|
+
'table-crud-complete': {
|
|
118
|
+
path: "src/lib/components/table/table-complete",
|
|
119
|
+
dependencies: ["button", "paginator-complete", "filter-complete", "checkbox-input", "menu-options-table", "dialog", "image-viewer", "select-dropdown", "input"],
|
|
120
|
+
},
|
|
117
121
|
'table-complete': {
|
|
118
122
|
path: "src/lib/components/table/table-complete",
|
|
119
123
|
dependencies: ["button", "paginator-complete", "filter-complete", "checkbox-input", "menu-options-table", "dialog", "image-viewer", "select-dropdown", "input"],
|
package/package.json
CHANGED
|
@@ -9,11 +9,11 @@ import { JCompletePaginatorComponent } from '../../paginator/paginator-complete/
|
|
|
9
9
|
import { JCompleteFilterComponent } from '../../filter/filter-complete/complete-filter.component';
|
|
10
10
|
|
|
11
11
|
@Component({
|
|
12
|
-
selector: '
|
|
12
|
+
selector: 'JCompleteCrudCard',
|
|
13
13
|
standalone: true,
|
|
14
14
|
imports: [CommonModule, FormsModule, JCompletePaginatorComponent, JCompleteFilterComponent, LucideAngularModule],
|
|
15
|
-
templateUrl: './complete-card.component.html',
|
|
16
|
-
styleUrl: './complete-card.component.scss',
|
|
15
|
+
templateUrl: './complete-crud-card.component.html',
|
|
16
|
+
styleUrl: './complete-crud-card.component.scss',
|
|
17
17
|
animations: [
|
|
18
18
|
trigger('slideToggle', [
|
|
19
19
|
state('collapsed', style({
|
|
@@ -31,7 +31,7 @@ import { JCompleteFilterComponent } from '../../filter/filter-complete/complete-
|
|
|
31
31
|
])
|
|
32
32
|
]
|
|
33
33
|
})
|
|
34
|
-
export class
|
|
34
|
+
export class JCompleteCrudCardComponent implements OnInit {
|
|
35
35
|
|
|
36
36
|
Math = Math;
|
|
37
37
|
|
|
@@ -285,17 +285,9 @@ export class JCompleteCardComponent implements OnInit {
|
|
|
285
285
|
// Default column values
|
|
286
286
|
columnDefaults() {
|
|
287
287
|
this.columns.forEach(column => {
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
if (column.sortable === undefined) {
|
|
293
|
-
column.sortable = true;
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
if (column.isSearchable === undefined) {
|
|
297
|
-
column.isSearchable = true;
|
|
298
|
-
}
|
|
288
|
+
column.visible ??= true;
|
|
289
|
+
column.sortable ??= true;
|
|
290
|
+
column.isSearchable ??= true;
|
|
299
291
|
});
|
|
300
292
|
}
|
|
301
293
|
|