cc-core-cli 1.0.87 → 1.0.89

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.87",
3
+ "version": "1.0.89",
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
  }
@@ -17,7 +17,7 @@
17
17
  "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix"
18
18
  },
19
19
  "dependencies": {
20
- "@shopstack/cc-core-lib": "^2.5.41"
20
+ "@shopstack/cc-core-lib": "^2.5.101"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@types/bull": "^3.14.4",
@@ -425,9 +425,14 @@ 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, body.id,
428
+ return this.service.importValidate(
429
+ params.entity,
430
+ body.id,
429
431
  body.code,
432
+ body.data,
433
+ body.data_text,
430
434
  body.original_data,
431
- body.filename);
435
+ body.filename
436
+ );
432
437
  }
433
438
  }
@@ -619,11 +619,19 @@ export class CoreService implements OnModuleInit {
619
619
  id: string,
620
620
  code: string,
621
621
  data: any,
622
+ dataText: string,
622
623
  originalData,
623
624
  filename
624
625
  ): Promise<any> {
625
626
  const service = await this._getService(entityName);
626
- return service.importValidate(id, code, data, originalData, filename);
627
+ return service.importValidate(
628
+ id,
629
+ code,
630
+ data,
631
+ dataText,
632
+ originalData,
633
+ filename
634
+ );
627
635
  }
628
636
  }
629
637