|
21 | 21 | "methods": [], |
22 | 22 | "extends": "JUser" |
23 | 23 | }, |
| 24 | + { |
| 25 | + "name": "ButtonProps", |
| 26 | + "id": "interface-ButtonProps-80336ca223ec2db03b581e9533ee38c2", |
| 27 | + "file": "src/app/jira-control/button/button.stories.ts", |
| 28 | + "type": "interface", |
| 29 | + "sourceCode": "import { Meta, Story } from '@storybook/angular';\nimport { ButtonComponent } from './button.component';\n\nexport default {\n title: 'Components/Button',\n component: ButtonComponent\n} as Meta;\n\ninterface ButtonProps extends ButtonComponent {\n label: string;\n}\n\nconst Template: Story<ButtonComponent> = ({ label, className }: Partial<ButtonProps>) => ({\n component: ButtonComponent,\n moduleMetadata: {\n declarations: [ButtonComponent], // Removed if no template\n imports: []\n },\n template: `<j-button className='${className}'>${label}</j-button>`\n});\n\nexport const Primary: Story<ButtonProps> = Template.bind({});\nPrimary.args = {\n className: 'btn-primary',\n label: 'Primary'\n};\n\nexport const Secondary: Story<ButtonProps> = Template.bind({});\nSecondary.args = {\n className: 'btn-secondary',\n label: 'Secondary'\n};\n\nexport const Empty: Story<ButtonProps> = Template.bind({});\nEmpty.args = {\n icon: \"times\",\n className: 'btn-empty',\n label: 'Cancel'\n};\n", |
| 30 | + "properties": [ |
| 31 | + { |
| 32 | + "name": "label", |
| 33 | + "type": "string", |
| 34 | + "optional": false, |
| 35 | + "description": "", |
| 36 | + "line": 10 |
| 37 | + } |
| 38 | + ], |
| 39 | + "indexSignatures": [], |
| 40 | + "kind": 150, |
| 41 | + "methods": [], |
| 42 | + "extends": "ButtonComponent" |
| 43 | + }, |
24 | 44 | { |
25 | 45 | "name": "EnvironmentModel", |
26 | 46 | "id": "interface-EnvironmentModel-c0087a9667cca7c104b85aa4bebc9698", |
|
7288 | 7308 | "subtype": "variable", |
7289 | 7309 | "file": "src/app/jira-control/avatar/avatar.stories.ts", |
7290 | 7310 | "type": "string", |
7291 | | - "defaultValue": "'https://res.cloudinary.com/dvujyxh7e/image/upload/c_scale,%3Cspan%20class="x x-first x-last">w_48/v1593253478/trung-vo_bioxmc.png'" |
| 7311 | + "defaultValue": "'https://res.cloudinary.com/dvujyxh7e/image/upload/c_scale,%3Cspan%20class="x x-first x-last">w_128/v1593253478/trung-vo_bioxmc.png'" |
7292 | 7312 | }, |
7293 | 7313 | { |
7294 | 7314 | "name": "BASE_TIMER_DELAY", |
|
7322 | 7342 | "type": "Story<BreadcrumbsComponent>", |
7323 | 7343 | "defaultValue": "Template.bind({})" |
7324 | 7344 | }, |
| 7345 | + { |
| 7346 | + "name": "Empty", |
| 7347 | + "ctype": "miscellaneous", |
| 7348 | + "subtype": "variable", |
| 7349 | + "file": "src/app/jira-control/button/button.stories.ts", |
| 7350 | + "type": "Story<ButtonProps>", |
| 7351 | + "defaultValue": "Template.bind({})" |
| 7352 | + }, |
7325 | 7353 | { |
7326 | 7354 | "name": "environment", |
7327 | 7355 | "ctype": "miscellaneous", |
|
7338 | 7366 | "type": "EnvironmentModel", |
7339 | 7367 | "defaultValue": "{\n production: true,\n apiUrl: '/assets/data' // 'https://jira-clone-angular-api.herokuapp.com'\n}" |
7340 | 7368 | }, |
| 7369 | + { |
| 7370 | + "name": "Flat", |
| 7371 | + "ctype": "miscellaneous", |
| 7372 | + "subtype": "variable", |
| 7373 | + "file": "src/app/jira-control/input/input.stories.ts", |
| 7374 | + "type": "Story<InputComponent>", |
| 7375 | + "defaultValue": "Template.bind({})" |
| 7376 | + }, |
7341 | 7377 | { |
7342 | 7378 | "name": "GOOGLE_ANALYTICS_ID", |
7343 | 7379 | "ctype": "miscellaneous", |
|
7401 | 7437 | "type": "IconDefinition[]", |
7402 | 7438 | "defaultValue": "[\n QuestionCircleFill,\n PlusOutline,\n SearchOutline,\n CloseOutline,\n TwitterOutline,\n EditOutline\n]" |
7403 | 7439 | }, |
| 7440 | + { |
| 7441 | + "name": "Primary", |
| 7442 | + "ctype": "miscellaneous", |
| 7443 | + "subtype": "variable", |
| 7444 | + "file": "src/app/jira-control/button/button.stories.ts", |
| 7445 | + "type": "Story<ButtonProps>", |
| 7446 | + "defaultValue": "Template.bind({})" |
| 7447 | + }, |
7404 | 7448 | { |
7405 | 7449 | "name": "quillConfiguration", |
7406 | 7450 | "ctype": "miscellaneous", |
|
7424 | 7468 | "type": "Story<AvatarComponent>", |
7425 | 7469 | "defaultValue": "Template.bind({})" |
7426 | 7470 | }, |
| 7471 | + { |
| 7472 | + "name": "Secondary", |
| 7473 | + "ctype": "miscellaneous", |
| 7474 | + "subtype": "variable", |
| 7475 | + "file": "src/app/jira-control/button/button.stories.ts", |
| 7476 | + "type": "Story<ButtonProps>", |
| 7477 | + "defaultValue": "Template.bind({})" |
| 7478 | + }, |
7427 | 7479 | { |
7428 | 7480 | "name": "SideBarLinks", |
7429 | 7481 | "ctype": "miscellaneous", |
|
7440 | 7492 | "type": "Story<AvatarComponent>", |
7441 | 7493 | "defaultValue": "Template.bind({})" |
7442 | 7494 | }, |
| 7495 | + { |
| 7496 | + "name": "Template", |
| 7497 | + "ctype": "miscellaneous", |
| 7498 | + "subtype": "variable", |
| 7499 | + "file": "src/app/jira-control/input/input.stories.ts", |
| 7500 | + "type": "Story<InputComponent>", |
| 7501 | + "defaultValue": "(args: InputComponent) => ({\n component: InputComponent,\n props: args\n})" |
| 7502 | + }, |
| 7503 | + { |
| 7504 | + "name": "Template", |
| 7505 | + "ctype": "miscellaneous", |
| 7506 | + "subtype": "variable", |
| 7507 | + "file": "src/app/jira-control/button/button.stories.ts", |
| 7508 | + "type": "Story<ButtonComponent>", |
| 7509 | + "defaultValue": "({ label, className }: Partial<ButtonProps>) => ({\n component: ButtonComponent,\n moduleMetadata: {\n declarations: [ButtonComponent], // Removed if no template\n imports: []\n },\n template: `<j-button className='${className}'>${label}</j-button>`\n})" |
| 7510 | + }, |
7443 | 7511 | { |
7444 | 7512 | "name": "Template", |
7445 | 7513 | "ctype": "miscellaneous", |
|
7612 | 7680 | "subtype": "variable", |
7613 | 7681 | "file": "src/app/jira-control/avatar/avatar.stories.ts", |
7614 | 7682 | "type": "string", |
7615 | | - "defaultValue": "'https://res.cloudinary.com/dvujyxh7e/image/upload/c_scale,%3Cspan%20class="x x-first x-last">w_48/v1593253478/trung-vo_bioxmc.png'" |
| 7683 | + "defaultValue": "'https://res.cloudinary.com/dvujyxh7e/image/upload/c_scale,%3Cspan%20class="x x-first x-last">w_128/v1593253478/trung-vo_bioxmc.png'" |
7616 | 7684 | }, |
7617 | 7685 | { |
7618 | 7686 | "name": "Rounded", |
|
7694 | 7762 | "defaultValue": "(args: BreadcrumbsComponent) => ({\n component: BreadcrumbsComponent,\n props: args\n})" |
7695 | 7763 | } |
7696 | 7764 | ], |
| 7765 | + "src/app/jira-control/button/button.stories.ts": [ |
| 7766 | + { |
| 7767 | + "name": "Empty", |
| 7768 | + "ctype": "miscellaneous", |
| 7769 | + "subtype": "variable", |
| 7770 | + "file": "src/app/jira-control/button/button.stories.ts", |
| 7771 | + "type": "Story<ButtonProps>", |
| 7772 | + "defaultValue": "Template.bind({})" |
| 7773 | + }, |
| 7774 | + { |
| 7775 | + "name": "Primary", |
| 7776 | + "ctype": "miscellaneous", |
| 7777 | + "subtype": "variable", |
| 7778 | + "file": "src/app/jira-control/button/button.stories.ts", |
| 7779 | + "type": "Story<ButtonProps>", |
| 7780 | + "defaultValue": "Template.bind({})" |
| 7781 | + }, |
| 7782 | + { |
| 7783 | + "name": "Secondary", |
| 7784 | + "ctype": "miscellaneous", |
| 7785 | + "subtype": "variable", |
| 7786 | + "file": "src/app/jira-control/button/button.stories.ts", |
| 7787 | + "type": "Story<ButtonProps>", |
| 7788 | + "defaultValue": "Template.bind({})" |
| 7789 | + }, |
| 7790 | + { |
| 7791 | + "name": "Template", |
| 7792 | + "ctype": "miscellaneous", |
| 7793 | + "subtype": "variable", |
| 7794 | + "file": "src/app/jira-control/button/button.stories.ts", |
| 7795 | + "type": "Story<ButtonComponent>", |
| 7796 | + "defaultValue": "({ label, className }: Partial<ButtonProps>) => ({\n component: ButtonComponent,\n moduleMetadata: {\n declarations: [ButtonComponent], // Removed if no template\n imports: []\n },\n template: `<j-button className='${className}'>${label}</j-button>`\n})" |
| 7797 | + } |
| 7798 | + ], |
7697 | 7799 | "src/environments/environment.ts": [ |
7698 | 7800 | { |
7699 | 7801 | "name": "environment", |
|
7714 | 7816 | "defaultValue": "{\n production: true,\n apiUrl: '/assets/data' // 'https://jira-clone-angular-api.herokuapp.com'\n}" |
7715 | 7817 | } |
7716 | 7818 | ], |
| 7819 | + "src/app/jira-control/input/input.stories.ts": [ |
| 7820 | + { |
| 7821 | + "name": "Flat", |
| 7822 | + "ctype": "miscellaneous", |
| 7823 | + "subtype": "variable", |
| 7824 | + "file": "src/app/jira-control/input/input.stories.ts", |
| 7825 | + "type": "Story<InputComponent>", |
| 7826 | + "defaultValue": "Template.bind({})" |
| 7827 | + }, |
| 7828 | + { |
| 7829 | + "name": "Template", |
| 7830 | + "ctype": "miscellaneous", |
| 7831 | + "subtype": "variable", |
| 7832 | + "file": "src/app/jira-control/input/input.stories.ts", |
| 7833 | + "type": "Story<InputComponent>", |
| 7834 | + "defaultValue": "(args: InputComponent) => ({\n component: InputComponent,\n props: args\n})" |
| 7835 | + } |
| 7836 | + ], |
7717 | 7837 | "src/app/core/services/google-analytics.service.ts": [ |
7718 | 7838 | { |
7719 | 7839 | "name": "GOOGLE_ANALYTICS_ID", |
|
8243 | 8363 | "coverageCount": "0/10", |
8244 | 8364 | "status": "low" |
8245 | 8365 | }, |
| 8366 | + { |
| 8367 | + "filePath": "src/app/jira-control/button/button.stories.ts", |
| 8368 | + "type": "interface", |
| 8369 | + "linktype": "interface", |
| 8370 | + "name": "ButtonProps", |
| 8371 | + "coveragePercent": 0, |
| 8372 | + "coverageCount": "0/2", |
| 8373 | + "status": "low" |
| 8374 | + }, |
| 8375 | + { |
| 8376 | + "filePath": "src/app/jira-control/button/button.stories.ts", |
| 8377 | + "type": "variable", |
| 8378 | + "linktype": "miscellaneous", |
| 8379 | + "linksubtype": "variable", |
| 8380 | + "name": "Empty", |
| 8381 | + "coveragePercent": 0, |
| 8382 | + "coverageCount": "0/1", |
| 8383 | + "status": "low" |
| 8384 | + }, |
| 8385 | + { |
| 8386 | + "filePath": "src/app/jira-control/button/button.stories.ts", |
| 8387 | + "type": "variable", |
| 8388 | + "linktype": "miscellaneous", |
| 8389 | + "linksubtype": "variable", |
| 8390 | + "name": "Primary", |
| 8391 | + "coveragePercent": 0, |
| 8392 | + "coverageCount": "0/1", |
| 8393 | + "status": "low" |
| 8394 | + }, |
| 8395 | + { |
| 8396 | + "filePath": "src/app/jira-control/button/button.stories.ts", |
| 8397 | + "type": "variable", |
| 8398 | + "linktype": "miscellaneous", |
| 8399 | + "linksubtype": "variable", |
| 8400 | + "name": "Secondary", |
| 8401 | + "coveragePercent": 0, |
| 8402 | + "coverageCount": "0/1", |
| 8403 | + "status": "low" |
| 8404 | + }, |
| 8405 | + { |
| 8406 | + "filePath": "src/app/jira-control/button/button.stories.ts", |
| 8407 | + "type": "variable", |
| 8408 | + "linktype": "miscellaneous", |
| 8409 | + "linksubtype": "variable", |
| 8410 | + "name": "Template", |
| 8411 | + "coveragePercent": 0, |
| 8412 | + "coverageCount": "0/1", |
| 8413 | + "status": "low" |
| 8414 | + }, |
8246 | 8415 | { |
8247 | 8416 | "filePath": "src/app/jira-control/input/input.component.ts", |
8248 | 8417 | "type": "component", |
|
8252 | 8421 | "coverageCount": "0/10", |
8253 | 8422 | "status": "low" |
8254 | 8423 | }, |
| 8424 | + { |
| 8425 | + "filePath": "src/app/jira-control/input/input.stories.ts", |
| 8426 | + "type": "variable", |
| 8427 | + "linktype": "miscellaneous", |
| 8428 | + "linksubtype": "variable", |
| 8429 | + "name": "Flat", |
| 8430 | + "coveragePercent": 0, |
| 8431 | + "coverageCount": "0/1", |
| 8432 | + "status": "low" |
| 8433 | + }, |
| 8434 | + { |
| 8435 | + "filePath": "src/app/jira-control/input/input.stories.ts", |
| 8436 | + "type": "variable", |
| 8437 | + "linktype": "miscellaneous", |
| 8438 | + "linksubtype": "variable", |
| 8439 | + "name": "Template", |
| 8440 | + "coveragePercent": 0, |
| 8441 | + "coverageCount": "0/1", |
| 8442 | + "status": "low" |
| 8443 | + }, |
8255 | 8444 | { |
8256 | 8445 | "filePath": "src/app/jira-control/jira-control.module.ts", |
8257 | 8446 | "type": "variable", |
|
0 commit comments