cc-core-cli 1.0.86 → 1.0.88

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-core-cli",
3
- "version": "1.0.86",
3
+ "version": "1.0.88",
4
4
  "description": "Command Line Interface tool for generating project templates for the (Your Platform's Name) platform.",
5
5
  "main": "bin/index.js",
6
6
  "scripts": {
@@ -47,7 +47,7 @@ html {
47
47
  // width: calc(100% - 250px);
48
48
 
49
49
  &.collapsed {
50
- padding-left: 96px;
50
+ // padding-left: 96px;
51
51
  }
52
52
 
53
53
  .menu-lv4 {
@@ -454,7 +454,7 @@ html {
454
454
  .icon-collapsed {
455
455
  display: none !important ;
456
456
  }
457
-
457
+
458
458
  .logo-collapsed {
459
459
  width: 50px;
460
460
  }
@@ -503,7 +503,7 @@ html {
503
503
  justify-content: flex-end;
504
504
  display: flex !important;
505
505
  }
506
-
506
+
507
507
  .logo-collapsed {
508
508
  width: 80%;
509
509
  }
@@ -758,17 +758,18 @@ html {
758
758
  }
759
759
 
760
760
  a.no-icon {
761
- padding-left: 8px;
761
+ padding-left: 0px;
762
762
 
763
763
  &:hover {
764
- padding-left: 12px;
765
- }
764
+ padding-left: 8px;
765
+ }
766
766
  }
767
767
  }
768
768
 
769
769
  .ant-menu-submenu-title {
770
770
  .menu-label {
771
771
  transition: padding 0.2s;
772
+ padding-left: 4px;
772
773
  }
773
774
 
774
775
  &:hover {
@@ -882,11 +883,16 @@ html {
882
883
  border-radius: unset;
883
884
  background-color: unset;
884
885
  color: @menu-item-color !important;
886
+
885
887
 
886
888
  .ant-menu-submenu-arrow {
887
889
  color: @menu-item-color !important;
888
890
  }
889
891
  }
892
+
893
+ .ant-menu-sub.ant-menu-inline {
894
+ padding-left: 26px;
895
+ }
890
896
  }
891
897
 
892
898
  .icon_menu {
@@ -1431,4 +1437,4 @@ html {
1431
1437
  background-color: transparent;
1432
1438
  -webkit-tap-highlight-color: transparent;
1433
1439
  }
1434
- }
1440
+ }
@@ -1911,4 +1911,19 @@ h4.ant-typography {
1911
1911
 
1912
1912
  .chartwidget-canvas:hover .chartwidget-download-button {
1913
1913
  display: block;
1914
+ }
1915
+
1916
+ .buttonvariable{
1917
+ min-width: 180px;
1918
+ max-width: 100%;
1919
+ overflow: hidden;
1920
+ display: flex;
1921
+ text-align: center;
1922
+ justify-content: center;
1923
+ color: var(--text-color-var) !important;
1924
+ background-color: var(--background-color-var) !important;
1925
+ }
1926
+ .buttonvariable:hover{
1927
+ background-color: var(--background-color-hover-var) !important;
1928
+ color: var(--text-color-hover-var) !important;
1914
1929
  }
@@ -425,7 +425,8 @@ export class CoreController {
425
425
  @Basic()
426
426
  @Patch("/:entity/import_validate")
427
427
  async importValidate(@Param() params: any, @Body() body): Promise<boolean> {
428
- return this.service.importValidate(params.entity, body.data,
428
+ return this.service.importValidate(params.entity, body.data, body.id,
429
+ body.code,
429
430
  body.original_data,
430
431
  body.filename);
431
432
  }
@@ -616,12 +616,14 @@ export class CoreService implements OnModuleInit {
616
616
 
617
617
  public async importValidate(
618
618
  entityName: string,
619
+ id: string,
620
+ code: string,
619
621
  data: any,
620
622
  originalData,
621
623
  filename
622
624
  ): Promise<any> {
623
625
  const service = await this._getService(entityName);
624
- return service.importValidate(data, originalData, filename);
626
+ return service.importValidate(id, code, data, originalData, filename);
625
627
  }
626
628
  }
627
629