oxpi-nglib 1.0.78 → 1.0.80

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.
@@ -5,6 +5,8 @@ export interface IOwnership {
5
5
  usuarioLogin?: string;
6
6
  modulo?: number;
7
7
  endTime?: Date;
8
+ alteracoes?: string;
9
+ startEndElapsed?: string;
8
10
  }
9
11
  export declare class Ownership implements IOwnership {
10
12
  startTime?: Date;
@@ -12,5 +14,7 @@ export declare class Ownership implements IOwnership {
12
14
  usuarioLogin?: string;
13
15
  modulo?: number;
14
16
  endTime?: Date;
17
+ alteracoes?: string;
18
+ startEndElapsed?: string;
15
19
  }
16
20
  export declare function setOwnershipLogin(ownership: IOwnership, usuarios: IdLoginModel[]): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oxpi-nglib",
3
- "version": "1.0.78",
3
+ "version": "1.0.80",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.0.5",
6
6
  "@angular/core": "^14.0.5"
@@ -233,4 +233,237 @@
233
233
  .btn-form-margin
234
234
  {
235
235
  margin-left: 1px !important;
236
- }
236
+ }
237
+
238
+
239
+ //HISTORICO
240
+
241
+ .historico-item {
242
+ display: flex;
243
+ align-items: center;
244
+ padding: 10px;
245
+ border-bottom: 1px solid #ccc;
246
+ font-family: $open-sans;
247
+ background-color: white;
248
+ cursor: pointer;
249
+ &:hover
250
+ {
251
+ background-color: var(--item-card-selected-bg);
252
+ }
253
+ }
254
+
255
+ .historico-icon {
256
+ font-size: 24px;
257
+ color: #39b7ab;
258
+ margin-right: 32px;
259
+ }
260
+
261
+ .historico-content {
262
+ flex: 1;
263
+ display: flex;
264
+ flex-direction: column;
265
+ gap: 4px;
266
+ }
267
+ .historico-elapsed
268
+ {
269
+ font-size: small;
270
+ color: rgb(255, 0, 119);
271
+ }
272
+ .historico-date {
273
+ margin: 0;
274
+ font-weight: 500;
275
+ font-size: xx-small;
276
+ }
277
+
278
+ .historico-user {
279
+ margin: 0;
280
+ color: purple;
281
+ }
282
+
283
+
284
+ .historico-obs {
285
+ background: #efeaef;
286
+ padding: 8px;
287
+ border-radius: 3px 7px 7px 3px;
288
+ border-left: 4px solid #896891;
289
+ font-size: x-small;
290
+ margin-top: 4px;
291
+ }
292
+
293
+ .historico-hpanel
294
+ {
295
+ display: flex;
296
+ flex-direction: row;
297
+ justify-content: space-between;
298
+ align-items: center;
299
+ }
300
+ .historico-modulo {
301
+ margin: 0;
302
+ font-size: xx-small;
303
+ padding: 3px 8px;
304
+ border-radius: 7px;
305
+ align-self: end;
306
+ background-color: #95a5a6;
307
+ &::before
308
+ {
309
+ content: "--";
310
+ }
311
+ /* Admin */
312
+ &[data-motelplusmodulo="0"] {
313
+ background-color: #7c0394;
314
+ color: #fff;
315
+ }
316
+ &[data-motelplusmodulo="0"]::before {
317
+ content: "Administrativo";
318
+ }
319
+
320
+ /* AdminOnline */
321
+ &[data-motelplusmodulo="1"] {
322
+ background-color: #7c0394;
323
+ color: #fff;
324
+ }
325
+ &[data-motelplusmodulo="1"]::before {
326
+ content: "Admin Online";
327
+ }
328
+
329
+ /* Gerencial */
330
+ &[data-motelplusmodulo="2"] {
331
+ background-color: #2ecc71;
332
+ color: #fff;
333
+ }
334
+ &[data-motelplusmodulo="2"]::before {
335
+ content: "Gerencial";
336
+ }
337
+
338
+ /* GerencialOnline */
339
+ &[data-motelplusmodulo="3"] {
340
+ background-color: #2ecc71;
341
+ color: #fff;
342
+ }
343
+ &[data-motelplusmodulo="3"]::before {
344
+ content: "Gerencial [antigo]";
345
+ }
346
+
347
+ /* Estoque */
348
+ &[data-motelplusmodulo="4"] {
349
+ background-color: #f39c12;
350
+ color: #fff;
351
+ }
352
+ &[data-motelplusmodulo="4"]::before {
353
+ content: "Estoque";
354
+ }
355
+
356
+ /* EstoqueOnline */
357
+ &[data-motelplusmodulo="5"] {
358
+ background-color: #f39c12;
359
+ color: #fff;
360
+ }
361
+ &[data-motelplusmodulo="5"]::before {
362
+ content: "Estoque [antigo]";
363
+ }
364
+
365
+ /* Financas */
366
+ &[data-motelplusmodulo="6"] {
367
+ background-color: #004caf;
368
+ color: #fff;
369
+ }
370
+ &[data-motelplusmodulo="6"]::before {
371
+ content: "Finanças";
372
+ }
373
+
374
+ /* FinancasOnline */
375
+ &[data-motelplusmodulo="7"] {
376
+ background-color: #004caf;
377
+ color: #fff;
378
+ }
379
+ &[data-motelplusmodulo="7"]::before {
380
+ content: "Finanças [antigo]";
381
+ }
382
+
383
+ /* Recepcao */
384
+ &[data-motelplusmodulo="8"] {
385
+ background-color: #e91313;
386
+ color: #fff;
387
+ }
388
+ &[data-motelplusmodulo="8"]::before {
389
+ content: "Recepção";
390
+ }
391
+
392
+ /* Configuracoes */
393
+ &[data-motelplusmodulo="9"] {
394
+ background-color: #95a5a6;
395
+ color: #fff;
396
+ }
397
+ &[data-motelplusmodulo="9"]::before {
398
+ content: "Configurações";
399
+ }
400
+
401
+ /* GerencialWeb */
402
+ &[data-motelplusmodulo="10"] {
403
+ background-color: #2ecc71;
404
+ color: #fff;
405
+ }
406
+ &[data-motelplusmodulo="10"]::before {
407
+ content: "Gerencial Web";
408
+ }
409
+
410
+ /* GerencialMobile */
411
+ &[data-motelplusmodulo="11"] {
412
+ background-color: #44ad85;
413
+ color: #fff;
414
+ }
415
+ &[data-motelplusmodulo="11"]::before {
416
+ content: "Gerencial Mobile";
417
+ }
418
+
419
+ /* FinancasWeb */
420
+ &[data-motelplusmodulo="12"] {
421
+ background-color: #0879eb;
422
+ color: #fff;
423
+ }
424
+ &[data-motelplusmodulo="12"]::before {
425
+ content: "Finanças Web";
426
+ }
427
+
428
+ /* AssistWeb */
429
+ &[data-motelplusmodulo="13"] {
430
+ background-color: #f39c12;
431
+ color: #fff;
432
+ }
433
+ &[data-motelplusmodulo="13"]::before {
434
+ content: "Assist Mobile";
435
+ }
436
+
437
+ /* PlugPlay */
438
+ &[data-motelplusmodulo="14"] {
439
+ background-color: #660345;
440
+ color: #fff;
441
+ }
442
+ &[data-motelplusmodulo="14"]::before {
443
+ content: "PlugPlay API";
444
+ }
445
+
446
+ /* ToHospedado */
447
+ &[data-motelplusmodulo="15"]::before {
448
+ content: "ToHospedado";
449
+ background-color: #b9296c;
450
+ color: #fff;
451
+ }
452
+
453
+ &[data-motelplusmodulo="16"] {
454
+ background-color: #222120;
455
+ color: #fff;
456
+ }
457
+ &[data-motelplusmodulo="16"]::before {
458
+ content: "F9";
459
+ }
460
+
461
+ &[data-motelplusmodulo="17"] {
462
+ background-color: #a85e09;
463
+ color: #fff;
464
+ }
465
+ &[data-motelplusmodulo="17"]::before {
466
+ content: "Estoque Web";
467
+ }
468
+ }
469
+ //FIM HISTORICO