@actual-app/web 3.0.149

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.
Files changed (80) hide show
  1. package/README.md +1244 -0
  2. package/build/Inter/Inter-Black.woff2 +0 -0
  3. package/build/Inter/Inter-BlackItalic.woff2 +0 -0
  4. package/build/Inter/Inter-Bold.woff2 +0 -0
  5. package/build/Inter/Inter-BoldItalic.woff2 +0 -0
  6. package/build/Inter/Inter-ExtraBold.woff2 +0 -0
  7. package/build/Inter/Inter-ExtraBoldItalic.woff2 +0 -0
  8. package/build/Inter/Inter-ExtraLight.woff2 +0 -0
  9. package/build/Inter/Inter-ExtraLightItalic.woff2 +0 -0
  10. package/build/Inter/Inter-Italic.woff2 +0 -0
  11. package/build/Inter/Inter-Light.woff2 +0 -0
  12. package/build/Inter/Inter-LightItalic.woff2 +0 -0
  13. package/build/Inter/Inter-Medium.woff2 +0 -0
  14. package/build/Inter/Inter-MediumItalic.woff2 +0 -0
  15. package/build/Inter/Inter-Regular.woff2 +0 -0
  16. package/build/Inter/Inter-SemiBold.woff2 +0 -0
  17. package/build/Inter/Inter-SemiBoldItalic.woff2 +0 -0
  18. package/build/Inter/Inter-Thin.woff2 +0 -0
  19. package/build/Inter/Inter-ThinItalic.woff2 +0 -0
  20. package/build/Inter/inter.css +178 -0
  21. package/build/_headers +10 -0
  22. package/build/_redirects +1 -0
  23. package/build/android-chrome-192x192.png +0 -0
  24. package/build/android-chrome-512x512.png +0 -0
  25. package/build/apple-touch-icon.png +0 -0
  26. package/build/asset-manifest.json +22 -0
  27. package/build/browserconfig.xml +9 -0
  28. package/build/codemirror.css +341 -0
  29. package/build/data/default-db.sqlite +0 -0
  30. package/build/data/migrations/.force-copy-windows +0 -0
  31. package/build/data/migrations/1548957970627_remove-db-version.sql +5 -0
  32. package/build/data/migrations/1550601598648_payees.sql +23 -0
  33. package/build/data/migrations/1555786194328_remove_category_group_unique.sql +25 -0
  34. package/build/data/migrations/1561751833510_indexes.sql +7 -0
  35. package/build/data/migrations/1567699552727_budget.sql +38 -0
  36. package/build/data/migrations/1582384163573_cleared.sql +6 -0
  37. package/build/data/migrations/1597756566448_rules.sql +10 -0
  38. package/build/data/migrations/1608652596043_parent_field.sql +13 -0
  39. package/build/data/migrations/1608652596044_trans_views.sql +56 -0
  40. package/build/data/migrations/1612625548236_optimize.sql +7 -0
  41. package/build/data/migrations/1614782639336_trans_views2.sql +33 -0
  42. package/build/data/migrations/1615745967948_meta.sql +10 -0
  43. package/build/data/migrations/1616167010796_accounts_order.sql +5 -0
  44. package/build/data/migrations/1618975177358_schedules.sql +28 -0
  45. package/build/data/migrations/1632571489012_remove_cache.js +135 -0
  46. package/build/data-file-index.txt +17 -0
  47. package/build/favicon-16x16.png +0 -0
  48. package/build/favicon-32x32.png +0 -0
  49. package/build/favicon.ico +0 -0
  50. package/build/index.html +1 -0
  51. package/build/kcab/kcab.worker.dc92c0e92f579968e51f.js +42 -0
  52. package/build/kcab/kcab.worker.dc92c0e92f579968e51f.js.map +1 -0
  53. package/build/kcab/xfo.kcab.worker.dc92c0e92f579968e51f.js +1 -0
  54. package/build/libofx.web.wasm +0 -0
  55. package/build/monokai.css +36 -0
  56. package/build/mstile-150x150.png +0 -0
  57. package/build/precache-manifest.ec84d87f2d2b828c2e9e73764dbee838.js +46 -0
  58. package/build/safari-pinned-tab.svg +27 -0
  59. package/build/service-worker.js +34 -0
  60. package/build/site.webmanifest +19 -0
  61. package/build/sql-wasm-debug.wasm +0 -0
  62. package/build/sql-wasm.wasm +0 -0
  63. package/build/static/css/3.d37e3633.chunk.css +7 -0
  64. package/build/static/css/3.d37e3633.chunk.css.map +1 -0
  65. package/build/static/js/1.5b0e59dd.chunk.js +2 -0
  66. package/build/static/js/1.5b0e59dd.chunk.js.map +1 -0
  67. package/build/static/js/2.c0b1e834.chunk.js +2 -0
  68. package/build/static/js/2.c0b1e834.chunk.js.map +1 -0
  69. package/build/static/js/3.b968e8cf.chunk.js +2 -0
  70. package/build/static/js/3.b968e8cf.chunk.js.map +1 -0
  71. package/build/static/js/browser-server.06b54be5.worker.js +2 -0
  72. package/build/static/js/browser-server.06b54be5.worker.js.map +1 -0
  73. package/build/static/js/main.24dde65e.chunk.js +2 -0
  74. package/build/static/js/main.24dde65e.chunk.js.map +1 -0
  75. package/build/static/js/runtime~main.d358c073.js +2 -0
  76. package/build/static/js/runtime~main.d358c073.js.map +1 -0
  77. package/build/static/media/DateSelect.left.1ae92674.png +0 -0
  78. package/build/static/media/DateSelect.right.2a470dc0.png +0 -0
  79. package/build/static/media/bg.ad9dce3b.svg +1 -0
  80. package/package.json +97 -0
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,178 @@
1
+ @font-face {
2
+ font-family: 'Inter';
3
+ font-style: normal;
4
+ font-weight: 100;
5
+ font-display: swap;
6
+ src: url("Inter-Thin.woff2?v=3.12") format("woff2"),
7
+ url("Inter-Thin.woff?v=3.12") format("woff");
8
+ }
9
+ @font-face {
10
+ font-family: 'Inter';
11
+ font-style: italic;
12
+ font-weight: 100;
13
+ font-display: swap;
14
+ src: url("Inter-ThinItalic.woff2?v=3.12") format("woff2"),
15
+ url("Inter-ThinItalic.woff?v=3.12") format("woff");
16
+ }
17
+
18
+ @font-face {
19
+ font-family: 'Inter';
20
+ font-style: normal;
21
+ font-weight: 200;
22
+ font-display: swap;
23
+ src: url("Inter-ExtraLight.woff2?v=3.12") format("woff2"),
24
+ url("Inter-ExtraLight.woff?v=3.12") format("woff");
25
+ }
26
+ @font-face {
27
+ font-family: 'Inter';
28
+ font-style: italic;
29
+ font-weight: 200;
30
+ font-display: swap;
31
+ src: url("Inter-ExtraLightItalic.woff2?v=3.12") format("woff2"),
32
+ url("Inter-ExtraLightItalic.woff?v=3.12") format("woff");
33
+ }
34
+
35
+ @font-face {
36
+ font-family: 'Inter';
37
+ font-style: normal;
38
+ font-weight: 300;
39
+ font-display: swap;
40
+ src: url("Inter-Light.woff2?v=3.12") format("woff2"),
41
+ url("Inter-Light.woff?v=3.12") format("woff");
42
+ }
43
+ @font-face {
44
+ font-family: 'Inter';
45
+ font-style: italic;
46
+ font-weight: 300;
47
+ font-display: swap;
48
+ src: url("Inter-LightItalic.woff2?v=3.12") format("woff2"),
49
+ url("Inter-LightItalic.woff?v=3.12") format("woff");
50
+ }
51
+
52
+ @font-face {
53
+ font-family: 'Inter';
54
+ font-style: normal;
55
+ font-weight: 400;
56
+ font-display: swap;
57
+ src: url("Inter-Regular.woff2?v=3.12") format("woff2"),
58
+ url("Inter-Regular.woff?v=3.12") format("woff");
59
+ }
60
+ @font-face {
61
+ font-family: 'Inter';
62
+ font-style: italic;
63
+ font-weight: 400;
64
+ font-display: swap;
65
+ src: url("Inter-Italic.woff2?v=3.12") format("woff2"),
66
+ url("Inter-Italic.woff?v=3.12") format("woff");
67
+ }
68
+
69
+ @font-face {
70
+ font-family: 'Inter';
71
+ font-style: normal;
72
+ font-weight: 500;
73
+ font-display: swap;
74
+ src: url("Inter-Medium.woff2?v=3.12") format("woff2"),
75
+ url("Inter-Medium.woff?v=3.12") format("woff");
76
+ }
77
+ @font-face {
78
+ font-family: 'Inter';
79
+ font-style: italic;
80
+ font-weight: 500;
81
+ font-display: swap;
82
+ src: url("Inter-MediumItalic.woff2?v=3.12") format("woff2"),
83
+ url("Inter-MediumItalic.woff?v=3.12") format("woff");
84
+ }
85
+
86
+ @font-face {
87
+ font-family: 'Inter';
88
+ font-style: normal;
89
+ font-weight: 600;
90
+ font-display: swap;
91
+ src: url("Inter-SemiBold.woff2?v=3.12") format("woff2"),
92
+ url("Inter-SemiBold.woff?v=3.12") format("woff");
93
+ }
94
+ @font-face {
95
+ font-family: 'Inter';
96
+ font-style: italic;
97
+ font-weight: 600;
98
+ font-display: swap;
99
+ src: url("Inter-SemiBoldItalic.woff2?v=3.12") format("woff2"),
100
+ url("Inter-SemiBoldItalic.woff?v=3.12") format("woff");
101
+ }
102
+
103
+ @font-face {
104
+ font-family: 'Inter';
105
+ font-style: normal;
106
+ font-weight: 700;
107
+ font-display: swap;
108
+ src: url("Inter-Bold.woff2?v=3.12") format("woff2"),
109
+ url("Inter-Bold.woff?v=3.12") format("woff");
110
+ }
111
+ @font-face {
112
+ font-family: 'Inter';
113
+ font-style: italic;
114
+ font-weight: 700;
115
+ font-display: swap;
116
+ src: url("Inter-BoldItalic.woff2?v=3.12") format("woff2"),
117
+ url("Inter-BoldItalic.woff?v=3.12") format("woff");
118
+ }
119
+
120
+ @font-face {
121
+ font-family: 'Inter';
122
+ font-style: normal;
123
+ font-weight: 800;
124
+ font-display: swap;
125
+ src: url("Inter-ExtraBold.woff2?v=3.12") format("woff2"),
126
+ url("Inter-ExtraBold.woff?v=3.12") format("woff");
127
+ }
128
+ @font-face {
129
+ font-family: 'Inter';
130
+ font-style: italic;
131
+ font-weight: 800;
132
+ font-display: swap;
133
+ src: url("Inter-ExtraBoldItalic.woff2?v=3.12") format("woff2"),
134
+ url("Inter-ExtraBoldItalic.woff?v=3.12") format("woff");
135
+ }
136
+
137
+ @font-face {
138
+ font-family: 'Inter';
139
+ font-style: normal;
140
+ font-weight: 900;
141
+ font-display: swap;
142
+ src: url("Inter-Black.woff2?v=3.12") format("woff2"),
143
+ url("Inter-Black.woff?v=3.12") format("woff");
144
+ }
145
+ @font-face {
146
+ font-family: 'Inter';
147
+ font-style: italic;
148
+ font-weight: 900;
149
+ font-display: swap;
150
+ src: url("Inter-BlackItalic.woff2?v=3.12") format("woff2"),
151
+ url("Inter-BlackItalic.woff?v=3.12") format("woff");
152
+ }
153
+
154
+ /* -------------------------------------------------------
155
+ Variable font.
156
+ Usage:
157
+
158
+ html { font-family: 'Inter', sans-serif; }
159
+ @supports (font-variation-settings: normal) {
160
+ html { font-family: 'Inter var', sans-serif; }
161
+ }
162
+ */
163
+ @font-face {
164
+ font-family: 'Inter var';
165
+ font-weight: 100 900;
166
+ font-display: swap;
167
+ font-style: normal;
168
+ font-named-instance: 'Regular';
169
+ src: url("Inter-roman.var.woff2?v=3.12") format("woff2");
170
+ }
171
+ @font-face {
172
+ font-family: 'Inter var';
173
+ font-weight: 100 900;
174
+ font-display: swap;
175
+ font-style: italic;
176
+ font-named-instance: 'Italic';
177
+ src: url("Inter-italic.var.woff2?v=3.12") format("woff2");
178
+ }
package/build/_headers ADDED
@@ -0,0 +1,10 @@
1
+ /*
2
+ Cross-Origin-Opener-Policy: same-origin
3
+ Cross-Origin-Embedder-Policy: require-corp
4
+ Content-Security-Policy: default-src 'self' https://sentry.io blob:; script-src 'self' 'unsafe-eval' blob:; style-src 'self' 'unsafe-inline'; connect-src 'self' https://*.actualbudget.com https://api.mixpanel.com https://sentry.io;
5
+
6
+ /kcab/*
7
+ Content-Security-Policy: default-src 'self' https://sentry.io blob:; script-src 'self' 'unsafe-eval' blob:; style-src 'self' 'unsafe-inline'; connect-src 'self' https://*.actualbudget.com https://api.mixpanel.com https://sentry.io;
8
+
9
+ /*.wasm
10
+ Content-Type: application/wasm
@@ -0,0 +1 @@
1
+ /* /index.html 200
Binary file
Binary file
Binary file
@@ -0,0 +1,22 @@
1
+ {
2
+ "main.js": "/static/js/main.24dde65e.chunk.js",
3
+ "main.js.map": "/static/js/main.24dde65e.chunk.js.map",
4
+ "static/js/1.5b0e59dd.chunk.js": "/static/js/1.5b0e59dd.chunk.js",
5
+ "static/js/1.5b0e59dd.chunk.js.map": "/static/js/1.5b0e59dd.chunk.js.map",
6
+ "static/js/2.c0b1e834.chunk.js": "/static/js/2.c0b1e834.chunk.js",
7
+ "static/js/2.c0b1e834.chunk.js.map": "/static/js/2.c0b1e834.chunk.js.map",
8
+ "static/css/3.d37e3633.chunk.css": "/static/css/3.d37e3633.chunk.css",
9
+ "static/js/3.b968e8cf.chunk.js": "/static/js/3.b968e8cf.chunk.js",
10
+ "static/js/3.b968e8cf.chunk.js.map": "/static/js/3.b968e8cf.chunk.js.map",
11
+ "runtime~main.js": "/static/js/runtime~main.d358c073.js",
12
+ "runtime~main.js.map": "/static/js/runtime~main.d358c073.js.map",
13
+ "static/js/browser-server.06b54be5.worker.js": "/static/js/browser-server.06b54be5.worker.js",
14
+ "static/js/browser-server.06b54be5.worker.js.map": "/static/js/browser-server.06b54be5.worker.js.map",
15
+ "static/media/DateSelect.left.png": "/static/media/DateSelect.left.1ae92674.png",
16
+ "static/media/DateSelect.right.png": "/static/media/DateSelect.right.2a470dc0.png",
17
+ "static/media/bg.svg": "/static/media/bg.ad9dce3b.svg",
18
+ "static/css/3.d37e3633.chunk.css.map": "/static/css/3.d37e3633.chunk.css.map",
19
+ "index.html": "/index.html",
20
+ "precache-manifest.ec84d87f2d2b828c2e9e73764dbee838.js": "/precache-manifest.ec84d87f2d2b828c2e9e73764dbee838.js",
21
+ "service-worker.js": "/service-worker.js"
22
+ }
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <browserconfig>
3
+ <msapplication>
4
+ <tile>
5
+ <square150x150logo src="/mstile-150x150.png"/>
6
+ <TileColor>#da532c</TileColor>
7
+ </tile>
8
+ </msapplication>
9
+ </browserconfig>
@@ -0,0 +1,341 @@
1
+ /* BASICS */
2
+
3
+ .CodeMirror {
4
+ /* Set height, width, borders, and global font properties here */
5
+ font-family: monospace;
6
+ height: 300px;
7
+ color: black;
8
+ }
9
+
10
+ /* PADDING */
11
+
12
+ .CodeMirror-lines {
13
+ padding: 4px 0; /* Vertical padding around content */
14
+ }
15
+ .CodeMirror pre {
16
+ padding: 0 4px; /* Horizontal padding of content */
17
+ }
18
+
19
+ .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
20
+ background-color: white; /* The little square between H and V scrollbars */
21
+ }
22
+
23
+ /* GUTTER */
24
+
25
+ .CodeMirror-gutters {
26
+ border-right: 1px solid #ddd;
27
+ background-color: #f7f7f7;
28
+ white-space: nowrap;
29
+ }
30
+ .CodeMirror-linenumbers {}
31
+ .CodeMirror-linenumber {
32
+ padding: 0 3px 0 5px;
33
+ min-width: 20px;
34
+ text-align: right;
35
+ color: #999;
36
+ white-space: nowrap;
37
+ }
38
+
39
+ .CodeMirror-guttermarker { color: black; }
40
+ .CodeMirror-guttermarker-subtle { color: #999; }
41
+
42
+ /* CURSOR */
43
+
44
+ .CodeMirror-cursor {
45
+ border-left: 1px solid black;
46
+ border-right: none;
47
+ width: 0;
48
+ }
49
+ /* Shown when moving in bi-directional text */
50
+ .CodeMirror div.CodeMirror-secondarycursor {
51
+ border-left: 1px solid silver;
52
+ }
53
+ .cm-fat-cursor .CodeMirror-cursor {
54
+ width: auto;
55
+ border: 0 !important;
56
+ background: #7e7;
57
+ }
58
+ .cm-fat-cursor div.CodeMirror-cursors {
59
+ z-index: 1;
60
+ }
61
+
62
+ .cm-animate-fat-cursor {
63
+ width: auto;
64
+ border: 0;
65
+ -webkit-animation: blink 1.06s steps(1) infinite;
66
+ -moz-animation: blink 1.06s steps(1) infinite;
67
+ animation: blink 1.06s steps(1) infinite;
68
+ background-color: #7e7;
69
+ }
70
+ @-moz-keyframes blink {
71
+ 0% {}
72
+ 50% { background-color: transparent; }
73
+ 100% {}
74
+ }
75
+ @-webkit-keyframes blink {
76
+ 0% {}
77
+ 50% { background-color: transparent; }
78
+ 100% {}
79
+ }
80
+ @keyframes blink {
81
+ 0% {}
82
+ 50% { background-color: transparent; }
83
+ 100% {}
84
+ }
85
+
86
+ /* Can style cursor different in overwrite (non-insert) mode */
87
+ .CodeMirror-overwrite .CodeMirror-cursor {}
88
+
89
+ .cm-tab { display: inline-block; text-decoration: inherit; }
90
+
91
+ .CodeMirror-rulers {
92
+ position: absolute;
93
+ left: 0; right: 0; top: -50px; bottom: -20px;
94
+ overflow: hidden;
95
+ }
96
+ .CodeMirror-ruler {
97
+ border-left: 1px solid #ccc;
98
+ top: 0; bottom: 0;
99
+ position: absolute;
100
+ }
101
+
102
+ /* DEFAULT THEME */
103
+
104
+ .cm-s-default .cm-header {color: blue;}
105
+ .cm-s-default .cm-quote {color: #090;}
106
+ .cm-negative {color: #d44;}
107
+ .cm-positive {color: #292;}
108
+ .cm-header, .cm-strong {font-weight: bold;}
109
+ .cm-em {font-style: italic;}
110
+ .cm-link {text-decoration: underline;}
111
+ .cm-strikethrough {text-decoration: line-through;}
112
+
113
+ .cm-s-default .cm-keyword {color: #708;}
114
+ .cm-s-default .cm-atom {color: #219;}
115
+ .cm-s-default .cm-number {color: #164;}
116
+ .cm-s-default .cm-def {color: #00f;}
117
+ .cm-s-default .cm-variable,
118
+ .cm-s-default .cm-punctuation,
119
+ .cm-s-default .cm-property,
120
+ .cm-s-default .cm-operator {}
121
+ .cm-s-default .cm-variable-2 {color: #05a;}
122
+ .cm-s-default .cm-variable-3 {color: #085;}
123
+ .cm-s-default .cm-comment {color: #a50;}
124
+ .cm-s-default .cm-string {color: #a11;}
125
+ .cm-s-default .cm-string-2 {color: #f50;}
126
+ .cm-s-default .cm-meta {color: #555;}
127
+ .cm-s-default .cm-qualifier {color: #555;}
128
+ .cm-s-default .cm-builtin {color: #30a;}
129
+ .cm-s-default .cm-bracket {color: #997;}
130
+ .cm-s-default .cm-tag {color: #170;}
131
+ .cm-s-default .cm-attribute {color: #00c;}
132
+ .cm-s-default .cm-hr {color: #999;}
133
+ .cm-s-default .cm-link {color: #00c;}
134
+
135
+ .cm-s-default .cm-error {color: #f00;}
136
+ .cm-invalidchar {color: #f00;}
137
+
138
+ .CodeMirror-composing { border-bottom: 2px solid; }
139
+
140
+ /* Default styles for common addons */
141
+
142
+ div.CodeMirror span.CodeMirror-matchingbracket {color: #0f0;}
143
+ div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
144
+ .CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }
145
+ .CodeMirror-activeline-background {background: #e8f2ff;}
146
+
147
+ /* STOP */
148
+
149
+ /* The rest of this file contains styles related to the mechanics of
150
+ the editor. You probably shouldn't touch them. */
151
+
152
+ .CodeMirror {
153
+ position: relative;
154
+ overflow: hidden;
155
+ background: white;
156
+ }
157
+
158
+ .CodeMirror-scroll {
159
+ overflow: scroll !important; /* Things will break if this is overridden */
160
+ /* 30px is the magic margin used to hide the element's real scrollbars */
161
+ /* See overflow: hidden in .CodeMirror */
162
+ margin-bottom: -30px; margin-right: -30px;
163
+ padding-bottom: 30px;
164
+ height: 100%;
165
+ outline: none; /* Prevent dragging from highlighting the element */
166
+ position: relative;
167
+ }
168
+ .CodeMirror-sizer {
169
+ position: relative;
170
+ border-right: 30px solid transparent;
171
+ }
172
+
173
+ /* The fake, visible scrollbars. Used to force redraw during scrolling
174
+ before actual scrolling happens, thus preventing shaking and
175
+ flickering artifacts. */
176
+ .CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
177
+ position: absolute;
178
+ z-index: 6;
179
+ display: none;
180
+ }
181
+ .CodeMirror-vscrollbar {
182
+ right: 0; top: 0;
183
+ overflow-x: hidden;
184
+ overflow-y: scroll;
185
+ }
186
+ .CodeMirror-hscrollbar {
187
+ bottom: 0; left: 0;
188
+ overflow-y: hidden;
189
+ overflow-x: scroll;
190
+ }
191
+ .CodeMirror-scrollbar-filler {
192
+ right: 0; bottom: 0;
193
+ }
194
+ .CodeMirror-gutter-filler {
195
+ left: 0; bottom: 0;
196
+ }
197
+
198
+ .CodeMirror-gutters {
199
+ position: absolute; left: 0; top: 0;
200
+ min-height: 100%;
201
+ z-index: 3;
202
+ }
203
+ .CodeMirror-gutter {
204
+ white-space: normal;
205
+ height: 100%;
206
+ display: inline-block;
207
+ vertical-align: top;
208
+ margin-bottom: -30px;
209
+ }
210
+ .CodeMirror-gutter-wrapper {
211
+ position: absolute;
212
+ z-index: 4;
213
+ background: none !important;
214
+ border: none !important;
215
+ }
216
+ .CodeMirror-gutter-background {
217
+ position: absolute;
218
+ top: 0; bottom: 0;
219
+ z-index: 4;
220
+ }
221
+ .CodeMirror-gutter-elt {
222
+ position: absolute;
223
+ cursor: default;
224
+ z-index: 4;
225
+ }
226
+ .CodeMirror-gutter-wrapper {
227
+ -webkit-user-select: none;
228
+ -moz-user-select: none;
229
+ user-select: none;
230
+ }
231
+
232
+ .CodeMirror-lines {
233
+ cursor: text;
234
+ min-height: 1px; /* prevents collapsing before first draw */
235
+ }
236
+ .CodeMirror pre {
237
+ /* Reset some styles that the rest of the page might have set */
238
+ -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;
239
+ border-width: 0;
240
+ background: transparent;
241
+ font-family: inherit;
242
+ font-size: inherit;
243
+ margin: 0;
244
+ white-space: pre;
245
+ word-wrap: normal;
246
+ line-height: inherit;
247
+ color: inherit;
248
+ z-index: 2;
249
+ position: relative;
250
+ overflow: visible;
251
+ -webkit-tap-highlight-color: transparent;
252
+ -webkit-font-variant-ligatures: contextual;
253
+ font-variant-ligatures: contextual;
254
+ }
255
+ .CodeMirror-wrap pre {
256
+ word-wrap: break-word;
257
+ white-space: pre-wrap;
258
+ word-break: normal;
259
+ }
260
+
261
+ .CodeMirror-linebackground {
262
+ position: absolute;
263
+ left: 0; right: 0; top: 0; bottom: 0;
264
+ z-index: 0;
265
+ }
266
+
267
+ .CodeMirror-linewidget {
268
+ position: relative;
269
+ z-index: 2;
270
+ overflow: auto;
271
+ }
272
+
273
+ .CodeMirror-widget {}
274
+
275
+ .CodeMirror-code {
276
+ outline: none;
277
+ }
278
+
279
+ /* Force content-box sizing for the elements where we expect it */
280
+ .CodeMirror-scroll,
281
+ .CodeMirror-sizer,
282
+ .CodeMirror-gutter,
283
+ .CodeMirror-gutters,
284
+ .CodeMirror-linenumber {
285
+ -moz-box-sizing: content-box;
286
+ box-sizing: content-box;
287
+ }
288
+
289
+ .CodeMirror-measure {
290
+ position: absolute;
291
+ width: 100%;
292
+ height: 0;
293
+ overflow: hidden;
294
+ visibility: hidden;
295
+ }
296
+
297
+ .CodeMirror-cursor {
298
+ position: absolute;
299
+ pointer-events: none;
300
+ }
301
+ .CodeMirror-measure pre { position: static; }
302
+
303
+ div.CodeMirror-cursors {
304
+ visibility: hidden;
305
+ position: relative;
306
+ z-index: 3;
307
+ }
308
+ div.CodeMirror-dragcursors {
309
+ visibility: visible;
310
+ }
311
+
312
+ .CodeMirror-focused div.CodeMirror-cursors {
313
+ visibility: visible;
314
+ }
315
+
316
+ .CodeMirror-selected { background: #d9d9d9; }
317
+ .CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }
318
+ .CodeMirror-crosshair { cursor: crosshair; }
319
+ .CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { background: #d7d4f0; }
320
+ .CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; }
321
+
322
+ .cm-searching {
323
+ background: #ffa;
324
+ background: rgba(255, 255, 0, .4);
325
+ }
326
+
327
+ /* Used to force a border model for a node */
328
+ .cm-force-border { padding-right: .1px; }
329
+
330
+ @media print {
331
+ /* Hide the cursor when printing */
332
+ .CodeMirror div.CodeMirror-cursors {
333
+ visibility: hidden;
334
+ }
335
+ }
336
+
337
+ /* See issue #2901 */
338
+ .cm-tab-wrap-hack:after { content: ''; }
339
+
340
+ /* Help users use markselection to safely style text background */
341
+ span.CodeMirror-selectedtext { background: none; }
Binary file
File without changes
@@ -0,0 +1,5 @@
1
+ BEGIN TRANSACTION;
2
+
3
+ DROP TABLE db_version;
4
+
5
+ COMMIT;
@@ -0,0 +1,23 @@
1
+ BEGIN TRANSACTION;
2
+
3
+ CREATE TABLE payees
4
+ (id TEXT PRIMARY KEY,
5
+ name TEXT,
6
+ category TEXT,
7
+ tombstone INTEGER DEFAULT 0,
8
+ transfer_acct TEXT);
9
+
10
+ CREATE TABLE payee_rules
11
+ (id TEXT PRIMARY KEY,
12
+ payee_id TEXT,
13
+ type TEXT,
14
+ value TEXT,
15
+ tombstone INTEGER DEFAULT 0);
16
+
17
+ CREATE INDEX payee_rules_lowercase_index ON payee_rules(LOWER(value));
18
+
19
+ CREATE TABLE payee_mapping
20
+ (id TEXT PRIMARY KEY,
21
+ targetId TEXT);
22
+
23
+ COMMIT;
@@ -0,0 +1,25 @@
1
+ BEGIN TRANSACTION;
2
+
3
+ CREATE TEMPORARY TABLE category_groups_tmp
4
+ (id TEXT PRIMARY KEY,
5
+ name TEXT UNIQUE,
6
+ is_income INTEGER DEFAULT 0,
7
+ sort_order REAL,
8
+ tombstone INTEGER DEFAULT 0);
9
+
10
+ INSERT INTO category_groups_tmp SELECT * FROM category_groups;
11
+
12
+ DROP TABLE category_groups;
13
+
14
+ CREATE TABLE category_groups
15
+ (id TEXT PRIMARY KEY,
16
+ name TEXT,
17
+ is_income INTEGER DEFAULT 0,
18
+ sort_order REAL,
19
+ tombstone INTEGER DEFAULT 0);
20
+
21
+ INSERT INTO category_groups SELECT * FROM category_groups_tmp;
22
+
23
+ DROP TABLE category_groups_tmp;
24
+
25
+ COMMIT;
@@ -0,0 +1,7 @@
1
+ BEGIN TRANSACTION;
2
+
3
+ CREATE INDEX trans_category_date ON transactions(category, date);
4
+ CREATE INDEX trans_category ON transactions(category);
5
+ CREATE INDEX trans_date ON transactions(date);
6
+
7
+ COMMIT;