@enigmatry/entry-components 1.15.1-preview.9 → 15.0.0-preview
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/README.md +2 -1
- package/assets/fonts/Montserrat/Montserrat-bold.eot +0 -0
- package/assets/fonts/Montserrat/Montserrat-bold.ttf +0 -0
- package/assets/fonts/Montserrat/Montserrat-bold.woff +0 -0
- package/assets/fonts/Montserrat/Montserrat-bold.woff2 +0 -0
- package/assets/fonts/OpenSans/OpenSans-bold.eot +0 -0
- package/assets/fonts/OpenSans/OpenSans-bold.ttf +0 -0
- package/assets/fonts/OpenSans/OpenSans-bold.woff +0 -0
- package/assets/fonts/OpenSans/OpenSans-bold.woff2 +0 -0
- package/assets/fonts/OpenSans/OpenSans-normal.eot +0 -0
- package/assets/fonts/OpenSans/OpenSans-normal.ttf +0 -0
- package/assets/fonts/OpenSans/OpenSans-normal.woff +0 -0
- package/assets/fonts/OpenSans/OpenSans-normal.woff2 +0 -0
- package/assets/fonts/Roboto/Roboto-bold.woff2 +0 -0
- package/assets/fonts/Roboto/Roboto-normal.woff2 +0 -0
- package/button/README.md +47 -0
- package/button/entry-button-config.d.ts +26 -0
- package/button/entry-button.directive.d.ts +18 -0
- package/button/entry-button.module.d.ts +9 -0
- package/{header → button}/index.d.ts +1 -1
- package/button/public-api.d.ts +3 -0
- package/dialog/README.md +2 -2
- package/dialog/entry-dialog-buttons-alignment.type.d.ts +1 -1
- package/dialog/entry-dialog-config.model.d.ts +1 -1
- package/dialog/entry-dialog.module.d.ts +4 -1
- package/esm2020/{header/enigmatry-entry-components-header.mjs → button/enigmatry-entry-components-button.mjs} +1 -1
- package/esm2020/button/entry-button-config.mjs +22 -0
- package/esm2020/button/entry-button.directive.mjs +56 -0
- package/esm2020/button/entry-button.module.mjs +28 -0
- package/esm2020/button/public-api.mjs +4 -0
- package/esm2020/dialog/dialogs/entry-dialog.component.mjs +8 -5
- package/esm2020/dialog/entry-dialog-buttons-alignment.type.mjs +1 -2
- package/esm2020/dialog/entry-dialog-config.model.mjs +3 -3
- package/esm2020/dialog/entry-dialog.module.mjs +16 -4
- package/esm2020/file-input/enigmatry-entry-components-file-input.mjs +5 -0
- package/esm2020/file-input/entry-file-input.component.mjs +197 -0
- package/esm2020/file-input/entry-file-input.module.mjs +40 -0
- package/esm2020/file-input/public-api.mjs +3 -0
- package/esm2020/permissions/enigmatry-entry-components-permissions.mjs +5 -0
- package/esm2020/permissions/permission-type.mjs +2 -0
- package/esm2020/permissions/permission.directive.mjs +35 -0
- package/esm2020/permissions/permission.guard.mjs +14 -0
- package/esm2020/permissions/permission.module.mjs +29 -0
- package/esm2020/permissions/permission.pipe.mjs +20 -0
- package/esm2020/permissions/permission.service.mjs +3 -0
- package/esm2020/permissions/public-api.mjs +6 -0
- package/esm2020/public-api.mjs +4 -3
- package/esm2020/search-filter/entry-search-filter.component.mjs +8 -6
- package/esm2020/search-filter/entry-search-filter.module.mjs +12 -4
- package/esm2020/search-filter/search-filter-input/search-filter-input.component.mjs +9 -4
- package/esm2020/table/components/entry-cell/entry-cell.component.mjs +23 -0
- package/esm2020/table/components/entry-cell-context-menu/entry-cell-context-menu.component.mjs +33 -0
- package/esm2020/table/components/entry-cell-formatted-value/entry-cell-formatted-value.component.mjs +25 -0
- package/esm2020/table/components/entry-table/entry-table.component.mjs +248 -0
- package/esm2020/table/components/index.mjs +5 -0
- package/esm2020/table/enigmatry-entry-components-table.mjs +5 -0
- package/esm2020/table/entry-table.module.mjs +84 -0
- package/esm2020/table/interfaces/cell-template.mjs +2 -0
- package/esm2020/table/interfaces/column-def.mjs +2 -0
- package/esm2020/table/interfaces/column-sort-prop.mjs +2 -0
- package/esm2020/table/interfaces/column-type-parameter.mjs +2 -0
- package/esm2020/table/interfaces/column-type.mjs +2 -0
- package/esm2020/table/interfaces/context-menu-item.mjs +2 -0
- package/esm2020/table/interfaces/entry-table-config.mjs +18 -0
- package/esm2020/table/interfaces/index.mjs +13 -0
- package/esm2020/table/interfaces/paged-query.mjs +34 -0
- package/esm2020/table/interfaces/pagination.mjs +2 -0
- package/esm2020/table/interfaces/row-class-formatter.mjs +2 -0
- package/esm2020/table/interfaces/row-context-menu-formatter.mjs +2 -0
- package/esm2020/table/interfaces/row-selection-formatter.mjs +2 -0
- package/esm2020/table/public-api.mjs +4 -0
- package/esm2020/validation/entry-form-errors.component.mjs +7 -3
- package/fesm2015/enigmatry-entry-components-button.mjs +110 -0
- package/fesm2015/enigmatry-entry-components-button.mjs.map +1 -0
- package/fesm2015/enigmatry-entry-components-dialog.mjs +22 -7
- package/fesm2015/enigmatry-entry-components-dialog.mjs.map +1 -1
- package/fesm2015/enigmatry-entry-components-file-input.mjs +237 -0
- package/fesm2015/enigmatry-entry-components-file-input.mjs.map +1 -0
- package/fesm2015/enigmatry-entry-components-permissions.mjs +98 -0
- package/fesm2015/enigmatry-entry-components-permissions.mjs.map +1 -0
- package/fesm2015/enigmatry-entry-components-search-filter.mjs +24 -9
- package/fesm2015/enigmatry-entry-components-search-filter.mjs.map +1 -1
- package/fesm2015/enigmatry-entry-components-table.mjs +459 -0
- package/fesm2015/enigmatry-entry-components-table.mjs.map +1 -0
- package/fesm2015/enigmatry-entry-components-validation.mjs +6 -2
- package/fesm2015/enigmatry-entry-components-validation.mjs.map +1 -1
- package/fesm2015/enigmatry-entry-components.mjs +3 -2
- package/fesm2015/enigmatry-entry-components.mjs.map +1 -1
- package/fesm2020/enigmatry-entry-components-button.mjs +107 -0
- package/fesm2020/enigmatry-entry-components-button.mjs.map +1 -0
- package/fesm2020/enigmatry-entry-components-dialog.mjs +22 -7
- package/fesm2020/enigmatry-entry-components-dialog.mjs.map +1 -1
- package/fesm2020/enigmatry-entry-components-file-input.mjs +240 -0
- package/fesm2020/enigmatry-entry-components-file-input.mjs.map +1 -0
- package/fesm2020/enigmatry-entry-components-permissions.mjs +97 -0
- package/fesm2020/enigmatry-entry-components-permissions.mjs.map +1 -0
- package/fesm2020/enigmatry-entry-components-search-filter.mjs +24 -9
- package/fesm2020/enigmatry-entry-components-search-filter.mjs.map +1 -1
- package/fesm2020/enigmatry-entry-components-table.mjs +450 -0
- package/fesm2020/enigmatry-entry-components-table.mjs.map +1 -0
- package/fesm2020/enigmatry-entry-components-validation.mjs +6 -2
- package/fesm2020/enigmatry-entry-components-validation.mjs.map +1 -1
- package/fesm2020/enigmatry-entry-components.mjs +3 -2
- package/fesm2020/enigmatry-entry-components.mjs.map +1 -1
- package/file-input/README.md +71 -0
- package/file-input/entry-file-input.component.d.ts +74 -0
- package/file-input/entry-file-input.module.d.ts +12 -0
- package/file-input/index.d.ts +5 -0
- package/file-input/public-api.d.ts +2 -0
- package/package.json +31 -15
- package/permissions/README.md +68 -0
- package/permissions/index.d.ts +5 -0
- package/permissions/permission-type.d.ts +3 -0
- package/permissions/permission.directive.d.ts +11 -0
- package/permissions/permission.guard.d.ts +2 -0
- package/permissions/permission.module.d.ts +9 -0
- package/permissions/permission.pipe.d.ts +11 -0
- package/permissions/permission.service.d.ts +4 -0
- package/permissions/public-api.d.ts +5 -0
- package/public-api.d.ts +3 -2
- package/search-filter/entry-search-filter.module.d.ts +4 -2
- package/search-filter/search-filter-input/search-filter-input.component.d.ts +4 -2
- package/styles/_generator.scss +15 -10
- package/styles/modules/_default-theme.scss +36 -59
- package/styles/modules/components/buttons/_generator.scss +8 -0
- package/styles/modules/components/dialogs/_generator.scss +8 -3
- package/styles/modules/components/forms/_generator.scss +12 -6
- package/styles/modules/components/inputs/_generator.scss +15 -0
- package/styles/modules/components/search-filter/_generator.scss +15 -0
- package/styles/modules/components/tables/_cells.scss +11 -8
- package/styles/modules/components/tables/_no-result.scss +1 -3
- package/styles/modules/components/tables/_rows.scss +10 -40
- package/styles/modules/components/tables/_sorting.scss +2 -9
- package/styles/modules/typography/_fonts.scss +35 -42
- package/styles/modules/vendors/angular-material/_generator.scss +46 -0
- package/styles/modules/vendors/angular-material/_palette-generator.scss +32 -0
- package/styles/modules/vendors/angular-material/_typography-generator.scss +101 -0
- package/styles/partials/core/components/_index.scss +3 -3
- package/styles/partials/core/components/dialogs/_general.scss +10 -64
- package/styles/partials/core/components/forms/_general.scss +9 -13
- package/styles/partials/core/components/search-filter/_general.scss +9 -0
- package/styles/partials/core/components/tables/_general.scss +17 -0
- package/styles/partials/generator-test.scss +38 -0
- package/table/README.md +76 -0
- package/table/components/entry-cell/entry-cell.component.d.ts +10 -0
- package/table/components/entry-cell-context-menu/entry-cell-context-menu.component.d.ts +14 -0
- package/table/components/entry-cell-formatted-value/entry-cell-formatted-value.component.d.ts +10 -0
- package/table/components/entry-table/entry-table.component.d.ts +81 -0
- package/table/components/index.d.ts +4 -0
- package/table/entry-table.module.d.ts +20 -0
- package/{toolbar → table}/index.d.ts +1 -1
- package/table/interfaces/cell-template.d.ts +4 -0
- package/table/interfaces/column-def.d.ts +20 -0
- package/table/interfaces/column-sort-prop.d.ts +5 -0
- package/table/interfaces/column-type-parameter.d.ts +9 -0
- package/table/interfaces/column-type.d.ts +1 -0
- package/table/interfaces/context-menu-item.d.ts +6 -0
- package/table/interfaces/entry-table-config.d.ts +11 -0
- package/table/interfaces/index.d.ts +12 -0
- package/table/interfaces/paged-query.d.ts +14 -0
- package/table/interfaces/pagination.d.ts +19 -0
- package/table/interfaces/row-class-formatter.d.ts +3 -0
- package/table/interfaces/row-context-menu-formatter.d.ts +4 -0
- package/table/interfaces/row-selection-formatter.d.ts +4 -0
- package/table/public-api.d.ts +3 -0
- package/esm2020/header/entry-header.component.mjs +0 -13
- package/esm2020/header/entry-header.module.mjs +0 -24
- package/esm2020/header/public-api.mjs +0 -3
- package/esm2020/toolbar/enigmatry-entry-components-toolbar.mjs +0 -5
- package/esm2020/toolbar/entry-toolbar.component.mjs +0 -43
- package/esm2020/toolbar/entry-toolbar.module.mjs +0 -24
- package/esm2020/toolbar/public-api.mjs +0 -3
- package/fesm2015/enigmatry-entry-components-header.mjs +0 -41
- package/fesm2015/enigmatry-entry-components-header.mjs.map +0 -1
- package/fesm2015/enigmatry-entry-components-toolbar.mjs +0 -71
- package/fesm2015/enigmatry-entry-components-toolbar.mjs.map +0 -1
- package/fesm2020/enigmatry-entry-components-header.mjs +0 -41
- package/fesm2020/enigmatry-entry-components-header.mjs.map +0 -1
- package/fesm2020/enigmatry-entry-components-toolbar.mjs +0 -71
- package/fesm2020/enigmatry-entry-components-toolbar.mjs.map +0 -1
- package/header/README.md +0 -41
- package/header/entry-header.component.d.ts +0 -6
- package/header/entry-header.module.d.ts +0 -8
- package/header/public-api.d.ts +0 -2
- package/styles/modules/components/forms/outlines/_field-outlines.scss +0 -45
- package/styles/modules/components/forms/outlines/_form-fields.scss +0 -26
- package/styles/modules/components/forms/outlines/_general.scss +0 -9
- package/styles/modules/components/forms/selectors/_checkboxes.scss +0 -55
- package/styles/modules/components/forms/selectors/_radio-buttons.scss +0 -39
- package/styles/modules/components/headers/_generator.scss +0 -12
- package/styles/modules/elements/_generator.scss +0 -20
- package/styles/modules/elements/anchors/_generator.scss +0 -16
- package/styles/modules/elements/buttons/_default.scss +0 -12
- package/styles/modules/elements/buttons/_generator.scss +0 -45
- package/styles/modules/states/_hover.scss +0 -18
- package/styles/partials/core/components/headers/_general.scss +0 -7
- package/styles/partials/core/components/tables/_action-cells.scss +0 -26
- package/styles/partials/core/components/tables/_cells.scss +0 -39
- package/styles/partials/core/components/tables/_index.scss +0 -5
- package/styles/partials/core/components/tables/_layout.scss +0 -47
- package/styles/partials/core/components/tables/_rows.scss +0 -13
- package/styles/partials/core/components/tables/_sorting.scss +0 -8
- package/styles/partials/test.scss +0 -35
- package/toolbar/README.md +0 -39
- package/toolbar/entry-toolbar.component.d.ts +0 -28
- package/toolbar/entry-toolbar.module.d.ts +0 -8
- package/toolbar/public-api.d.ts +0 -2
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
|
|
3
|
-
@mixin generate-from($theme) {
|
|
4
|
-
.entry-header {
|
|
5
|
-
background-color: map.get($theme, 'general', 'colors', 'primary');
|
|
6
|
-
|
|
7
|
-
.title {
|
|
8
|
-
color: map.get($theme, 'general', 'colors', 'dark');
|
|
9
|
-
font-size: map.get($theme, 'headers', 'title', 'size');
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
@use '../default-theme' as default;
|
|
3
|
-
@use '../typography/fonts';
|
|
4
|
-
@use 'anchors/generator' as anchors;
|
|
5
|
-
@use 'buttons/generator' as buttons;
|
|
6
|
-
|
|
7
|
-
$default-theme: default.$theme;
|
|
8
|
-
|
|
9
|
-
@mixin generate-from($custom-theme: ()) {
|
|
10
|
-
$merged-theme: map.deep-merge($default-theme, $custom-theme);
|
|
11
|
-
|
|
12
|
-
$font-family: map.get($merged-theme, 'general', 'font', 'family');
|
|
13
|
-
|
|
14
|
-
@if $font-family == '' {
|
|
15
|
-
// @include fonts.generate-default-font();
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
@include anchors.generate-from($merged-theme);
|
|
19
|
-
@include buttons.generate-from($merged-theme);
|
|
20
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
|
|
3
|
-
@mixin generate-from($theme) {
|
|
4
|
-
$colors: map.get($theme, 'general', 'colors');
|
|
5
|
-
$primary-color: map.get($colors, 'primary');
|
|
6
|
-
$accent-color: map.get($colors, 'accent');
|
|
7
|
-
|
|
8
|
-
.entry-link {
|
|
9
|
-
color: $primary-color;
|
|
10
|
-
text-decoration: none;
|
|
11
|
-
|
|
12
|
-
&:hover {
|
|
13
|
-
color: $accent-color;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
@use 'default';
|
|
2
|
-
@use 'sass:map';
|
|
3
|
-
@use '../../typography/fonts';
|
|
4
|
-
@use '../../states/hover';
|
|
5
|
-
|
|
6
|
-
@mixin generate-from($theme) {
|
|
7
|
-
$button-color: map.get($theme, 'general', 'buttons', 'color');
|
|
8
|
-
$colors: map.get($theme, 'general', 'colors');
|
|
9
|
-
$primary-color: map.get($colors, 'primary');
|
|
10
|
-
$accent-color: map.get($colors, 'accent');
|
|
11
|
-
$disabled-color: map.get($colors, 'disabled');
|
|
12
|
-
|
|
13
|
-
.entry-button-accent, .entry-button-primary, .entry-button-dark {
|
|
14
|
-
@extend %entry-button;
|
|
15
|
-
@include fonts.font-family-from($theme) {
|
|
16
|
-
@include fonts.main-bolded-font();
|
|
17
|
-
}
|
|
18
|
-
color: $button-color;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.entry-button-primary {
|
|
22
|
-
@include hover.default($primary-color, $accent-color, $button-color, $disabled-color);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.entry-button-accent {
|
|
26
|
-
@include hover.default($accent-color, $primary-color, $button-color, $disabled-color);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.entry-button-dark {
|
|
30
|
-
@include hover.default(map.get($colors, 'dark'), $primary-color, $button-color, $disabled-color);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.entry-button-blank {
|
|
34
|
-
@include fonts.font-family-from($theme) {
|
|
35
|
-
@include fonts.main-font();
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
@include hover.default(transparent, transparent, $accent-color, transparent);
|
|
39
|
-
color: $primary-color;
|
|
40
|
-
|
|
41
|
-
&:disabled {
|
|
42
|
-
color: $primary-color;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
@mixin default($background, $hover-background, $color, $disabled-background) {
|
|
2
|
-
background-color: $background;
|
|
3
|
-
|
|
4
|
-
&:hover, &:active {
|
|
5
|
-
background-color: $hover-background;
|
|
6
|
-
color: $color;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
&:disabled, &.disabled {
|
|
10
|
-
background-color: $disabled-background;
|
|
11
|
-
cursor: not-allowed;
|
|
12
|
-
|
|
13
|
-
/* stylelint-disable-next-line selector-max-pseudo-class */
|
|
14
|
-
&:hover {
|
|
15
|
-
background-color: $disabled-background;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
@use '@enigmatry/scss-foundation/src/modules/display/items';
|
|
2
|
-
|
|
3
|
-
.entry-table .mat-mdc-icon-button {
|
|
4
|
-
width: unset;
|
|
5
|
-
@include items.align-center();
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.entry-table-checkbox-cell, .entry-table-context-menu-cell {
|
|
9
|
-
flex: none;
|
|
10
|
-
width: 56px;
|
|
11
|
-
max-width: 40px;
|
|
12
|
-
|
|
13
|
-
.mat-mdc-checkbox {
|
|
14
|
-
display: flex;
|
|
15
|
-
margin: 0 10px;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
/* TODO(mdc-migration): The following rule targets internal classes of checkbox that may no longer apply for the MDC version. */
|
|
19
|
-
.mat-checkbox-inner-container {
|
|
20
|
-
margin-left: 0;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.mat-mdc-icon-button {
|
|
24
|
-
padding-top: 2px;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
.entry-table {
|
|
2
|
-
.mat-mdc-cell, .mat-mdc-header-cell {
|
|
3
|
-
padding: 0 10px;
|
|
4
|
-
border-bottom: none;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.mat-mdc-header-cell, .mat-mdc-footer-cell, .mat-mdc-cell {
|
|
8
|
-
box-sizing: border-box;
|
|
9
|
-
padding: 4px 10px;
|
|
10
|
-
|
|
11
|
-
&.entry-table-checkbox-cell {
|
|
12
|
-
padding: {
|
|
13
|
-
right: 10px;
|
|
14
|
-
left: 10px;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.mat-mdc-table {
|
|
20
|
-
.mat-mdc-header-cell, .mat-mdc-footer-cell, .mat-mdc-cell {
|
|
21
|
-
&:not(.entry-table-checkbox-cell) {
|
|
22
|
-
min-width: 80px;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.mat-header-cell-inner {
|
|
28
|
-
display: flex;
|
|
29
|
-
align-items: center;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.currency {
|
|
33
|
-
text-align: right;
|
|
34
|
-
|
|
35
|
-
.mat-header-cell-inner {
|
|
36
|
-
justify-content: right;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
@use '@enigmatry/scss-foundation/src/modules/display/items';
|
|
2
|
-
|
|
3
|
-
.entry-table {
|
|
4
|
-
display: flex;
|
|
5
|
-
position: relative;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
width: 100%;
|
|
8
|
-
|
|
9
|
-
.mat-mdc-table-container {
|
|
10
|
-
overflow: auto;
|
|
11
|
-
|
|
12
|
-
&.mat-mdc-table-with-data {
|
|
13
|
-
flex: 1;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.mat-mdc-table {
|
|
18
|
-
min-width: 100%;
|
|
19
|
-
border-collapse: separate;
|
|
20
|
-
}
|
|
21
|
-
/* TODO(mdc-migration): The following rule targets internal classes of paginator that may no longer apply for the MDC version. */
|
|
22
|
-
.mat-paginator-hidden {
|
|
23
|
-
display: none;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.entry-table-layout {
|
|
28
|
-
display: flex;
|
|
29
|
-
flex: 1 1 auto;
|
|
30
|
-
overflow: auto;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.entry-table-content {
|
|
34
|
-
flex-direction: column;
|
|
35
|
-
width: 0;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.entry-table-footer {
|
|
39
|
-
position: relative;
|
|
40
|
-
z-index: 1;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.entry-table-no-result {
|
|
44
|
-
@include items.align-absolute-center();
|
|
45
|
-
flex: 1;
|
|
46
|
-
min-height: 50px;
|
|
47
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
@use '../generator';
|
|
2
|
-
|
|
3
|
-
$custom-theme: (
|
|
4
|
-
general: (
|
|
5
|
-
colors: (
|
|
6
|
-
primary: #FAE3C1
|
|
7
|
-
),
|
|
8
|
-
font: (
|
|
9
|
-
size: 13px
|
|
10
|
-
),
|
|
11
|
-
buttons: (
|
|
12
|
-
color: #AAA
|
|
13
|
-
)
|
|
14
|
-
),
|
|
15
|
-
forms: (
|
|
16
|
-
fields: (
|
|
17
|
-
infix-padding-top: 41px,
|
|
18
|
-
outline: (
|
|
19
|
-
border-hover: 2px solid #666
|
|
20
|
-
)
|
|
21
|
-
)
|
|
22
|
-
),
|
|
23
|
-
tables: (
|
|
24
|
-
cells: (
|
|
25
|
-
first-cell-padding-left: 11px
|
|
26
|
-
)
|
|
27
|
-
),
|
|
28
|
-
headers: (
|
|
29
|
-
title: (
|
|
30
|
-
size: 41px
|
|
31
|
-
)
|
|
32
|
-
),
|
|
33
|
-
);
|
|
34
|
-
|
|
35
|
-
@include generator.generate-from($custom-theme);
|
package/toolbar/README.md
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
# Entry Toolbar
|
|
2
|
-
|
|
3
|
-
Toolbar component (`<entry-toolbar>`) is used as a header section in the applications. It offers built-in support for title or logo on the left side, while other elements, like menu items, must be provided via content projection. The component is responsive in a way that on smaller screens (mobile/tablet) switches to _the compact view_ containing menu icon button used to toggle content visibility.
|
|
4
|
-
|
|
5
|
-
## Integration
|
|
6
|
-
|
|
7
|
-
```npm
|
|
8
|
-
npm i @enigmatry/entry-components
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
Import component package:
|
|
12
|
-
|
|
13
|
-
```ts
|
|
14
|
-
import { EntryDialogModule } from '@enigmatry/entry-components/toolbar';
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
Styles import:
|
|
18
|
-
|
|
19
|
-
```scss
|
|
20
|
-
@use 'entry-components/styles/generate' as entry;
|
|
21
|
-
|
|
22
|
-
@include entry.generate(APP_THEME, APP_TYPOGRAPHY);
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
Where `APP_THEME` represents application theming configuration, while `APP_TYPOGRAPHY` represents application fonts configuration.
|
|
26
|
-
|
|
27
|
-
## Basic usage
|
|
28
|
-
|
|
29
|
-
```html
|
|
30
|
-
<entry-toolbar
|
|
31
|
-
title="Food & Drinks"
|
|
32
|
-
titleUri="http://food-n-drinks.com">
|
|
33
|
-
<ul>
|
|
34
|
-
<li>Meals</li>
|
|
35
|
-
<li>Order</li>
|
|
36
|
-
<li>About</li>
|
|
37
|
-
</ul>
|
|
38
|
-
</entry-toolbar>
|
|
39
|
-
```
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* Toolbar component (`<entry-toolbar>`) is used to render header section in the applications containing menu items as a content.
|
|
4
|
-
* It offers build in support for toolbar title or logo, while other elements need to be provided via content projection.
|
|
5
|
-
* On smaller screens (mobile/tablet) it switches to compact view containing menu icon button used to toggle content visibility.
|
|
6
|
-
*
|
|
7
|
-
* @example
|
|
8
|
-
* ```html
|
|
9
|
-
* <entry-toolbar
|
|
10
|
-
* titleUri="http://www.enigmatry.com"
|
|
11
|
-
* titleLogoSrc="assets/enigmatry-logo.png">
|
|
12
|
-
* <!-- SOME CUSTOM HTML CODE THAT RENDERS MENU ITEMS -->
|
|
13
|
-
* </entry-toolbar>
|
|
14
|
-
* ```
|
|
15
|
-
*/
|
|
16
|
-
export declare class EntryToolbarComponent {
|
|
17
|
-
/** Toolbar title positioned in the left side */
|
|
18
|
-
title: string;
|
|
19
|
-
/** Url to be redirected to if user click on the title (default value '/') */
|
|
20
|
-
titleUri: string;
|
|
21
|
-
/** If provided, it replaces string title and renders logo image instead */
|
|
22
|
-
titleLogoSrc: string | undefined;
|
|
23
|
-
/** Used to hide the title section if not required (default value false) */
|
|
24
|
-
hideTitle: boolean;
|
|
25
|
-
menuOpened: boolean;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EntryToolbarComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EntryToolbarComponent, "entry-toolbar", never, { "title": "title"; "titleUri": "titleUri"; "titleLogoSrc": "titleLogoSrc"; "hideTitle": "hideTitle"; }, {}, never, ["*"], false, never>;
|
|
28
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./entry-toolbar.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
export declare class EntryToolbarModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EntryToolbarModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<EntryToolbarModule, [typeof i1.EntryToolbarComponent], [typeof i2.CommonModule], [typeof i1.EntryToolbarComponent]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<EntryToolbarModule>;
|
|
8
|
-
}
|
package/toolbar/public-api.d.ts
DELETED