@dev-tcloud/tcloud-ui 0.1.6 → 0.1.8

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.
@@ -2,8 +2,9 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./tooltip/tooltip.directive";
3
3
  import * as i2 from "./align/align.directive";
4
4
  import * as i3 from "./hover-parent/hover-parent.directive";
5
+ import * as i4 from "./el-copy/el-copy.directive";
5
6
  export declare class TCloudUiDirectiveModule {
6
7
  static ɵfac: i0.ɵɵFactoryDeclaration<TCloudUiDirectiveModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<TCloudUiDirectiveModule, [typeof i1.TCloudUiTooltipDirective, typeof i2.TCloudUiAlignDirective, typeof i3.TCloudUiHoverParentDirective], never, [typeof i1.TCloudUiTooltipDirective, typeof i2.TCloudUiAlignDirective, typeof i3.TCloudUiHoverParentDirective]>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TCloudUiDirectiveModule, [typeof i1.TCloudUiTooltipDirective, typeof i2.TCloudUiAlignDirective, typeof i3.TCloudUiHoverParentDirective, typeof i4.TCloudUiElCopyDirective], never, [typeof i1.TCloudUiTooltipDirective, typeof i2.TCloudUiAlignDirective, typeof i3.TCloudUiHoverParentDirective, typeof i4.TCloudUiElCopyDirective]>;
8
9
  static ɵinj: i0.ɵɵInjectorDeclaration<TCloudUiDirectiveModule>;
9
10
  }
@@ -0,0 +1,13 @@
1
+ import { ElementRef, OnInit, Renderer2 } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TCloudUiElCopyDirective implements OnInit {
4
+ private el;
5
+ private renderer;
6
+ private _isCopy;
7
+ constructor(el: ElementRef, renderer: Renderer2);
8
+ ngOnInit(): void;
9
+ setItemFuncCopy(): void;
10
+ generateID(target?: string): string;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<TCloudUiElCopyDirective, never>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TCloudUiElCopyDirective, "[TCCopy]", never, {}, {}, never, never, false>;
13
+ }
@@ -3,9 +3,11 @@ import * as i0 from "@angular/core";
3
3
  export declare class TCloudUiTooltipDirective {
4
4
  private el;
5
5
  private renderer;
6
+ remove: boolean;
6
7
  info_text: string;
7
8
  onMouseOver(event: MouseEvent): void;
8
9
  onMouseOut(event: MouseEvent): void;
10
+ remove_tooltip(customDiv: any): void;
9
11
  set TCtooltip(tooltip: any);
10
12
  private _direction;
11
13
  set TCdirection(direction: any);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev-tcloud/tcloud-ui",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.1.0",
6
6
  "@angular/core": "^14.1.0"
package/public-api.d.ts CHANGED
@@ -55,6 +55,7 @@ export * from './lib/_directives/directives.module';
55
55
  export * from './lib/_directives/tooltip/tooltip.directive';
56
56
  export * from './lib/_directives/align/align.directive';
57
57
  export * from './lib/_directives/hover-parent/hover-parent.directive';
58
+ export * from './lib/_directives/el-copy/el-copy.directive';
58
59
  export * from './lib/_pipes/tcloud-pipes.module';
59
60
  export * from './lib/_pipes/index';
60
61
  export * from './lib/_services/loading-transitions.service';
@@ -0,0 +1,6 @@
1
+ .tcloud-ui-el-copy{
2
+ color: inherit;
3
+ &:hover{
4
+ opacity: 0.6;
5
+ }
6
+ }
@@ -14,6 +14,12 @@
14
14
  color: var(--color-text-tooltip) !important;
15
15
  z-index: 9999;
16
16
  position: absolute;
17
+
18
+ a{
19
+ color: var(--color-text-tooltip) !important;
20
+ font-weight: bold;
21
+ text-decoration: underline !important;
22
+ }
17
23
  }
18
24
 
19
25
  .tc-directive-tooltip-top:before{
@@ -4,3 +4,4 @@
4
4
  @import 'custom/table.scss';
5
5
  @import 'custom/tooltip.scss';
6
6
  @import 'custom/validation.scss';
7
+ @import 'custom/el-copy.scss';