@tomei/finance 0.17.0 → 0.18.2-dev.1
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/.commitlintrc.json +23 -23
- package/CHANGELOG.md +17 -0
- package/LICENSE +21 -21
- package/MIGRATION.md +43 -0
- package/configs/config.js +348 -348
- package/dist/document/document.d.ts +3 -0
- package/dist/document/document.d.ts.map +1 -1
- package/dist/document/document.js +5 -0
- package/dist/document/document.js.map +1 -1
- package/dist/document/interfaces/document-attr.interface.d.ts +3 -1
- package/dist/document/interfaces/document-attr.interface.d.ts.map +1 -1
- package/dist/document/interfaces/document-attr.interface.js.map +1 -1
- package/dist/enum/index.d.ts +2 -1
- package/dist/enum/index.d.ts.map +1 -1
- package/dist/enum/index.js +3 -1
- package/dist/enum/index.js.map +1 -1
- package/dist/enum/posting-status.enum.d.ts +7 -0
- package/dist/enum/posting-status.enum.d.ts.map +1 -0
- package/dist/enum/posting-status.enum.js +11 -0
- package/dist/enum/posting-status.enum.js.map +1 -0
- package/dist/finance-company/finance-company.d.ts +7 -3
- package/dist/finance-company/finance-company.d.ts.map +1 -1
- package/dist/finance-company/finance-company.js +48 -16
- package/dist/finance-company/finance-company.js.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/models/document.entity.d.ts +3 -0
- package/dist/models/document.entity.d.ts.map +1 -1
- package/dist/models/document.entity.js +20 -0
- package/dist/models/document.entity.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/invoice-template/assets/css/style.css.map +12 -12
- package/invoice-template/assets/css/style.min.css +1 -1
- package/invoice-template/assets/img/arrow_bg.svg +11 -11
- package/invoice-template/assets/img/coffy_shop_img.svg +18 -18
- package/invoice-template/assets/img/logo_accent.svg +3 -3
- package/invoice-template/assets/img/logo_white.svg +4 -4
- package/invoice-template/assets/img/sign.svg +12 -12
- package/invoice-template/assets/img/tomei-logo.svg +9 -9
- package/invoice-template/assets/js/html2canvas.min.js +10379 -10379
- package/invoice-template/assets/js/jquery.min.js +1 -1
- package/invoice-template/assets/sass/common/_color_variable.scss +12 -12
- package/invoice-template/assets/sass/common/_typography.scss +178 -178
- package/invoice-template/assets/sass/style.scss +12 -12
- package/migrations/add-discount-collumn-to-document-related-table.js +90 -90
- package/migrations/finance-account-migration.js +97 -97
- package/migrations/finance-company-migration.js +29 -29
- package/migrations/finance-customer-migration.js +51 -51
- package/migrations/finance-document-item-migration.js +111 -111
- package/migrations/finance-document-migration.js +122 -122
- package/migrations/finance-document-tag-migration.js +46 -46
- package/migrations/finance-journal-entry-migration.js +59 -59
- package/migrations/finance-ledger-transaction-migration.js +89 -89
- package/migrations/finance-payment-item-migration.js +52 -52
- package/migrations/finance-payment-method-migration.js +31 -31
- package/migrations/finance-payment-method-type-migration.js +55 -55
- package/migrations/finance-payment-migration.js +96 -96
- package/migrations/finance-post-history-migration.js +45 -45
- package/migrations/finance-tag-group-migration.js +53 -53
- package/migrations/finance-tag-migration.js +63 -63
- package/migrations/finance-tax-migration.js +52 -52
- package/migrations/refactor-finance-document-migration.js +71 -71
- package/migrations/update-document-item.migration.js +87 -87
- package/package.json +81 -79
- package/receipt-template/default/assets/css/style.css +2629 -2629
- package/receipt-template/default/assets/css/style.css.map +12 -12
- package/receipt-template/default/assets/css/style.min.css +1 -1
- package/receipt-template/default/assets/img/arrow_bg.svg +11 -11
- package/receipt-template/default/assets/img/coffy_shop_img.svg +18 -18
- package/receipt-template/default/assets/img/logo.svg +4 -4
- package/receipt-template/default/assets/img/logo_accent.svg +3 -3
- package/receipt-template/default/assets/img/logo_white.svg +4 -4
- package/receipt-template/default/assets/img/sign.svg +12 -12
- package/receipt-template/default/assets/img/tomei-logo.svg +9 -9
- package/receipt-template/default/assets/js/html2canvas.min.js +10379 -10379
- package/receipt-template/default/assets/js/jquery.min.js +1 -1
- package/receipt-template/default/assets/js/main.js +48 -48
- package/receipt-template/default/assets/sass/common/_color_variable.scss +12 -12
- package/receipt-template/default/assets/sass/common/_invoice.scss +1801 -1801
- package/receipt-template/default/assets/sass/common/_normalize.scss +350 -350
- package/receipt-template/default/assets/sass/common/_typography.scss +178 -178
- package/receipt-template/default/assets/sass/style.scss +12 -12
- package/receipt-template/default/index.html +291 -291
- package/scripts/postinstall.js +300 -300
- package/dist/enum/quick-book-client-scopes.enum.d.ts +0 -13
- package/dist/enum/quick-book-client-scopes.enum.js +0 -19
- package/dist/enum/quick-book-client-scopes.enum.js.map +0 -1
|
@@ -1,178 +1,178 @@
|
|
|
1
|
-
/*--------------------------------------------------------------
|
|
2
|
-
2. Typography
|
|
3
|
-
----------------------------------------------------------------*/
|
|
4
|
-
|
|
5
|
-
// Google Font Source
|
|
6
|
-
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700&display=swap');
|
|
7
|
-
|
|
8
|
-
body,
|
|
9
|
-
html {
|
|
10
|
-
color: $secondary;
|
|
11
|
-
font-family: 'Inter', sans-serif;
|
|
12
|
-
font-size: 14px;
|
|
13
|
-
font-weight: 400;
|
|
14
|
-
line-height: 1.6em;
|
|
15
|
-
overflow-x: hidden;
|
|
16
|
-
background-color: #f5f6fa;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
h1,
|
|
20
|
-
h2,
|
|
21
|
-
h3,
|
|
22
|
-
h4,
|
|
23
|
-
h5,
|
|
24
|
-
h6 {
|
|
25
|
-
clear: both;
|
|
26
|
-
color: $primary;
|
|
27
|
-
padding: 0;
|
|
28
|
-
margin: 0 0 20px 0;
|
|
29
|
-
font-weight: 500;
|
|
30
|
-
line-height: 1.2em;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
h1 {
|
|
34
|
-
font-size: 60px;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
h2 {
|
|
38
|
-
font-size: 48px;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
h3 {
|
|
42
|
-
font-size: 30px;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
h4 {
|
|
46
|
-
font-size: 24px;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
h5 {
|
|
50
|
-
font-size: 18px;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
h6 {
|
|
54
|
-
font-size: 16px;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
p,
|
|
58
|
-
div {
|
|
59
|
-
margin-top: 0;
|
|
60
|
-
line-height: 1.5em;
|
|
61
|
-
}
|
|
62
|
-
p {
|
|
63
|
-
margin-bottom: 15px;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
ul {
|
|
67
|
-
margin: 0 0 25px 0;
|
|
68
|
-
padding-left: 20px;
|
|
69
|
-
list-style: disc;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
ol {
|
|
73
|
-
padding-left: 20px;
|
|
74
|
-
margin-bottom: 25px;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
dfn,
|
|
78
|
-
cite,
|
|
79
|
-
em,
|
|
80
|
-
i {
|
|
81
|
-
font-style: italic;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
blockquote {
|
|
85
|
-
margin: 0 15px;
|
|
86
|
-
font-style: italic;
|
|
87
|
-
font-size: 20px;
|
|
88
|
-
line-height: 1.6em;
|
|
89
|
-
margin: 0;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
address {
|
|
93
|
-
margin: 0 0 15px;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
img {
|
|
97
|
-
border: 0;
|
|
98
|
-
max-width: 100%;
|
|
99
|
-
height: auto;
|
|
100
|
-
vertical-align: middle;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
a {
|
|
104
|
-
color: inherit;
|
|
105
|
-
text-decoration: none;
|
|
106
|
-
transition: all 0.3s ease;
|
|
107
|
-
&:hover {
|
|
108
|
-
color: $accent;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
button {
|
|
113
|
-
color: inherit;
|
|
114
|
-
transition: all 0.3s ease;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
a:hover {
|
|
118
|
-
text-decoration: none;
|
|
119
|
-
color: inherit;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
table {
|
|
123
|
-
width: 100%;
|
|
124
|
-
caption-side: bottom;
|
|
125
|
-
border-collapse: collapse;
|
|
126
|
-
}
|
|
127
|
-
th {
|
|
128
|
-
text-align: left;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
td {
|
|
132
|
-
border-top: 1px solid $border;
|
|
133
|
-
}
|
|
134
|
-
td {
|
|
135
|
-
padding: 10px 15px;
|
|
136
|
-
line-height: 1.55em;
|
|
137
|
-
}
|
|
138
|
-
th {
|
|
139
|
-
padding: 10px 15px;
|
|
140
|
-
line-height: 1.55em;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
dl {
|
|
144
|
-
margin-bottom: 25px;
|
|
145
|
-
|
|
146
|
-
dt {
|
|
147
|
-
font-weight: 600;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
b,
|
|
152
|
-
strong {
|
|
153
|
-
font-weight: bold;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
pre {
|
|
157
|
-
color: $secondary;
|
|
158
|
-
border: 1px solid $border;
|
|
159
|
-
font-size: 18px;
|
|
160
|
-
padding: 25px;
|
|
161
|
-
border-radius: 5px;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
kbd {
|
|
165
|
-
font-size: 100%;
|
|
166
|
-
background-color: $secondary;
|
|
167
|
-
border-radius: 5px;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
a {
|
|
171
|
-
&:hover {
|
|
172
|
-
color: $accent;
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
ul {
|
|
177
|
-
padding-left: 15px;
|
|
178
|
-
}
|
|
1
|
+
/*--------------------------------------------------------------
|
|
2
|
+
2. Typography
|
|
3
|
+
----------------------------------------------------------------*/
|
|
4
|
+
|
|
5
|
+
// Google Font Source
|
|
6
|
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700&display=swap');
|
|
7
|
+
|
|
8
|
+
body,
|
|
9
|
+
html {
|
|
10
|
+
color: $secondary;
|
|
11
|
+
font-family: 'Inter', sans-serif;
|
|
12
|
+
font-size: 14px;
|
|
13
|
+
font-weight: 400;
|
|
14
|
+
line-height: 1.6em;
|
|
15
|
+
overflow-x: hidden;
|
|
16
|
+
background-color: #f5f6fa;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
h1,
|
|
20
|
+
h2,
|
|
21
|
+
h3,
|
|
22
|
+
h4,
|
|
23
|
+
h5,
|
|
24
|
+
h6 {
|
|
25
|
+
clear: both;
|
|
26
|
+
color: $primary;
|
|
27
|
+
padding: 0;
|
|
28
|
+
margin: 0 0 20px 0;
|
|
29
|
+
font-weight: 500;
|
|
30
|
+
line-height: 1.2em;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
h1 {
|
|
34
|
+
font-size: 60px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
h2 {
|
|
38
|
+
font-size: 48px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
h3 {
|
|
42
|
+
font-size: 30px;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
h4 {
|
|
46
|
+
font-size: 24px;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
h5 {
|
|
50
|
+
font-size: 18px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
h6 {
|
|
54
|
+
font-size: 16px;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
p,
|
|
58
|
+
div {
|
|
59
|
+
margin-top: 0;
|
|
60
|
+
line-height: 1.5em;
|
|
61
|
+
}
|
|
62
|
+
p {
|
|
63
|
+
margin-bottom: 15px;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
ul {
|
|
67
|
+
margin: 0 0 25px 0;
|
|
68
|
+
padding-left: 20px;
|
|
69
|
+
list-style: disc;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
ol {
|
|
73
|
+
padding-left: 20px;
|
|
74
|
+
margin-bottom: 25px;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
dfn,
|
|
78
|
+
cite,
|
|
79
|
+
em,
|
|
80
|
+
i {
|
|
81
|
+
font-style: italic;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
blockquote {
|
|
85
|
+
margin: 0 15px;
|
|
86
|
+
font-style: italic;
|
|
87
|
+
font-size: 20px;
|
|
88
|
+
line-height: 1.6em;
|
|
89
|
+
margin: 0;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
address {
|
|
93
|
+
margin: 0 0 15px;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
img {
|
|
97
|
+
border: 0;
|
|
98
|
+
max-width: 100%;
|
|
99
|
+
height: auto;
|
|
100
|
+
vertical-align: middle;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
a {
|
|
104
|
+
color: inherit;
|
|
105
|
+
text-decoration: none;
|
|
106
|
+
transition: all 0.3s ease;
|
|
107
|
+
&:hover {
|
|
108
|
+
color: $accent;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
button {
|
|
113
|
+
color: inherit;
|
|
114
|
+
transition: all 0.3s ease;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
a:hover {
|
|
118
|
+
text-decoration: none;
|
|
119
|
+
color: inherit;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
table {
|
|
123
|
+
width: 100%;
|
|
124
|
+
caption-side: bottom;
|
|
125
|
+
border-collapse: collapse;
|
|
126
|
+
}
|
|
127
|
+
th {
|
|
128
|
+
text-align: left;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
td {
|
|
132
|
+
border-top: 1px solid $border;
|
|
133
|
+
}
|
|
134
|
+
td {
|
|
135
|
+
padding: 10px 15px;
|
|
136
|
+
line-height: 1.55em;
|
|
137
|
+
}
|
|
138
|
+
th {
|
|
139
|
+
padding: 10px 15px;
|
|
140
|
+
line-height: 1.55em;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
dl {
|
|
144
|
+
margin-bottom: 25px;
|
|
145
|
+
|
|
146
|
+
dt {
|
|
147
|
+
font-weight: 600;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
b,
|
|
152
|
+
strong {
|
|
153
|
+
font-weight: bold;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
pre {
|
|
157
|
+
color: $secondary;
|
|
158
|
+
border: 1px solid $border;
|
|
159
|
+
font-size: 18px;
|
|
160
|
+
padding: 25px;
|
|
161
|
+
border-radius: 5px;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
kbd {
|
|
165
|
+
font-size: 100%;
|
|
166
|
+
background-color: $secondary;
|
|
167
|
+
border-radius: 5px;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
a {
|
|
171
|
+
&:hover {
|
|
172
|
+
color: $accent;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
ul {
|
|
177
|
+
padding-left: 15px;
|
|
178
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/*--------------------------------------------------------------
|
|
2
|
-
>> TABLE OF CONTENTS:
|
|
3
|
-
----------------------------------------------------------------
|
|
4
|
-
1. Normalize
|
|
5
|
-
2. Typography
|
|
6
|
-
3. Invoice General Style
|
|
7
|
-
--------------------------------------------------------------*/
|
|
8
|
-
|
|
9
|
-
@import 'common/color_variable';
|
|
10
|
-
@import 'common/normalize';
|
|
11
|
-
@import 'common/typography';
|
|
12
|
-
@import 'common/invoice';
|
|
1
|
+
/*--------------------------------------------------------------
|
|
2
|
+
>> TABLE OF CONTENTS:
|
|
3
|
+
----------------------------------------------------------------
|
|
4
|
+
1. Normalize
|
|
5
|
+
2. Typography
|
|
6
|
+
3. Invoice General Style
|
|
7
|
+
--------------------------------------------------------------*/
|
|
8
|
+
|
|
9
|
+
@import 'common/color_variable';
|
|
10
|
+
@import 'common/normalize';
|
|
11
|
+
@import 'common/typography';
|
|
12
|
+
@import 'common/invoice';
|