@mframework/ui 0.0.6-beta5 → 0.1.0-beta.0
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 +31 -21
- package/module.ts +0 -138
- package/runtime/assets/config/tailwind.conifg.js +0 -11
- package/runtime/assets/css/tailwind.css +0 -11
- package/runtime/design/tokens.ts +0 -22
- package/runtime/plugins/icon-switcher.ts +0 -32
- package/runtime/plugins/theme.ts +0 -29
- package/runtime/plugins/vuetify.js +0 -12
- package/runtime/plugins/vuetify.ts +0 -64
- package/runtime/search/client.ts +0 -25
- package/runtime/search/components/MSearch.vue +0 -19
- package/runtime/search/plugin.ts +0 -9
- package/tsconfig.json +0 -16
- package/type.d.ts +0 -5
- package/types/ui/api/global-search.js +0 -1
- package/types/ui/api/global-search.ts +0 -8
- package/types/ui/blocks/block-button-group.js +0 -1
- package/types/ui/blocks/block-button-group.ts +0 -7
- package/types/ui/blocks/block-button.js +0 -1
- package/types/ui/blocks/block-button.ts +0 -14
- package/types/ui/blocks/block-column.js +0 -1
- package/types/ui/blocks/block-column.ts +0 -20
- package/types/ui/blocks/block-cta.js +0 -1
- package/types/ui/blocks/block-cta.ts +0 -10
- package/types/ui/blocks/block-divider.js +0 -1
- package/types/ui/blocks/block-divider.ts +0 -4
- package/types/ui/blocks/block-faq.js +0 -1
- package/types/ui/blocks/block-faq.ts +0 -12
- package/types/ui/blocks/block-form.js +0 -1
- package/types/ui/blocks/block-form.ts +0 -8
- package/types/ui/blocks/block-gallery.js +0 -1
- package/types/ui/blocks/block-gallery.ts +0 -14
- package/types/ui/blocks/block-hero.js +0 -1
- package/types/ui/blocks/block-hero.ts +0 -12
- package/types/ui/blocks/block-html.js +0 -1
- package/types/ui/blocks/block-html.ts +0 -4
- package/types/ui/blocks/block-logocloud.js +0 -1
- package/types/ui/blocks/block-logocloud.ts +0 -14
- package/types/ui/blocks/block-quote.js +0 -1
- package/types/ui/blocks/block-quote.ts +0 -11
- package/types/ui/blocks/block-richtext.js +0 -1
- package/types/ui/blocks/block-richtext.ts +0 -7
- package/types/ui/blocks/block-steps.js +0 -1
- package/types/ui/blocks/block-steps.ts +0 -22
- package/types/ui/blocks/block-team.js +0 -1
- package/types/ui/blocks/block-team.ts +0 -6
- package/types/ui/blocks/block-testimonial.js +0 -1
- package/types/ui/blocks/block-testimonial.ts +0 -14
- package/types/ui/blocks/block-video.js +0 -1
- package/types/ui/blocks/block-video.ts +0 -10
- package/types/ui/blocks/block.js +0 -1
- package/types/ui/blocks/block.ts +0 -49
- package/types/ui/blocks/index.js +0 -1
- package/types/ui/blocks/index.ts +0 -18
- package/types/ui/component.js +0 -1
- package/types/ui/component.ts +0 -7
- package/types/ui/content/category.js +0 -1
- package/types/ui/content/category.ts +0 -11
- package/types/ui/content/form.js +0 -1
- package/types/ui/content/form.ts +0 -20
- package/types/ui/content/index.js +0 -1
- package/types/ui/content/index.ts +0 -6
- package/types/ui/content/page.js +0 -1
- package/types/ui/content/page.ts +0 -76
- package/types/ui/content/post.js +0 -1
- package/types/ui/content/post.ts +0 -39
- package/types/ui/content/team.js +0 -1
- package/types/ui/content/team.ts +0 -16
- package/types/ui/content/testimonial.js +0 -1
- package/types/ui/content/testimonial.ts +0 -19
- package/types/ui/env.d.ts +0 -8
- package/types/ui/form.js +0 -1
- package/types/ui/form.ts +0 -17
- package/types/ui/help/index.js +0 -1
- package/types/ui/help/index.ts +0 -53
- package/types/ui/meta/analytics.js +0 -1
- package/types/ui/meta/analytics.ts +0 -18
- package/types/ui/meta/config.js +0 -1
- package/types/ui/meta/config.ts +0 -21
- package/types/ui/meta/globals.js +0 -1
- package/types/ui/meta/globals.ts +0 -30
- package/types/ui/meta/index.js +0 -1
- package/types/ui/meta/index.ts +0 -6
- package/types/ui/meta/navigation.js +0 -1
- package/types/ui/meta/navigation.ts +0 -32
- package/types/ui/meta/redirect.js +0 -1
- package/types/ui/meta/redirect.ts +0 -13
- package/types/ui/meta/seo.js +0 -1
- package/types/ui/meta/seo.ts +0 -19
- package/types/ui/os/contact.js +0 -1
- package/types/ui/os/contact.ts +0 -23
- package/types/ui/os/conversation.js +0 -1
- package/types/ui/os/conversation.ts +0 -25
- package/types/ui/os/index.js +0 -1
- package/types/ui/os/index.ts +0 -16
- package/types/ui/os/organization.js +0 -1
- package/types/ui/os/organization.ts +0 -54
- package/types/ui/os/os-activity.js +0 -1
- package/types/ui/os/os-activity.ts +0 -28
- package/types/ui/os/os-deal.js +0 -1
- package/types/ui/os/os-deal.ts +0 -45
- package/types/ui/os/os-expense.js +0 -1
- package/types/ui/os/os-expense.ts +0 -22
- package/types/ui/os/os-invoice.js +0 -1
- package/types/ui/os/os-invoice.ts +0 -48
- package/types/ui/os/os-item.js +0 -1
- package/types/ui/os/os-item.ts +0 -18
- package/types/ui/os/os-payment.js +0 -1
- package/types/ui/os/os-payment.ts +0 -29
- package/types/ui/os/os-project.js +0 -1
- package/types/ui/os/os-project.ts +0 -47
- package/types/ui/os/os-proposal.js +0 -1
- package/types/ui/os/os-proposal.ts +0 -84
- package/types/ui/os/os-settings.js +0 -1
- package/types/ui/os/os-settings.ts +0 -19
- package/types/ui/os/os-subscription.js +0 -1
- package/types/ui/os/os-subscription.ts +0 -12
- package/types/ui/os/os-task.js +0 -1
- package/types/ui/os/os-task.ts +0 -34
- package/types/ui/os/os-tax-rate.js +0 -1
- package/types/ui/os/os-tax-rate.ts +0 -13
- package/types/ui/pageComponentMap.js +0 -7
- package/types/ui/pageComponentMap.ts +0 -8
- package/types/ui/pagination.js +0 -1
- package/types/ui/pagination.ts +0 -6
- package/types/ui/schema.d.ts +0 -39
- package/types/ui/schema.js +0 -1
- package/types/ui/schema.ts +0 -151
- package/types/ui/state.js +0 -1
- package/types/ui/state.ts +0 -5
- package/types/ui/system/file.js +0 -1
- package/types/ui/system/file.ts +0 -46
- package/types/ui/system/folder.js +0 -1
- package/types/ui/system/folder.ts +0 -8
- package/types/ui/system/index.js +0 -1
- package/types/ui/system/index.ts +0 -4
- package/types/ui/system/role.js +0 -1
- package/types/ui/system/role.ts +0 -21
- package/types/ui/system/user.js +0 -1
- package/types/ui/system/user.ts +0 -56
- package/types/ui.js +0 -1
- package/types/ui.ts +0 -23
- package/utils/color.js +0 -11
- package/utils/color.ts +0 -14
- package/utils/fonts.js +0 -18
- package/utils/fonts.ts +0 -24
- package/utils/formkit.js +0 -59
- package/utils/formkit.ts +0 -75
- package/utils/icons.js +0 -36
- package/utils/icons.ts +0 -62
package/types/ui/os/contact.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/types/ui/os/contact.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { User } from '../system';
|
|
2
|
-
import type { OrganizationContact, OsDealContact, OsActivityContact } from '.';
|
|
3
|
-
|
|
4
|
-
export interface Contact {
|
|
5
|
-
id?: string;
|
|
6
|
-
/** Is this an active contact? */
|
|
7
|
-
status?: string | null;
|
|
8
|
-
user_created?: (string | User) | null;
|
|
9
|
-
date_created?: string | null;
|
|
10
|
-
user_updated?: (string | User) | null;
|
|
11
|
-
date_updated?: string | null;
|
|
12
|
-
first_name?: string | null;
|
|
13
|
-
last_name?: string | null;
|
|
14
|
-
user?: (string | User) | null;
|
|
15
|
-
email?: string | null;
|
|
16
|
-
phone?: string | null;
|
|
17
|
-
job_title?: string | null;
|
|
18
|
-
contact_notes?: string | null;
|
|
19
|
-
organizations?: (string | OrganizationContact)[];
|
|
20
|
-
os_deals?: (string | OsDealContact)[];
|
|
21
|
-
activity?: string;
|
|
22
|
-
activities?: (string | OsActivityContact)[];
|
|
23
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type { User } from '../system';
|
|
2
|
-
|
|
3
|
-
export interface Conversation {
|
|
4
|
-
date_created?: string | null;
|
|
5
|
-
date_updated?: string | null;
|
|
6
|
-
id?: string;
|
|
7
|
-
status?: string;
|
|
8
|
-
title?: string | null;
|
|
9
|
-
visitor_id?: string | null;
|
|
10
|
-
item?: string | null;
|
|
11
|
-
collection?: string | null;
|
|
12
|
-
messages?: (string | Message)[];
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export interface Message {
|
|
16
|
-
conversation?: (string | Conversation) | null;
|
|
17
|
-
date_created?: string | null;
|
|
18
|
-
date_updated?: string | null;
|
|
19
|
-
id?: string;
|
|
20
|
-
text?: string | null;
|
|
21
|
-
user_created?: (string | User) | null;
|
|
22
|
-
user_updated?: (string | User) | null;
|
|
23
|
-
visitor_id?: string | null;
|
|
24
|
-
contact_id?: string | null;
|
|
25
|
-
}
|
package/types/ui/os/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/types/ui/os/index.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export type * from './contact';
|
|
2
|
-
export type * from './conversation';
|
|
3
|
-
export type * from './index';
|
|
4
|
-
export type * from './organization';
|
|
5
|
-
export type * from './os-activity';
|
|
6
|
-
export type * from './os-deal';
|
|
7
|
-
export type * from './os-expense';
|
|
8
|
-
export type * from './os-invoice';
|
|
9
|
-
export type * from './os-item';
|
|
10
|
-
export type * from './os-payment';
|
|
11
|
-
export type * from './os-project';
|
|
12
|
-
export type * from './os-proposal';
|
|
13
|
-
export type * from './os-settings';
|
|
14
|
-
export type * from './os-subscription';
|
|
15
|
-
export type * from './os-task';
|
|
16
|
-
export type * from './os-tax-rate';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import type { User, File } from '../system';
|
|
2
|
-
import type { OsPaymentTerm, Contact } from '.';
|
|
3
|
-
|
|
4
|
-
export interface Organization {
|
|
5
|
-
id?: string;
|
|
6
|
-
status?: string;
|
|
7
|
-
user_created?: (string | User) | null;
|
|
8
|
-
date_created?: string | null;
|
|
9
|
-
user_updated?: (string | User) | null;
|
|
10
|
-
date_updated?: string | null;
|
|
11
|
-
name?: string | null;
|
|
12
|
-
website?: string | null;
|
|
13
|
-
logo?: string | File | null;
|
|
14
|
-
brand_color?: string | null;
|
|
15
|
-
organization_notes?: string | null;
|
|
16
|
-
/** Company email address (sales@company.com) */
|
|
17
|
-
email?: string | null;
|
|
18
|
-
ap_contact?: (string | Contact) | null;
|
|
19
|
-
payment_terms?: (string | OsPaymentTerm) | null;
|
|
20
|
-
owner?: (string | User) | null;
|
|
21
|
-
/** Company phone number */
|
|
22
|
-
phone?: string | null;
|
|
23
|
-
branding?: string;
|
|
24
|
-
contacts?: (string | OrganizationContact)[];
|
|
25
|
-
addresses?: (string | OrganizationAddress)[];
|
|
26
|
-
billing?: string;
|
|
27
|
-
stripe_customer_id?: string | null;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export interface OrganizationAddress {
|
|
31
|
-
id?: string;
|
|
32
|
-
sort?: number | null;
|
|
33
|
-
user_created?: (string | User) | null;
|
|
34
|
-
date_created?: string | null;
|
|
35
|
-
user_updated?: (string | User) | null;
|
|
36
|
-
date_updated?: string | null;
|
|
37
|
-
organization?: (string | Organization) | null;
|
|
38
|
-
name?: string | null;
|
|
39
|
-
street_address?: string | null;
|
|
40
|
-
postal_code?: string | null;
|
|
41
|
-
/** State (or region if outside US) */
|
|
42
|
-
address_region?: string | null;
|
|
43
|
-
address_country?: string | null;
|
|
44
|
-
/** City */
|
|
45
|
-
address_locality?: string | null;
|
|
46
|
-
is_primary_billing?: boolean | null;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export interface OrganizationContact {
|
|
50
|
-
id?: string;
|
|
51
|
-
contacts_id?: (string | Contact) | null;
|
|
52
|
-
organizations_id?: (string | Organization) | null;
|
|
53
|
-
sort?: number | null;
|
|
54
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import type { User } from '../system';
|
|
2
|
-
import type { Organization, Contact, OsDeal } from '.';
|
|
3
|
-
|
|
4
|
-
export interface OsActivity {
|
|
5
|
-
id?: string;
|
|
6
|
-
status?: string;
|
|
7
|
-
sort?: number | null;
|
|
8
|
-
user_created?: (string | User) | null;
|
|
9
|
-
date_created?: string | null;
|
|
10
|
-
user_updated?: (string | User) | null;
|
|
11
|
-
date_updated?: string | null;
|
|
12
|
-
deal?: (string | OsDeal) | null;
|
|
13
|
-
activity_type?: string | null;
|
|
14
|
-
activity_notes?: string | null;
|
|
15
|
-
name?: string | null;
|
|
16
|
-
organization?: (string | Organization) | null;
|
|
17
|
-
start_time?: string | null;
|
|
18
|
-
end_time?: string | null;
|
|
19
|
-
due_date?: string | null;
|
|
20
|
-
assigned_to?: (string | User) | null;
|
|
21
|
-
contacts?: (string | OsActivityContact)[];
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export interface OsActivityContact {
|
|
25
|
-
id?: string;
|
|
26
|
-
os_activities_id?: (string | OsActivity) | null;
|
|
27
|
-
contacts_id?: (string | Contact) | null;
|
|
28
|
-
}
|
package/types/ui/os/os-deal.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/types/ui/os/os-deal.ts
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import type { User } from '../system';
|
|
2
|
-
import type { Organization, Contact, OsProposal, OsActivity } from '.';
|
|
3
|
-
|
|
4
|
-
export interface OsDeal {
|
|
5
|
-
id?: string;
|
|
6
|
-
status?: string;
|
|
7
|
-
sort?: number | null;
|
|
8
|
-
user_created?: (string | User) | null;
|
|
9
|
-
date_created?: string | null;
|
|
10
|
-
user_updated?: (string | User) | null;
|
|
11
|
-
date_updated?: string | null;
|
|
12
|
-
name?: string | null;
|
|
13
|
-
owner?: (string | User) | null;
|
|
14
|
-
organization?: (string | Organization) | null;
|
|
15
|
-
close_date?: string | null;
|
|
16
|
-
deal_stage?: (string | OsDealStage) | null;
|
|
17
|
-
next_contact_date?: string | null;
|
|
18
|
-
deal_value?: number | null;
|
|
19
|
-
deal_notes?: string | null;
|
|
20
|
-
comments?: string;
|
|
21
|
-
proposals?: (string | OsProposal)[];
|
|
22
|
-
contacts?: (string | OsDealContact)[];
|
|
23
|
-
activity?: string;
|
|
24
|
-
activities?: (string | OsActivity)[];
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export interface OsDealContact {
|
|
28
|
-
id?: string;
|
|
29
|
-
primary?: boolean | null;
|
|
30
|
-
os_deals_id?: (string | OsDeal) | null;
|
|
31
|
-
contacts_id?: (string | Contact) | null;
|
|
32
|
-
sort?: number | null;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export interface OsDealStage {
|
|
36
|
-
id?: string;
|
|
37
|
-
status?: string;
|
|
38
|
-
sort?: number | null;
|
|
39
|
-
user_created?: (string | User) | null;
|
|
40
|
-
date_created?: string | null;
|
|
41
|
-
user_updated?: (string | User) | null;
|
|
42
|
-
date_updated?: string | null;
|
|
43
|
-
name?: string | null;
|
|
44
|
-
color?: string | null;
|
|
45
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { File, User } from '../system';
|
|
2
|
-
import type { OsProject, OsInvoiceItem } from '.';
|
|
3
|
-
|
|
4
|
-
export interface OsExpense {
|
|
5
|
-
id?: string;
|
|
6
|
-
sort?: number | null;
|
|
7
|
-
user_created?: (string | User) | null;
|
|
8
|
-
date_created?: string | null;
|
|
9
|
-
user_updated?: (string | User) | null;
|
|
10
|
-
date_updated?: string | null;
|
|
11
|
-
category?: string | null;
|
|
12
|
-
name?: string | null;
|
|
13
|
-
cost?: number | null;
|
|
14
|
-
description?: string | null;
|
|
15
|
-
date?: string | null;
|
|
16
|
-
file?: (string | File) | null;
|
|
17
|
-
project?: (string | OsProject) | null;
|
|
18
|
-
is_billable?: boolean | null;
|
|
19
|
-
invoice_item?: (string | OsInvoiceItem) | null;
|
|
20
|
-
status?: string;
|
|
21
|
-
is_reimbursable?: boolean | null;
|
|
22
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import type { User } from '../system';
|
|
2
|
-
import type { Organization, Contact, OsProject, OsPayment, OsTaxRate, OsExpense, OsItem } from '.';
|
|
3
|
-
|
|
4
|
-
export interface OsInvoice {
|
|
5
|
-
id?: string;
|
|
6
|
-
status?: string;
|
|
7
|
-
sort?: number | null;
|
|
8
|
-
user_created?: (string | User) | null;
|
|
9
|
-
date_created?: string | null;
|
|
10
|
-
user_updated?: (string | User) | null;
|
|
11
|
-
date_updated?: string | null;
|
|
12
|
-
invoice_number?: string | null;
|
|
13
|
-
due_date?: string | null;
|
|
14
|
-
reference?: string | null;
|
|
15
|
-
organization?: (string | Organization) | null;
|
|
16
|
-
contact?: (string | Contact) | null;
|
|
17
|
-
issue_date?: string | null;
|
|
18
|
-
project?: (string | OsProject) | null;
|
|
19
|
-
subtotal?: number | null;
|
|
20
|
-
total_tax?: number | null;
|
|
21
|
-
total?: number | null;
|
|
22
|
-
amount_paid?: number | null;
|
|
23
|
-
amount_due?: number | null;
|
|
24
|
-
payments?: (string | OsPayment)[];
|
|
25
|
-
line_items?: (string | OsInvoiceItem)[];
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export interface OsInvoiceItem {
|
|
29
|
-
id?: string;
|
|
30
|
-
sort?: number | null;
|
|
31
|
-
user_created?: (string | User) | null;
|
|
32
|
-
date_created?: string | null;
|
|
33
|
-
user_updated?: (string | User) | null;
|
|
34
|
-
date_updated?: string | null;
|
|
35
|
-
invoice?: (string | OsInvoice) | null;
|
|
36
|
-
line_item_number?: number | null;
|
|
37
|
-
description?: string | null;
|
|
38
|
-
tax_rate?: (string | OsTaxRate) | null;
|
|
39
|
-
tax_amount?: number | null;
|
|
40
|
-
unit_price?: number | null;
|
|
41
|
-
quantity?: number | null;
|
|
42
|
-
line_amount?: number | null;
|
|
43
|
-
billable_expense?: (string | OsExpense) | null;
|
|
44
|
-
item?: (string | OsItem) | null;
|
|
45
|
-
type?: string | null;
|
|
46
|
-
item_name?: string | null;
|
|
47
|
-
override_unit_price?: boolean | null;
|
|
48
|
-
}
|
package/types/ui/os/os-item.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/types/ui/os/os-item.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { User } from '../system';
|
|
2
|
-
import type { OsTaxRate } from '.';
|
|
3
|
-
|
|
4
|
-
export interface OsItem {
|
|
5
|
-
id?: string;
|
|
6
|
-
status?: string | null;
|
|
7
|
-
sort?: number | null;
|
|
8
|
-
user_created?: (string | User) | null;
|
|
9
|
-
date_created?: string | null;
|
|
10
|
-
user_updated?: (string | User) | null;
|
|
11
|
-
date_updated?: string | null;
|
|
12
|
-
name?: string | null;
|
|
13
|
-
description?: string | null;
|
|
14
|
-
unit_price?: number | null;
|
|
15
|
-
default_tax_rate?: (string | OsTaxRate) | null;
|
|
16
|
-
icon?: string | null;
|
|
17
|
-
unit_cost?: number | null;
|
|
18
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import type { User } from '../system';
|
|
2
|
-
import type { Organization, Contact, OsInvoice } from '.';
|
|
3
|
-
|
|
4
|
-
export interface OsPayment {
|
|
5
|
-
id?: string;
|
|
6
|
-
status?: string;
|
|
7
|
-
sort?: number | null;
|
|
8
|
-
user_created?: (string | User) | null;
|
|
9
|
-
date_created?: string | null;
|
|
10
|
-
user_updated?: (string | User) | null;
|
|
11
|
-
date_updated?: string | null;
|
|
12
|
-
payment_date?: string | null;
|
|
13
|
-
amount?: number | null;
|
|
14
|
-
stripe_payment_id?: string;
|
|
15
|
-
transaction_fee?: number | null;
|
|
16
|
-
organization?: (string | Organization) | null;
|
|
17
|
-
contact?: (string | Contact) | null;
|
|
18
|
-
invoice?: (string | OsInvoice) | null;
|
|
19
|
-
metadata?: object | null;
|
|
20
|
-
receipt_url?: string | null;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export interface OsPaymentTerm {
|
|
24
|
-
id?: string;
|
|
25
|
-
user_created?: (string | User) | null;
|
|
26
|
-
date_created?: string | null;
|
|
27
|
-
user_updated?: (string | User) | null;
|
|
28
|
-
date_updated?: string | null;
|
|
29
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import type { User } from '../system';
|
|
2
|
-
import type { Organization, Contact, OsInvoice, OsTask, OsExpense } from '.';
|
|
3
|
-
|
|
4
|
-
export interface OsProject {
|
|
5
|
-
id?: string;
|
|
6
|
-
status?: string;
|
|
7
|
-
sort?: number | null;
|
|
8
|
-
user_created?: (string | User) | null;
|
|
9
|
-
date_created?: string | null;
|
|
10
|
-
user_updated?: (string | User) | null;
|
|
11
|
-
date_updated?: string | null;
|
|
12
|
-
name?: string | null;
|
|
13
|
-
organization?: (string | Organization) | null;
|
|
14
|
-
description?: string | null;
|
|
15
|
-
owner?: (string | User) | null;
|
|
16
|
-
start_date?: string | null;
|
|
17
|
-
due_date?: string | null;
|
|
18
|
-
expenses?: (string | OsExpense)[];
|
|
19
|
-
invoices?: (string | OsInvoice)[];
|
|
20
|
-
contacts?: (string | OsProjectContact)[];
|
|
21
|
-
billing?: string;
|
|
22
|
-
tasks?: (string | OsTask)[];
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export interface OsProjectContact {
|
|
26
|
-
id?: string;
|
|
27
|
-
os_projects_id?: (string | OsProject) | null;
|
|
28
|
-
contacts_id?: (string | Contact) | null;
|
|
29
|
-
sort?: number | null;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export interface OsProjectFile {
|
|
33
|
-
id?: string;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export interface OsProjectTemplate {
|
|
37
|
-
id?: string;
|
|
38
|
-
status?: string;
|
|
39
|
-
sort?: number | null;
|
|
40
|
-
user_created?: (string | User) | null;
|
|
41
|
-
date_created?: string | null;
|
|
42
|
-
user_updated?: (string | User) | null;
|
|
43
|
-
date_updated?: string | null;
|
|
44
|
-
name?: string | null;
|
|
45
|
-
tasks?: { [key: string]: any } | null;
|
|
46
|
-
description?: string | null;
|
|
47
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import type { User, File } from '../system';
|
|
2
|
-
import type {
|
|
3
|
-
BlockDivider,
|
|
4
|
-
BlockFaq,
|
|
5
|
-
BlockLogocloud,
|
|
6
|
-
BlockQuote,
|
|
7
|
-
BlockRichtext,
|
|
8
|
-
BlockStep,
|
|
9
|
-
BlockTeam,
|
|
10
|
-
BlockVideo,
|
|
11
|
-
} from '../blocks';
|
|
12
|
-
import type { Organization, Contact, OsDeal } from '.';
|
|
13
|
-
|
|
14
|
-
export interface OsProposal {
|
|
15
|
-
id?: string;
|
|
16
|
-
sort?: number | null;
|
|
17
|
-
user_created?: (string | User) | null;
|
|
18
|
-
date_created?: string | null;
|
|
19
|
-
user_updated?: (string | User) | null;
|
|
20
|
-
date_updated?: string | null;
|
|
21
|
-
name?: string | null;
|
|
22
|
-
organization?: (string | Organization) | null;
|
|
23
|
-
deal?: (string | OsDeal) | null;
|
|
24
|
-
owner?: (string | User) | null;
|
|
25
|
-
status?: string;
|
|
26
|
-
contacts?: (string | OsProposalContact)[];
|
|
27
|
-
activity?: string;
|
|
28
|
-
approvals?: (string | OsProposalApproval)[];
|
|
29
|
-
/** This is the content of your proposal */
|
|
30
|
-
blocks?: (string | OsProposalBlock)[];
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export interface OsProposalApproval {
|
|
34
|
-
id?: string;
|
|
35
|
-
status?: string;
|
|
36
|
-
sort?: number | null;
|
|
37
|
-
user_created?: (string | User) | null;
|
|
38
|
-
date_created?: string | null;
|
|
39
|
-
user_updated?: (string | User) | null;
|
|
40
|
-
date_updated?: string | null;
|
|
41
|
-
signature_text?: string | null;
|
|
42
|
-
signature_image?: (string | File) | null;
|
|
43
|
-
signature_type?: string | null;
|
|
44
|
-
first_name?: string | null;
|
|
45
|
-
last_name?: string | null;
|
|
46
|
-
organization?: string | null;
|
|
47
|
-
proposal?: (string | OsProposal) | null;
|
|
48
|
-
email?: string | null;
|
|
49
|
-
metadata?: { [key: string]: any } | null;
|
|
50
|
-
ip_address?: string | null;
|
|
51
|
-
esignature_agreement?: boolean | null;
|
|
52
|
-
contact?: (string | Contact) | null;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export interface OsProposalBlock {
|
|
56
|
-
id?: string;
|
|
57
|
-
sort?: number | null;
|
|
58
|
-
user_created?: (string | User) | null;
|
|
59
|
-
date_created?: string | null;
|
|
60
|
-
user_updated?: (string | User) | null;
|
|
61
|
-
date_updated?: string | null;
|
|
62
|
-
os_proposals_id?: (string | OsProposal) | null;
|
|
63
|
-
item?:
|
|
64
|
-
| (
|
|
65
|
-
| string
|
|
66
|
-
| BlockDivider
|
|
67
|
-
| BlockFaq
|
|
68
|
-
| BlockLogocloud
|
|
69
|
-
| BlockQuote
|
|
70
|
-
| BlockRichtext
|
|
71
|
-
| BlockStep
|
|
72
|
-
| BlockTeam
|
|
73
|
-
| BlockVideo
|
|
74
|
-
)[]
|
|
75
|
-
| null;
|
|
76
|
-
collection?: string | null;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
export interface OsProposalContact {
|
|
80
|
-
id?: string;
|
|
81
|
-
os_proposals_id?: (string | OsProposal) | null;
|
|
82
|
-
contacts_id?: (string | Contact) | null;
|
|
83
|
-
sort?: number | null;
|
|
84
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { User } from '../system';
|
|
2
|
-
|
|
3
|
-
export interface OsSettings {
|
|
4
|
-
id?: string;
|
|
5
|
-
next_invoice_number?: number | null;
|
|
6
|
-
next_proposal_number?: number | null;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export interface OsEmailTemplate {
|
|
10
|
-
id?: string;
|
|
11
|
-
sort?: number | null;
|
|
12
|
-
user_created?: (string | User) | null;
|
|
13
|
-
date_created?: string | null;
|
|
14
|
-
user_updated?: (string | User) | null;
|
|
15
|
-
date_updated?: string | null;
|
|
16
|
-
subject?: string | null;
|
|
17
|
-
body?: string | null;
|
|
18
|
-
name?: string | null;
|
|
19
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export interface OsSubscription {
|
|
2
|
-
id?: string;
|
|
3
|
-
quantity?: number | null;
|
|
4
|
-
cancel_at_period_end?: boolean | null;
|
|
5
|
-
created?: string | null;
|
|
6
|
-
ended_at?: string | null;
|
|
7
|
-
status?: string | null;
|
|
8
|
-
cancel_at?: string | null;
|
|
9
|
-
canceled_at?: string | null;
|
|
10
|
-
trial_start?: string | null;
|
|
11
|
-
trial_end?: string | null;
|
|
12
|
-
}
|
package/types/ui/os/os-task.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/types/ui/os/os-task.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import type { User } from '../system';
|
|
2
|
-
import type { Form } from '../content';
|
|
3
|
-
import type { OsProject } from '.';
|
|
4
|
-
|
|
5
|
-
export interface OsTaskFile {
|
|
6
|
-
id?: string;
|
|
7
|
-
os_tasks_id?: (string | OsTask) | null;
|
|
8
|
-
directus_files_id?: (string | File) | null;
|
|
9
|
-
sort?: number | null;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export interface OsTask {
|
|
13
|
-
id?: string;
|
|
14
|
-
status?: string;
|
|
15
|
-
sort?: number | null;
|
|
16
|
-
user_created?: (string | User) | null;
|
|
17
|
-
date_created?: string | null;
|
|
18
|
-
user_updated?: (string | User) | null;
|
|
19
|
-
date_updated?: string | null;
|
|
20
|
-
project?: (string | OsProject) | null;
|
|
21
|
-
name?: string | null;
|
|
22
|
-
description?: string | null;
|
|
23
|
-
assigned_to?: (string | User) | null;
|
|
24
|
-
due_date?: string | null;
|
|
25
|
-
is_visible_to_client?: boolean;
|
|
26
|
-
type?: string;
|
|
27
|
-
date_completed?: string | null;
|
|
28
|
-
responsibility?: string | null;
|
|
29
|
-
start_date?: string | null;
|
|
30
|
-
embed_url?: string | null;
|
|
31
|
-
form?: (string | Form) | null;
|
|
32
|
-
files?: (string | OsTaskFile)[];
|
|
33
|
-
client_task_details?: string;
|
|
34
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { User } from '../system';
|
|
2
|
-
|
|
3
|
-
export interface OsTaxRate {
|
|
4
|
-
id?: string;
|
|
5
|
-
status?: string;
|
|
6
|
-
sort?: number | null;
|
|
7
|
-
user_created?: (string | User) | null;
|
|
8
|
-
date_created?: string | null;
|
|
9
|
-
user_updated?: (string | User) | null;
|
|
10
|
-
date_updated?: string | null;
|
|
11
|
-
name?: string | null;
|
|
12
|
-
rate?: number | null;
|
|
13
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
// types/pageComponentMap.ts
|
|
2
|
-
// Typed mapping for page name/slug -> async component loader
|
|
3
|
-
// Simplified pageComponentMap: dynamic page-to-component mapping is optional.
|
|
4
|
-
// Keeping an empty map avoids build-time resolution of many optional components
|
|
5
|
-
// that may not be present in all installations.
|
|
6
|
-
export const pageComponentMap = {};
|
|
7
|
-
export default pageComponentMap;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// types/pageComponentMap.ts
|
|
2
|
-
// Typed mapping for page name/slug -> async component loader
|
|
3
|
-
// Simplified pageComponentMap: dynamic page-to-component mapping is optional.
|
|
4
|
-
// Keeping an empty map avoids build-time resolution of many optional components
|
|
5
|
-
// that may not be present in all installations.
|
|
6
|
-
export const pageComponentMap = {}
|
|
7
|
-
|
|
8
|
-
export default pageComponentMap
|
package/types/ui/pagination.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/types/ui/pagination.ts
DELETED
package/types/ui/schema.d.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
// Shared form schema types used across the project
|
|
2
|
-
export interface FormField {
|
|
3
|
-
id?: string;
|
|
4
|
-
field: string;
|
|
5
|
-
name?: string;
|
|
6
|
-
label?: string;
|
|
7
|
-
placeholder?: string;
|
|
8
|
-
help?: string;
|
|
9
|
-
type?: string; // e.g. 'text', 'integer', 'textarea', 'select', 'checkbox', etc.
|
|
10
|
-
interface?: string; // optional Directus interface name
|
|
11
|
-
required?: boolean;
|
|
12
|
-
width?: string | number;
|
|
13
|
-
choices?: Array<any>;
|
|
14
|
-
options?: Record<string, any> | Array<any>;
|
|
15
|
-
meta?: Record<string, any>;
|
|
16
|
-
[key: string]: any;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
// Provide an ambient module so imports using the `~/types/schema` alias resolve
|
|
20
|
-
declare module '~/types/schema' {
|
|
21
|
-
export interface FormField {
|
|
22
|
-
id?: string;
|
|
23
|
-
field: string;
|
|
24
|
-
name?: string;
|
|
25
|
-
label?: string;
|
|
26
|
-
placeholder?: string;
|
|
27
|
-
help?: string;
|
|
28
|
-
type?: string; // e.g. 'text', 'integer', 'textarea', 'select', 'checkbox', etc.
|
|
29
|
-
interface?: string; // optional Directus interface name
|
|
30
|
-
required?: boolean;
|
|
31
|
-
width?: string | number;
|
|
32
|
-
choices?: Array<any>;
|
|
33
|
-
options?: Record<string, any> | Array<any>;
|
|
34
|
-
meta?: Record<string, any>;
|
|
35
|
-
[key: string]: any;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export {};
|
package/types/ui/schema.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|