|
1 |
| -// TODO: please organize imports |
2 | 1 | import {
|
3 | 2 | CardDef,
|
| 3 | + BaseDef, |
| 4 | + Component, |
4 | 5 | contains,
|
5 |
| - linksTo, |
6 |
| - StringField, |
| 6 | + containsMany, |
7 | 7 | field,
|
| 8 | + linksTo, |
8 | 9 | linksToMany,
|
9 |
| - containsMany, |
10 |
| - FieldDef, |
11 | 10 | realmURL,
|
| 11 | + FieldDef, |
| 12 | + StringField, |
12 | 13 | } from 'https://cardstack.com/base/card-api';
|
13 |
| -import { Component, BaseDef } from 'https://cardstack.com/base/card-api'; |
| 14 | + |
| 15 | +import BooleanField from 'https://cardstack.com/base/boolean'; |
14 | 16 | import DateField from 'https://cardstack.com/base/date';
|
| 17 | +import MarkdownField from 'https://cardstack.com/base/markdown'; |
| 18 | + |
| 19 | +import { getCards, Query } from '@cardstack/runtime-common'; |
| 20 | +import type { LooseSingleCardDocument } from '@cardstack/runtime-common'; |
| 21 | + |
| 22 | +import { action } from '@ember/object'; |
| 23 | +import { restartableTask } from 'ember-concurrency'; |
| 24 | +import { on } from '@ember/modifier'; |
| 25 | + |
| 26 | +import { Account } from './account'; |
| 27 | +import { Company } from './company'; |
| 28 | +import { Contact } from './contact'; |
| 29 | +import { CrmApp } from '../crm-app'; |
| 30 | +import { DealEvent } from './deal-event'; |
| 31 | +import { DealPriority } from './deal-priority'; |
| 32 | +import { DealStatus } from './deal-status'; |
| 33 | + |
| 34 | +import { Address as AddressField } from '../fields/address'; |
| 35 | +import { AmountWithCurrency as AmountWithCurrencyField } from '../fields/amount-with-currency'; |
| 36 | +import { PercentageField } from '../fields/percentage'; |
| 37 | +import { WebsiteField } from '../fields/website'; |
| 38 | + |
| 39 | +import AccountHeader from '../components/account-header'; |
| 40 | +import { ContactRow } from '../components/contact-row'; |
| 41 | +import CrmProgressBar from '../components/crm-progress-bar'; |
| 42 | +import EntityDisplayWithIcon from '../components/entity-icon-display'; |
15 | 43 | import PageLayout from '../components/page-layout';
|
16 | 44 | import SummaryCard from '../components/summary-card';
|
17 | 45 | import SummaryGridContainer from '../components/summary-grid-container';
|
| 46 | + |
18 | 47 | import {
|
19 |
| - Pill, |
20 | 48 | BoxelButton,
|
21 | 49 | FieldContainer,
|
| 50 | + Pill, |
22 | 51 | SkeletonPlaceholder,
|
23 | 52 | } from '@cardstack/boxel-ui/components';
|
24 | 53 | import { cn, not } from '@cardstack/boxel-ui/helpers';
|
| 54 | + |
| 55 | +import Calendar from '@cardstack/boxel-icons/calendar'; |
25 | 56 | import Info from '@cardstack/boxel-icons/info';
|
26 |
| -import AccountHeader from '../components/account-header'; |
27 |
| -import CrmProgressBar from '../components/crm-progress-bar'; |
28 |
| -import EntityDisplayWithIcon from '../components/entity-icon-display'; |
29 |
| -import { Account } from './account'; |
30 |
| -import { action } from '@ember/object'; |
31 |
| -import { PercentageField } from '../fields/percentage'; |
32 |
| -import MarkdownField from 'https://cardstack.com/base/markdown'; |
33 |
| -import { Address as AddressField } from '../fields/address'; |
34 |
| -import { WebsiteField } from '../fields/website'; |
35 |
| -import { Contact } from './contact'; |
36 |
| -import { ContactRow } from '../components/contact-row'; |
37 |
| -import Users from '@cardstack/boxel-icons/users'; |
38 |
| -import World from '@cardstack/boxel-icons/world'; |
39 |
| -import { AmountWithCurrency as AmountWithCurrencyField } from '../fields/amount-with-currency'; |
40 |
| -import BooleanField from 'https://cardstack.com/base/boolean'; |
41 |
| -import { getCards } from '@cardstack/runtime-common'; |
42 |
| -import { Query } from '@cardstack/runtime-common/query'; |
43 |
| -import { Company } from './company'; |
44 |
| -import type { LooseSingleCardDocument } from '@cardstack/runtime-common'; |
45 |
| -import { restartableTask } from 'ember-concurrency'; |
46 |
| -import { on } from '@ember/modifier'; |
47 |
| -import { DealEvent } from './deal-event'; |
48 |
| -import { DealStatus } from './deal-status'; |
49 |
| -import { DealPriority } from './deal-priority'; |
50 |
| -import { CrmApp } from '../crm-app'; |
51 | 57 | import MapPin from '@cardstack/boxel-icons/map-pin';
|
52 |
| -import Calendar from '@cardstack/boxel-icons/calendar'; |
| 58 | +import Users from '@cardstack/boxel-icons/users'; |
53 | 59 | import UsersGroup from '@cardstack/boxel-icons/users-group';
|
| 60 | +import World from '@cardstack/boxel-icons/world'; |
54 | 61 |
|
55 | 62 | interface DealSizeSummary {
|
56 | 63 | summary: string;
|
|
0 commit comments