@agorapulse/ui-symbol 1.0.0-SNAPSHOT

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.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agorapulse-ui-symbol.js","sources":["../../../libs/ui-symbol/src/lib/symbol/symbol.component.ts","../../../libs/ui-symbol/src/lib/symbol/agorapulse-ui-symbol.module.ts","../../../libs/ui-symbol/src/lib/symbol/symbol.const.ts","../../../libs/ui-symbol/index.ts","../../../libs/ui-symbol/agorapulse-ui-symbol.ts"],"sourcesContent":["// Agorapulse\nimport {ChangeDetectionStrategy, Component, Input, OnChanges, SimpleChanges} from '@angular/core';\n// Internal\nimport {customSvgsSymbolIds, flagSymbolIds, officialSymbolIds, symbolIds, SymbolType} from \"./symbol.const\";\n\n@Component({\n changeDetection: ChangeDetectionStrategy.OnPush,\n selector: 'ap-symbol',\n styleUrls: ['./symbol.component.scss'],\n templateUrl: './symbol.component.html'\n})\nexport class SymbolComponent implements OnChanges {\n\n @Input() color: string | 'black' | 'white' | 'azure' | 'blood-orange' | 'grey' | 'grey-blue' | 'facebook' | 'google' | 'instagram' | 'linkedin' | 'twitter' | 'youtube' | 'basic-grey' = '';\n // Deprecated use name instead of id\n @Input() id: string;\n @Input() symbolId: SymbolType<typeof symbolIds> | SymbolType<typeof officialSymbolIds> |\n SymbolType<typeof customSvgsSymbolIds> | SymbolType<typeof flagSymbolIds>;\n @Input() size: string | 'none' | 'pico' | 'nano' | 'micro' | 'mini' | 'small' | 'medium' | 'normal' | 'large' = 'none';\n @Input() state: string;\n customSize: any;\n customColor: any;\n\n customIcons: any = {\n 'instagram-official': 'instagram-official.svg',\n 'instagram-story-custom': 'instagram-story-custom.svg'\n };\n\n readonly strokedIcons: string[] = ['love-it-alternate'];\n\n ngOnChanges(changes: SimpleChanges): void {\n if (changes.size && changes.size.currentValue) {\n const parsed = Number.parseInt(changes.size.currentValue, 10);\n if (!isNaN(parsed)) {\n this.size = null;\n this.customSize = {\n 'width' : `${parsed}px` ,\n 'min-width' : `${parsed}px` ,\n 'max-width' : `${parsed}px` ,\n 'max-height' : `${parsed}px` ,\n };\n } else {\n this.customSize = null;\n }\n }\n if (changes.color && changes.color.currentValue) {\n const regexHex = /#[a-zA-Z0-9]{3,6}/;\n const color = changes.color.currentValue;\n if (regexHex.exec(color)) {\n if (this.strokedIcons.includes(this.symbolId)) {\n this.customColor = {\n 'fill' : `${color}`,\n 'stroke' : `${color}`\n };\n } else {\n this.customColor = {\n 'fill' : `${color}`\n };\n }\n } else {\n this.customColor = null;\n }\n }\n\n if (changes.id && changes.id.currentValue) {\n console.warn(\"'id' attribute is deprecated. Use 'symbolId' instead.\")\n }\n }\n}\n","// Angular\nimport {NgModule} from '@angular/core';\nimport {CommonModule} from '@angular/common';\n// Internal\nimport {SymbolComponent} from \"./symbol.component\";\n\n\n@NgModule({\n declarations: [\n SymbolComponent,\n ],\n imports: [\n CommonModule\n ],\n exports: [\n SymbolComponent,\n ]\n})\nexport class AgorapulseUiSymbolModule {\n}\n","export type SymbolType<T extends ReadonlyArray<unknown>> = T extends ReadonlyArray<infer ElementType> ? ElementType : never;\n\nexport const symbolIds = [\n 'add',\n 'add-circle-bold-alternate',\n 'add-square-alternate',\n 'agorapulse-square-logo',\n 'alarm-bell-1',\n 'alarm-clock-1-alternate',\n 'alert-circle',\n 'alert-triangle',\n 'analytics-bars',\n 'analytics-board-bars',\n 'analytics-board-graph-line',\n 'app-window-expand',\n 'app-window-search-text',\n 'app-window-link',\n 'arrow-button-down',\n 'arrow-button-down-2',\n 'arrow-button-left',\n 'arrow-button-right',\n 'arrow-button-up',\n 'arrow-button-up-2',\n 'arrow-circle-right',\n 'arrow-corner-right',\n 'arrow-down-1',\n 'arrow-left-1',\n 'arrow-right',\n 'arrow-right-1',\n 'arrow-right-long',\n 'arrow-thick-circle-bottom-right-corner-2',\n 'arrow-thick-circle-right-2',\n 'arrow-thick-circle-top-right-corner-2',\n 'arrow-thick-down-2',\n 'arrow-thick-left-2',\n 'arrow-thick-right-2',\n 'arrow-thick-up-2',\n 'arrow-up-1',\n 'artboard-image-1',\n 'attachment',\n 'bin',\n 'bin-1',\n 'bin-2',\n 'bitly',\n 'button-play',\n 'button-refresh-arrow',\n 'bookmarks-1',\n 'bookmarks-1-alternate',\n 'bookmarks-document',\n 'calendar',\n 'calendar-3',\n 'calendar-add-1',\n 'canva',\n 'certified-certificate',\n 'check-1',\n 'check-2',\n 'check-circle',\n 'close',\n 'cog',\n 'cog-1',\n 'common-file-text-alternate',\n 'common-file-stack-alternate',\n 'common-file-upload',\n 'competitors',\n 'content-pencil-write',\n 'controls-play',\n 'conversation-chat-1',\n 'conversation-chat-1-alternate',\n 'copy-paste',\n 'country-targeting',\n 'country-targeting-active',\n 'credit-card-1-alternate',\n 'cursor-double-click-3',\n 'custom-facebook-comment',\n 'custom-facebook-like',\n 'custom-facebook-share',\n 'custom-twitter-comment',\n 'custom-twitter-like',\n 'custom-twitter-retweet',\n 'custom-twitter-retweet-full',\n 'custom-twitter-share',\n 'custom-inbox-post',\n 'custom-instagram-bookmark',\n 'custom-instagram-comment',\n 'custom-instagram-like',\n 'custom-instagram-share',\n 'custom-linkedin-comment',\n 'custom-linkedin-like',\n 'custom-linkedin-share',\n 'data-file-bars-add',\n 'data-transfer-vertical',\n 'data-transfer-vertical-bi-color-down',\n 'data-transfer-vertical-bi-color-up',\n 'data-transfer-square-horizontal',\n 'design-file-text-alternate',\n 'delete',\n 'delete-2-alternate',\n 'dislike-1',\n 'download-bottom',\n 'drawer-download',\n 'drawer-open',\n 'earth-heart',\n 'earth-search',\n 'email-action-add',\n 'email-action-reply',\n 'email-action-subtract',\n 'envelope-letter',\n 'excel',\n 'facebook',\n 'famous-people-man-steve-jobs',\n 'filter-1',\n 'filter-2',\n 'flip-right',\n 'folder-add-alternate',\n 'folder-empty',\n 'folder-media-alternate',\n 'folder-search-alternate',\n 'google-analytics',\n 'hash',\n 'headphones-customer-support-human',\n 'headphones-customer-support-human-1',\n 'help-wheel',\n 'hourglass-alternate',\n 'house-chimney-1',\n 'hyperlink-3',\n 'image-file-bmp',\n 'image-file-jpg',\n 'image-file-gif',\n 'image-file-landscape',\n 'image-file-landscape-2',\n 'image-file-png',\n 'information',\n 'information-circle',\n 'instagram',\n 'instagram-outline',\n 'iris-scan-approved',\n 'keyboard-arrow-bottom-right',\n 'keyboard-arrow-right',\n 'keyboard-arrow-top-right',\n 'language-targeting',\n 'language-targeting-active',\n 'layers-hide',\n 'layers-show',\n 'layout-3',\n 'layout-module',\n 'layout-module-1',\n 'layout-agenda',\n 'layout-bullets',\n 'like-1',\n 'linkedin',\n 'list-bullets',\n 'logout-1-alternate',\n 'love-it',\n 'love-it-alternate',\n 'love-it-alternate-bold',\n 'love-it-circle',\n 'meetings-camera',\n 'megaphone',\n 'messages-bubble',\n 'messages-bubble-alternate',\n 'messages-bubble-empty-alternate',\n 'messages-bubble-forward',\n 'messages-bubble-graph',\n 'messages-bubble-square-menu-alternate',\n 'messages-bubble-square-text',\n 'mobile-phone',\n 'module-three-1',\n 'money-wallet-open',\n 'move-to-bottom',\n 'multiple-man-1',\n 'multiple-users-1',\n 'natural-disaster-hurricane-radar-1',\n 'navigation-menu-horizontal',\n 'navigation-menu-vertical',\n 'network-search',\n 'notes-add',\n 'notes-text-flip-3',\n 'notes-book-text',\n 'notes-paper',\n 'notes-paper-approve',\n 'notes-paper-text-2',\n 'office-outdoors',\n 'open-new-tab',\n 'open-quote',\n 'paginate-filter-picture',\n 'payment-paypal',\n 'pencil-1',\n 'pencil-2',\n 'pencil-write-2-alternate',\n 'people-man-graduate',\n 'performance-increase',\n 'phone-ring-1',\n 'picture-landscape',\n 'picture-polaroid-landscape',\n 'picture-stack-landscape',\n 'pin',\n 'pin-active',\n 'pin-location',\n 'powerpoint',\n 'premium-star',\n 'question-circle',\n 'rating-star',\n 'read-email-at-alternate',\n 'remove-circle',\n 'remove-circle-bold-alternate',\n 'rotate-back',\n 'search-alternate',\n 'send-email-2-alternate',\n 'send-email-3',\n 'settings-slider-alternate-1',\n 'settings-vertical',\n 'share',\n 'shared-calendar',\n 'show-theater-mask-happy',\n 'single-man',\n 'single-neutral',\n 'small-caps',\n 'smiley-happy-alternate',\n 'smiley-happy-alternate-custom',\n 'social-media-retweet',\n 'subtract',\n 'synchronize-arrow-clock',\n 'synchronize-arrows-1',\n 'tags-alternate-active',\n 'tags-add-alternate',\n 'tags-alternate',\n 'taking-pictures-circle-alternate',\n 'taking-pictures-circle-alternate-active',\n 'taking-videos-circle-alternate',\n 'taking-videos-circle-alternate-active',\n 'task-checklist-check',\n 'task-list-clock',\n 'task-list-multiple',\n 'time-clock-circle',\n 'time-clock-circle-alternate',\n 'twitter',\n 'twitter-circle',\n 'twitter-link-placeholder',\n 'union',\n 'upload-button',\n 'vectors-anchor-square-alternate',\n 'video-file-avi',\n 'video-file-flv',\n 'video-file-mov',\n 'video-file-mpg',\n 'video-file-mp4',\n 'video-file-m4v',\n 'video-file-play-alternate',\n 'view',\n 'view-off',\n 'view-off-full',\n 'view-on',\n 'view-on-full',\n 'volume-control-full',\n 'volume-control-off',\n 'wifi-signal-4',\n 'youtube'\n];\n\nexport const officialSymbolIds = [\n 'facebook-official',\n 'google-official',\n 'google-analytics-official',\n 'instagram-official',\n 'linkedin-official',\n 'twitter-official',\n 'youtube-official'\n];\n\nexport const customSvgsSymbolIds = [\n 'instagram-story-custom'\n];\n\nexport const flagSymbolIds = [\n 'agorapulse-en-flag',\n 'agorapulse-fr-flag',\n 'agorapulse-pt-flag',\n 'agorapulse-es-flag',\n 'agorapulse-de-flag',\n];\n","/*\n * Public API Surface of ui-symbol\n */\n\nexport * from './src/lib/symbol/agorapulse-ui-symbol.module';\nexport * from './src/lib/symbol/symbol.const';\nexport {SymbolComponent} from './src/lib/symbol/symbol.component';\n\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAAA;MAWa,eAAe;IAN5B;QAQa,UA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tB,iBAAiB;IACjB,oBAAoB;IACpB,mBAAmB;IACnB,6BAA6B;IAC7B,SAAS;IACT,gBAAgB;IAChB,0BAA0B;IAC1B,OAAO;IACP,eAAe;IACf,iCAAiC;IACjC,gBAAgB;IAChB,gBAAgB;IAChB,gBAAgB;IAChB,gBAAgB;IAChB,gBAAgB;IAChB,gBAAgB;IAChB,2BAA2B;IAC3B,MAAM;IACN,UAAU;IACV,eAAe;IACf,SAAS;IACT,cAAc;IACd,qBAAqB;IACrB,oBAAoB;IACpB,eAAe;IACf,SAAS;EACX;MAEW,iBAAiB,GAAG;IAC7B,mBAAmB;IACnB,iBAAiB;IACjB,2BAA2B;IAC3B,oBAAoB;IACpB,mBAAmB;IACnB,kBAAkB;IAClB,kBAAkB;EACpB;MAEW,mBAAmB,GAAG;IAC/B,wBAAwB;EAC1B;MAEW,aAAa,GAAG;IACzB,oBAAoB;IACpB,oBAAoB;IACpB,oBAAoB;IACpB,oBAAoB;IACpB,oBAAoB;;;ACtRxB;;;;ACAA;;;;;;"}
package/index.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ export * from './src/lib/symbol/agorapulse-ui-symbol.module';
2
+ export * from './src/lib/symbol/symbol.const';
3
+ export { SymbolComponent } from './src/lib/symbol/symbol.component';
package/package.json ADDED
@@ -0,0 +1,29 @@
1
+ {
2
+ "name": "@agorapulse/ui-symbol",
3
+ "description": "Agorapulse UI Components Library",
4
+ "version": "1.0.0-SNAPSHOT",
5
+ "author": "Benoit Hediard",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/agorapulse/design.git"
9
+ },
10
+ "bugs": {
11
+ "url": "https://github.com/agorapulse/design/issues"
12
+ },
13
+ "homepage": "https://github.com/agorapulse/design",
14
+ "peerDependencies": {
15
+ "@angular/common": "^12.2.0",
16
+ "@angular/core": "^12.2.0"
17
+ },
18
+ "main": "bundles/agorapulse-ui-symbol.umd.js",
19
+ "module": "fesm2015/agorapulse-ui-symbol.js",
20
+ "es2015": "fesm2015/agorapulse-ui-symbol.js",
21
+ "esm2015": "esm2015/agorapulse-ui-symbol.js",
22
+ "fesm2015": "fesm2015/agorapulse-ui-symbol.js",
23
+ "typings": "agorapulse-ui-symbol.d.ts",
24
+ "metadata": "agorapulse-ui-symbol.metadata.json",
25
+ "sideEffects": false,
26
+ "dependencies": {
27
+ "tslib": "^2.2.0"
28
+ }
29
+ }
@@ -0,0 +1,2 @@
1
+ export declare class AgorapulseUiSymbolModule {
2
+ }
@@ -0,0 +1,14 @@
1
+ import { OnChanges, SimpleChanges } from '@angular/core';
2
+ import { customSvgsSymbolIds, flagSymbolIds, officialSymbolIds, symbolIds, SymbolType } from "./symbol.const";
3
+ export declare class SymbolComponent implements OnChanges {
4
+ color: string | 'black' | 'white' | 'azure' | 'blood-orange' | 'grey' | 'grey-blue' | 'facebook' | 'google' | 'instagram' | 'linkedin' | 'twitter' | 'youtube' | 'basic-grey';
5
+ id: string;
6
+ symbolId: SymbolType<typeof symbolIds> | SymbolType<typeof officialSymbolIds> | SymbolType<typeof customSvgsSymbolIds> | SymbolType<typeof flagSymbolIds>;
7
+ size: string | 'none' | 'pico' | 'nano' | 'micro' | 'mini' | 'small' | 'medium' | 'normal' | 'large';
8
+ state: string;
9
+ customSize: any;
10
+ customColor: any;
11
+ customIcons: any;
12
+ readonly strokedIcons: string[];
13
+ ngOnChanges(changes: SimpleChanges): void;
14
+ }
@@ -0,0 +1,5 @@
1
+ export declare type SymbolType<T extends ReadonlyArray<unknown>> = T extends ReadonlyArray<infer ElementType> ? ElementType : never;
2
+ export declare const symbolIds: string[];
3
+ export declare const officialSymbolIds: string[];
4
+ export declare const customSvgsSymbolIds: string[];
5
+ export declare const flagSymbolIds: string[];