@mediusinc/mng-commons 3.7.0-rc.0 → 4.0.0-rc.2
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/esm2022/index.mjs +8 -2
- package/esm2022/lib/components/action/index.mjs +2 -1
- package/esm2022/lib/components/action/table/action-table.component.mjs +164 -0
- package/esm2022/lib/components/form/formly/fields/formly-field-lookup-dialog/formly-field-lookup-dialog.component.mjs +4 -4
- package/esm2022/lib/components/form/formly/fields/formly-field-table-dialog-form/formly-field-table-dialog-form.component.mjs +4 -5
- package/esm2022/lib/components/form/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component.mjs +3 -3
- package/esm2022/lib/components/layoutV2/topbar.component.mjs +2 -7
- package/esm2022/lib/components/table/column-filter-full/column-filter-full.component.mjs +466 -0
- package/esm2022/lib/components/table/column-value/column-value.component.mjs +87 -0
- package/esm2022/lib/components/table/models/table.event.mjs +16 -0
- package/esm2022/lib/components/table/models/table.interface.mjs +2 -0
- package/esm2022/lib/components/table/table-column-filter-class/table-column-filter-class.pipe.mjs +25 -0
- package/esm2022/lib/components/table/table.component.mjs +723 -0
- package/esm2022/lib/components/tableview/index.mjs +1 -4
- package/esm2022/lib/components/tableview/tableview.component.mjs +6 -7
- package/esm2022/lib/descriptors/editor/editor.descriptor.mjs +1 -1
- package/esm2022/lib/descriptors/table/table.descriptor.mjs +16 -17
- package/esm2022/lib/descriptors/tableview/tableview.descriptor.mjs +1 -1
- package/esm2022/lib/utils/tableview.util.mjs +2 -2
- package/fesm2022/mediusinc-mng-commons.mjs +2221 -2080
- package/fesm2022/mediusinc-mng-commons.mjs.map +1 -1
- package/index.d.ts +6 -1
- package/lib/components/action/index.d.ts +1 -0
- package/lib/components/action/table/action-table.component.d.ts +55 -0
- package/lib/components/form/formly/fields/formly-field-lookup-dialog/formly-field-lookup-dialog.component.d.ts +1 -1
- package/lib/components/form/formly/fields/formly-field-table-dialog-multiselect/formly-field-table-dialog-multiselect.component.d.ts +1 -1
- package/lib/components/layoutV2/topbar.component.d.ts +0 -1
- package/lib/components/{tableview/table → table}/column-filter-full/column-filter-full.component.d.ts +2 -2
- package/lib/components/{tableview/table → table}/column-value/column-value.component.d.ts +3 -3
- package/lib/components/{tableview/table → table}/models/table.interface.d.ts +3 -1
- package/lib/components/table/table-column-filter-class/table-column-filter-class.pipe.d.ts +8 -0
- package/lib/components/table/table.component.d.ts +125 -0
- package/lib/components/tableview/index.d.ts +0 -3
- package/lib/components/tableview/tableview.component.d.ts +3 -3
- package/lib/descriptors/editor/editor.descriptor.d.ts +1 -1
- package/lib/descriptors/table/table.descriptor.d.ts +15 -12
- package/lib/descriptors/tableview/tableview.descriptor.d.ts +1 -1
- package/package.json +1 -1
- package/scss/mng-overrides/_theme_datatable.scss +24 -10
- package/scss/v2/theme/theme-base/mng/_mng_theme_datatable.scss +24 -9
- package/scss/v2/theme/theme-dark/_variables.scss +24 -12
- package/scss/v2/theme/theme-dark/blue/theme.scss +4 -4
- package/scss/v2/theme/theme-light/_variables.scss +23 -11
- package/scss/v2/theme/theme-light/blue/theme.scss +2 -2
- package/esm2022/lib/components/tableview/models/index.mjs +0 -2
- package/esm2022/lib/components/tableview/models/table.event.mjs +0 -16
- package/esm2022/lib/components/tableview/table/column-filter-full/column-filter-full.component.mjs +0 -467
- package/esm2022/lib/components/tableview/table/column-value/column-value.component.mjs +0 -87
- package/esm2022/lib/components/tableview/table/models/index.mjs +0 -2
- package/esm2022/lib/components/tableview/table/models/table.interface.mjs +0 -2
- package/esm2022/lib/components/tableview/table/table.component.mjs +0 -752
- package/lib/components/tableview/models/index.d.ts +0 -1
- package/lib/components/tableview/table/models/index.d.ts +0 -1
- package/lib/components/tableview/table/table.component.d.ts +0 -147
- /package/lib/components/{tableview → table}/models/table.event.d.ts +0 -0
|
@@ -1,15 +1,27 @@
|
|
|
1
|
+
$blue: #2196f3 !default;
|
|
2
|
+
$green: #4caf50 !default;
|
|
3
|
+
$yellow: #fbc02d !default;
|
|
4
|
+
$cyan: #00bcd4 !default;
|
|
5
|
+
$pink: #e91e63 !default;
|
|
6
|
+
$indigo: #3f51b5 !default;
|
|
7
|
+
$teal: #009688 !default;
|
|
8
|
+
$orange: #f57c00 !default;
|
|
9
|
+
$bluegray: #607d8b !default;
|
|
10
|
+
$purple: #9c27b0 !default;
|
|
11
|
+
$red: #ff3d32 !default;
|
|
12
|
+
|
|
1
13
|
$colors: (
|
|
2
|
-
'blue':
|
|
3
|
-
'green':
|
|
4
|
-
'yellow':
|
|
5
|
-
'cyan':
|
|
6
|
-
'pink':
|
|
7
|
-
'indigo':
|
|
8
|
-
'teal':
|
|
9
|
-
'orange':
|
|
10
|
-
'bluegray':
|
|
11
|
-
'purple':
|
|
12
|
-
'red':
|
|
14
|
+
'blue': $blue,
|
|
15
|
+
'green': $green,
|
|
16
|
+
'yellow': $yellow,
|
|
17
|
+
'cyan': $cyan,
|
|
18
|
+
'pink': $pink,
|
|
19
|
+
'indigo': $indigo,
|
|
20
|
+
'teal': $teal,
|
|
21
|
+
'orange': $orange,
|
|
22
|
+
'bluegray': $bluegray,
|
|
23
|
+
'purple': $purple,
|
|
24
|
+
'red': $red,
|
|
13
25
|
'primary': $primaryColor
|
|
14
26
|
);
|
|
15
27
|
|
|
@@ -5,8 +5,8 @@ $primaryDarkerColor: scale-color($primaryColor, $lightness: -20%) !default;
|
|
|
5
5
|
$primaryTextColor: #ffffff !default;
|
|
6
6
|
$primary500: #0f8bfd !default;
|
|
7
7
|
|
|
8
|
-
$highlightBg: $primaryColor;
|
|
9
|
-
$highlightTextColor: $primaryTextColor;
|
|
8
|
+
$highlightBg: $primaryColor !default;
|
|
9
|
+
$highlightTextColor: $primaryTextColor !default;
|
|
10
10
|
|
|
11
11
|
@import '../_variables';
|
|
12
12
|
@import '../../theme-base/_components';
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './table.event';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbXBvbmVudHMvdGFibGV2aWV3L21vZGVscy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGVBQWUsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vdGFibGUuZXZlbnQnO1xuIl19
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export class MngTableLoadEvent {
|
|
2
|
-
}
|
|
3
|
-
export class MngTableCellClickEvent {
|
|
4
|
-
constructor(column, rowItem, rowIndex) {
|
|
5
|
-
this.column = column;
|
|
6
|
-
this.rowItem = rowItem;
|
|
7
|
-
this.rowIndex = rowIndex;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
export class MngTableReloadEvent {
|
|
11
|
-
constructor() {
|
|
12
|
-
this.resetParams = false;
|
|
13
|
-
this.emitEvent = false;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUuZXZlbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbXBvbmVudHMvdGFibGV2aWV3L21vZGVscy90YWJsZS5ldmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFLQSxNQUFNLE9BQU8saUJBQWlCO0NBRzdCO0FBRUQsTUFBTSxPQUFPLHNCQUFzQjtJQUMvQixZQUNvQixNQUFnQyxFQUNoQyxPQUFVLEVBQ1YsUUFBZ0I7UUFGaEIsV0FBTSxHQUFOLE1BQU0sQ0FBMEI7UUFDaEMsWUFBTyxHQUFQLE9BQU8sQ0FBRztRQUNWLGFBQVEsR0FBUixRQUFRLENBQVE7S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