coer-elements 0.0.33 → 0.0.35

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,8 @@
1
1
  export interface IMenu {
2
+ id?: number;
2
3
  label: string;
3
4
  icon?: string;
4
5
  path?: string;
6
+ secuence?: number;
5
7
  items?: IMenu[];
6
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coer-elements",
3
- "version": "0.0.33",
3
+ "version": "0.0.35",
4
4
  "author": "Christian Omar Escamilla Rodríguez",
5
5
  "keywords": [
6
6
  "COER",
@@ -10,4 +10,5 @@
10
10
  @import "../components/lib/coer-numberbox/coer-numberbox.component.scss";
11
11
  @import "../components/lib/coer-switch/coer-switch.component.scss";
12
12
  @import "../components/lib/coer-checkbox/coer-checkbox.component.scss";
13
- @import "../components/lib/coer-tab/coer-tab.component.scss";
13
+ @import "../components/lib/coer-tab/coer-tab.component.scss";
14
+ @import "../components/lib/coer-list/coer-list.component.scss";
@@ -557,6 +557,10 @@ div.coer-button i.spinner-border {
557
557
  div.coer-button span {
558
558
  font-weight: bold !important;
559
559
  }
560
+ div.coer-button .mat-mdc-button-touch-target {
561
+ width: 0px !important;
562
+ height: 0px !important;
563
+ }
560
564
 
561
565
  div#coer-tool-bar coer-button * {
562
566
  color: #fd6031 !important;
@@ -2167,6 +2171,58 @@ div.coer-tab mat-tab-group div.mat-mdc-tab-body-wrapper mat-tab-body div.mat-mdc
2167
2171
  padding: 5px;
2168
2172
  }
2169
2173
 
2174
+ div.coer-list ul.coer-list {
2175
+ width: 100%;
2176
+ border: solid 1px #ccc;
2177
+ display: block;
2178
+ background: white;
2179
+ border-radius: 4px;
2180
+ overflow: hidden;
2181
+ }
2182
+ div.coer-list li.coer-list-box {
2183
+ padding: 10px 10px;
2184
+ border-bottom: solid 1px #ccc;
2185
+ color: rgba(0, 0, 0, 0.87);
2186
+ display: flex;
2187
+ flex-direction: row;
2188
+ align-items: center;
2189
+ justify-content: space-between;
2190
+ box-sizing: border-box;
2191
+ background: white;
2192
+ font-size: 14px;
2193
+ }
2194
+ div.coer-list li.coer-list-box div.coer-list-content {
2195
+ width: 100%;
2196
+ display: flex;
2197
+ align-items: center;
2198
+ justify-content: space-between;
2199
+ }
2200
+ div.coer-list .cdk-drag-preview {
2201
+ box-sizing: border-box;
2202
+ border-radius: 4px;
2203
+ box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);
2204
+ }
2205
+ div.coer-list .cdk-drag-animating {
2206
+ transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
2207
+ }
2208
+ div.coer-list .coer-list-box:last-child {
2209
+ border: none;
2210
+ }
2211
+ div.coer-list .coer-list.cdk-drop-list-dragging .coer-list-box:not(.cdk-drag-placeholder) {
2212
+ transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
2213
+ }
2214
+ div.coer-list div.coer-list-placeholder {
2215
+ background: #ccc;
2216
+ border: dotted 3px #999;
2217
+ min-height: 40px;
2218
+ transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
2219
+ }
2220
+ div.coer-list div.cdk-drag-placeholder,
2221
+ div.coer-list ul.cdk-drop-list-dragging,
2222
+ div.coer-list ul.cdk-drop-list-dragging * {
2223
+ cursor: grabbing;
2224
+ }
2225
+
2170
2226
  .tooltip-inner {
2171
2227
  min-width: 125px;
2172
2228
  max-width: 250px;
@@ -3254,6 +3310,20 @@ aside.toast-container > * {
3254
3310
  padding-bottom: 5px;
3255
3311
  }
3256
3312
 
3313
+ .coer-container-list {
3314
+ margin: 15px 30px 0px 30px;
3315
+ padding: 10px;
3316
+ box-shadow: 0px 0px 10px -10px black;
3317
+ border-radius: 8px;
3318
+ background-color: white;
3319
+ animation-name: fadeId;
3320
+ animation-duration: 1.5s;
3321
+ animation-iteration-count: 1;
3322
+ animation-fill-mode: both;
3323
+ position: relative;
3324
+ padding: 0px;
3325
+ }
3326
+
3257
3327
  .cursor-default {
3258
3328
  cursor: default !important;
3259
3329
  }
@@ -3266,6 +3336,14 @@ aside.toast-container > * {
3266
3336
  cursor: wait !important;
3267
3337
  }
3268
3338
 
3339
+ .cursor-grab {
3340
+ cursor: grab !important;
3341
+ }
3342
+
3343
+ .cursor-grabbing {
3344
+ cursor: grabbing !important;
3345
+ }
3346
+
3269
3347
  * {
3270
3348
  --blue: #0d6efd;
3271
3349
  --gray: #6c757d;
@@ -33,4 +33,9 @@
33
33
  .coer-container-grid {
34
34
  @include Container();
35
35
  padding-bottom: 5px;
36
- }
36
+ }
37
+
38
+ .coer-container-list {
39
+ @include Container();
40
+ padding: 0px;
41
+ }
@@ -8,4 +8,12 @@
8
8
 
9
9
  .cursor-wait {
10
10
  cursor: wait !important;
11
+ }
12
+
13
+ .cursor-grab {
14
+ cursor: grab !important;
15
+ }
16
+
17
+ .cursor-grabbing {
18
+ cursor: grabbing !important;
11
19
  }