├── .editorconfig
├── .eslintrc.js
├── .gitignore
├── COPYING
├── LICENSE
├── README.md
├── assets
└── stylus
│ ├── base
│ ├── animation.styl
│ ├── message.styl
│ ├── modal.styl
│ └── preloader.styl
│ ├── main.styl
│ └── utils
│ ├── mixin.styl
│ └── vars.styl
├── components
├── Library
│ ├── EditModal.vue
│ ├── TaskItem.vue
│ └── deleteModal.vue
├── System
│ ├── Header.vue
│ └── Navigation
│ │ └── NavbarHead.vue
└── UI
│ ├── Message.vue
│ ├── Modal.vue
│ └── Tag.vue
├── layouts
└── default.vue
├── nuxt.config.js
├── package-lock.json
├── package.json
├── pages
├── _id
│ └── index.vue
├── index.vue
├── library
│ ├── _id
│ │ └── index.vue
│ └── index.vue
├── login
│ └── index.vue
└── registration
│ └── index.vue
├── plugins
├── Vuelidate.js
└── fireauth.js
├── static
└── favicon.ico
└── store
├── common.js
├── index.js
└── message.js
/.editorconfig:
--------------------------------------------------------------------------------
1 | # editorconfig.org
2 | root = true
3 |
4 | [*]
5 | indent_style = space
6 | indent_size = 2
7 | end_of_line = lf
8 | charset = utf-8
9 | trim_trailing_whitespace = true
10 | insert_final_newline = true
11 |
12 | [*.md]
13 | trim_trailing_whitespace = false
14 |
--------------------------------------------------------------------------------
/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | root: true,
3 | env: {
4 | browser: true,
5 | node: true
6 | },
7 | parserOptions: {
8 | parser: 'babel-eslint'
9 | },
10 | extends: [
11 | 'plugin:vue/recommended'
12 | ],
13 | // required to lint *.vue files
14 | plugins: [
15 | 'vue'
16 | ],
17 | // add your custom rules here
18 | rules: {
19 | 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
20 | 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | ### Default & Node template
2 | node_modules/
3 | jspm_packages/
4 | dist/
5 | build/
6 | # Node
7 | server/
8 | # node-waf configuration
9 | .lock-wscript
10 | # next.js build output
11 | .next
12 | # nuxt.js build output
13 | .nuxt
14 | # Runtime data
15 | pids
16 | *.pid
17 | *.seed
18 | *.pid.lock
19 | # vuepress build output
20 | .vuepress/dist
21 | # Serverless directories
22 | .serverless
23 | # dotenv environment variables file
24 | .env
25 | # parcel-bundler cache (https://parceljs.org/)
26 | .cache
27 | # Output of 'npm pack'
28 | *.tgz
29 | # Optional eslint cache
30 | .eslintcache
31 | # Optional REPL history
32 | .node_repl_history
33 |
34 | # Editor directories and files
35 | .idea
36 | .vscode
37 | *.suo
38 | *.ntvs*
39 | *.njsproj
40 | *.sln
41 |
42 | # Test
43 | /test/
44 | /store/test
45 | /plugins/test
46 |
47 | # Private
48 | /store/private
49 | /services/
50 | /middleware/
51 |
52 | # BD
53 | *.sql
54 | *.sqlite
55 |
56 | # Logs
57 | logs
58 | *.log
59 | npm-debug.log*
60 | yarn-debug.log*
61 | yarn-error.log*
62 | yarn.lock
63 |
64 | # Special
65 | Thumbs.db
66 | Desktop.ini
67 | .DS_Store*
68 | ehthumbs.db
69 | Icon?
--------------------------------------------------------------------------------
/COPYING:
--------------------------------------------------------------------------------
1 | GNU GENERAL PUBLIC LICENSE
2 | Version 3, 29 June 2007
3 |
4 | Copyright (C) 2007 Free Software Foundation, Inc.
5 | Everyone is permitted to copy and distribute verbatim copies
6 | of this license document, but changing it is not allowed.
7 |
8 | Preamble
9 |
10 | The GNU General Public License is a free, copyleft license for
11 | software and other kinds of works.
12 |
13 | The licenses for most software and other practical works are designed
14 | to take away your freedom to share and change the works. By contrast,
15 | the GNU General Public License is intended to guarantee your freedom to
16 | share and change all versions of a program--to make sure it remains free
17 | software for all its users. We, the Free Software Foundation, use the
18 | GNU General Public License for most of our software; it applies also to
19 | any other work released this way by its authors. You can apply it to
20 | your programs, too.
21 |
22 | When we speak of free software, we are referring to freedom, not
23 | price. Our General Public Licenses are designed to make sure that you
24 | have the freedom to distribute copies of free software (and charge for
25 | them if you wish), that you receive source code or can get it if you
26 | want it, that you can change the software or use pieces of it in new
27 | free programs, and that you know you can do these things.
28 |
29 | To protect your rights, we need to prevent others from denying you
30 | these rights or asking you to surrender the rights. Therefore, you have
31 | certain responsibilities if you distribute copies of the software, or if
32 | you modify it: responsibilities to respect the freedom of others.
33 |
34 | For example, if you distribute copies of such a program, whether
35 | gratis or for a fee, you must pass on to the recipients the same
36 | freedoms that you received. You must make sure that they, too, receive
37 | or can get the source code. And you must show them these terms so they
38 | know their rights.
39 |
40 | Developers that use the GNU GPL protect your rights with two steps:
41 | (1) assert copyright on the software, and (2) offer you this License
42 | giving you legal permission to copy, distribute and/or modify it.
43 |
44 | For the developers' and authors' protection, the GPL clearly explains
45 | that there is no warranty for this free software. For both users' and
46 | authors' sake, the GPL requires that modified versions be marked as
47 | changed, so that their problems will not be attributed erroneously to
48 | authors of previous versions.
49 |
50 | Some devices are designed to deny users access to install or run
51 | modified versions of the software inside them, although the manufacturer
52 | can do so. This is fundamentally incompatible with the aim of
53 | protecting users' freedom to change the software. The systematic
54 | pattern of such abuse occurs in the area of products for individuals to
55 | use, which is precisely where it is most unacceptable. Therefore, we
56 | have designed this version of the GPL to prohibit the practice for those
57 | products. If such problems arise substantially in other domains, we
58 | stand ready to extend this provision to those domains in future versions
59 | of the GPL, as needed to protect the freedom of users.
60 |
61 | Finally, every program is threatened constantly by software patents.
62 | States should not allow patents to restrict development and use of
63 | software on general-purpose computers, but in those that do, we wish to
64 | avoid the special danger that patents applied to a free program could
65 | make it effectively proprietary. To prevent this, the GPL assures that
66 | patents cannot be used to render the program non-free.
67 |
68 | The precise terms and conditions for copying, distribution and
69 | modification follow.
70 |
71 | TERMS AND CONDITIONS
72 |
73 | 0. Definitions.
74 |
75 | "This License" refers to version 3 of the GNU General Public License.
76 |
77 | "Copyright" also means copyright-like laws that apply to other kinds of
78 | works, such as semiconductor masks.
79 |
80 | "The Program" refers to any copyrightable work licensed under this
81 | License. Each licensee is addressed as "you". "Licensees" and
82 | "recipients" may be individuals or organizations.
83 |
84 | To "modify" a work means to copy from or adapt all or part of the work
85 | in a fashion requiring copyright permission, other than the making of an
86 | exact copy. The resulting work is called a "modified version" of the
87 | earlier work or a work "based on" the earlier work.
88 |
89 | A "covered work" means either the unmodified Program or a work based
90 | on the Program.
91 |
92 | To "propagate" a work means to do anything with it that, without
93 | permission, would make you directly or secondarily liable for
94 | infringement under applicable copyright law, except executing it on a
95 | computer or modifying a private copy. Propagation includes copying,
96 | distribution (with or without modification), making available to the
97 | public, and in some countries other activities as well.
98 |
99 | To "convey" a work means any kind of propagation that enables other
100 | parties to make or receive copies. Mere interaction with a user through
101 | a computer network, with no transfer of a copy, is not conveying.
102 |
103 | An interactive user interface displays "Appropriate Legal Notices"
104 | to the extent that it includes a convenient and prominently visible
105 | feature that (1) displays an appropriate copyright notice, and (2)
106 | tells the user that there is no warranty for the work (except to the
107 | extent that warranties are provided), that licensees may convey the
108 | work under this License, and how to view a copy of this License. If
109 | the interface presents a list of user commands or options, such as a
110 | menu, a prominent item in the list meets this criterion.
111 |
112 | 1. Source Code.
113 |
114 | The "source code" for a work means the preferred form of the work
115 | for making modifications to it. "Object code" means any non-source
116 | form of a work.
117 |
118 | A "Standard Interface" means an interface that either is an official
119 | standard defined by a recognized standards body, or, in the case of
120 | interfaces specified for a particular programming language, one that
121 | is widely used among developers working in that language.
122 |
123 | The "System Libraries" of an executable work include anything, other
124 | than the work as a whole, that (a) is included in the normal form of
125 | packaging a Major Component, but which is not part of that Major
126 | Component, and (b) serves only to enable use of the work with that
127 | Major Component, or to implement a Standard Interface for which an
128 | implementation is available to the public in source code form. A
129 | "Major Component", in this context, means a major essential component
130 | (kernel, window system, and so on) of the specific operating system
131 | (if any) on which the executable work runs, or a compiler used to
132 | produce the work, or an object code interpreter used to run it.
133 |
134 | The "Corresponding Source" for a work in object code form means all
135 | the source code needed to generate, install, and (for an executable
136 | work) run the object code and to modify the work, including scripts to
137 | control those activities. However, it does not include the work's
138 | System Libraries, or general-purpose tools or generally available free
139 | programs which are used unmodified in performing those activities but
140 | which are not part of the work. For example, Corresponding Source
141 | includes interface definition files associated with source files for
142 | the work, and the source code for shared libraries and dynamically
143 | linked subprograms that the work is specifically designed to require,
144 | such as by intimate data communication or control flow between those
145 | subprograms and other parts of the work.
146 |
147 | The Corresponding Source need not include anything that users
148 | can regenerate automatically from other parts of the Corresponding
149 | Source.
150 |
151 | The Corresponding Source for a work in source code form is that
152 | same work.
153 |
154 | 2. Basic Permissions.
155 |
156 | All rights granted under this License are granted for the term of
157 | copyright on the Program, and are irrevocable provided the stated
158 | conditions are met. This License explicitly affirms your unlimited
159 | permission to run the unmodified Program. The output from running a
160 | covered work is covered by this License only if the output, given its
161 | content, constitutes a covered work. This License acknowledges your
162 | rights of fair use or other equivalent, as provided by copyright law.
163 |
164 | You may make, run and propagate covered works that you do not
165 | convey, without conditions so long as your license otherwise remains
166 | in force. You may convey covered works to others for the sole purpose
167 | of having them make modifications exclusively for you, or provide you
168 | with facilities for running those works, provided that you comply with
169 | the terms of this License in conveying all material for which you do
170 | not control copyright. Those thus making or running the covered works
171 | for you must do so exclusively on your behalf, under your direction
172 | and control, on terms that prohibit them from making any copies of
173 | your copyrighted material outside their relationship with you.
174 |
175 | Conveying under any other circumstances is permitted solely under
176 | the conditions stated below. Sublicensing is not allowed; section 10
177 | makes it unnecessary.
178 |
179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
180 |
181 | No covered work shall be deemed part of an effective technological
182 | measure under any applicable law fulfilling obligations under article
183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or
184 | similar laws prohibiting or restricting circumvention of such
185 | measures.
186 |
187 | When you convey a covered work, you waive any legal power to forbid
188 | circumvention of technological measures to the extent such circumvention
189 | is effected by exercising rights under this License with respect to
190 | the covered work, and you disclaim any intention to limit operation or
191 | modification of the work as a means of enforcing, against the work's
192 | users, your or third parties' legal rights to forbid circumvention of
193 | technological measures.
194 |
195 | 4. Conveying Verbatim Copies.
196 |
197 | You may convey verbatim copies of the Program's source code as you
198 | receive it, in any medium, provided that you conspicuously and
199 | appropriately publish on each copy an appropriate copyright notice;
200 | keep intact all notices stating that this License and any
201 | non-permissive terms added in accord with section 7 apply to the code;
202 | keep intact all notices of the absence of any warranty; and give all
203 | recipients a copy of this License along with the Program.
204 |
205 | You may charge any price or no price for each copy that you convey,
206 | and you may offer support or warranty protection for a fee.
207 |
208 | 5. Conveying Modified Source Versions.
209 |
210 | You may convey a work based on the Program, or the modifications to
211 | produce it from the Program, in the form of source code under the
212 | terms of section 4, provided that you also meet all of these conditions:
213 |
214 | a) The work must carry prominent notices stating that you modified
215 | it, and giving a relevant date.
216 |
217 | b) The work must carry prominent notices stating that it is
218 | released under this License and any conditions added under section
219 | 7. This requirement modifies the requirement in section 4 to
220 | "keep intact all notices".
221 |
222 | c) You must license the entire work, as a whole, under this
223 | License to anyone who comes into possession of a copy. This
224 | License will therefore apply, along with any applicable section 7
225 | additional terms, to the whole of the work, and all its parts,
226 | regardless of how they are packaged. This License gives no
227 | permission to license the work in any other way, but it does not
228 | invalidate such permission if you have separately received it.
229 |
230 | d) If the work has interactive user interfaces, each must display
231 | Appropriate Legal Notices; however, if the Program has interactive
232 | interfaces that do not display Appropriate Legal Notices, your
233 | work need not make them do so.
234 |
235 | A compilation of a covered work with other separate and independent
236 | works, which are not by their nature extensions of the covered work,
237 | and which are not combined with it such as to form a larger program,
238 | in or on a volume of a storage or distribution medium, is called an
239 | "aggregate" if the compilation and its resulting copyright are not
240 | used to limit the access or legal rights of the compilation's users
241 | beyond what the individual works permit. Inclusion of a covered work
242 | in an aggregate does not cause this License to apply to the other
243 | parts of the aggregate.
244 |
245 | 6. Conveying Non-Source Forms.
246 |
247 | You may convey a covered work in object code form under the terms
248 | of sections 4 and 5, provided that you also convey the
249 | machine-readable Corresponding Source under the terms of this License,
250 | in one of these ways:
251 |
252 | a) Convey the object code in, or embodied in, a physical product
253 | (including a physical distribution medium), accompanied by the
254 | Corresponding Source fixed on a durable physical medium
255 | customarily used for software interchange.
256 |
257 | b) Convey the object code in, or embodied in, a physical product
258 | (including a physical distribution medium), accompanied by a
259 | written offer, valid for at least three years and valid for as
260 | long as you offer spare parts or customer support for that product
261 | model, to give anyone who possesses the object code either (1) a
262 | copy of the Corresponding Source for all the software in the
263 | product that is covered by this License, on a durable physical
264 | medium customarily used for software interchange, for a price no
265 | more than your reasonable cost of physically performing this
266 | conveying of source, or (2) access to copy the
267 | Corresponding Source from a network server at no charge.
268 |
269 | c) Convey individual copies of the object code with a copy of the
270 | written offer to provide the Corresponding Source. This
271 | alternative is allowed only occasionally and noncommercially, and
272 | only if you received the object code with such an offer, in accord
273 | with subsection 6b.
274 |
275 | d) Convey the object code by offering access from a designated
276 | place (gratis or for a charge), and offer equivalent access to the
277 | Corresponding Source in the same way through the same place at no
278 | further charge. You need not require recipients to copy the
279 | Corresponding Source along with the object code. If the place to
280 | copy the object code is a network server, the Corresponding Source
281 | may be on a different server (operated by you or a third party)
282 | that supports equivalent copying facilities, provided you maintain
283 | clear directions next to the object code saying where to find the
284 | Corresponding Source. Regardless of what server hosts the
285 | Corresponding Source, you remain obligated to ensure that it is
286 | available for as long as needed to satisfy these requirements.
287 |
288 | e) Convey the object code using peer-to-peer transmission, provided
289 | you inform other peers where the object code and Corresponding
290 | Source of the work are being offered to the general public at no
291 | charge under subsection 6d.
292 |
293 | A separable portion of the object code, whose source code is excluded
294 | from the Corresponding Source as a System Library, need not be
295 | included in conveying the object code work.
296 |
297 | A "User Product" is either (1) a "consumer product", which means any
298 | tangible personal property which is normally used for personal, family,
299 | or household purposes, or (2) anything designed or sold for incorporation
300 | into a dwelling. In determining whether a product is a consumer product,
301 | doubtful cases shall be resolved in favor of coverage. For a particular
302 | product received by a particular user, "normally used" refers to a
303 | typical or common use of that class of product, regardless of the status
304 | of the particular user or of the way in which the particular user
305 | actually uses, or expects or is expected to use, the product. A product
306 | is a consumer product regardless of whether the product has substantial
307 | commercial, industrial or non-consumer uses, unless such uses represent
308 | the only significant mode of use of the product.
309 |
310 | "Installation Information" for a User Product means any methods,
311 | procedures, authorization keys, or other information required to install
312 | and execute modified versions of a covered work in that User Product from
313 | a modified version of its Corresponding Source. The information must
314 | suffice to ensure that the continued functioning of the modified object
315 | code is in no case prevented or interfered with solely because
316 | modification has been made.
317 |
318 | If you convey an object code work under this section in, or with, or
319 | specifically for use in, a User Product, and the conveying occurs as
320 | part of a transaction in which the right of possession and use of the
321 | User Product is transferred to the recipient in perpetuity or for a
322 | fixed term (regardless of how the transaction is characterized), the
323 | Corresponding Source conveyed under this section must be accompanied
324 | by the Installation Information. But this requirement does not apply
325 | if neither you nor any third party retains the ability to install
326 | modified object code on the User Product (for example, the work has
327 | been installed in ROM).
328 |
329 | The requirement to provide Installation Information does not include a
330 | requirement to continue to provide support service, warranty, or updates
331 | for a work that has been modified or installed by the recipient, or for
332 | the User Product in which it has been modified or installed. Access to a
333 | network may be denied when the modification itself materially and
334 | adversely affects the operation of the network or violates the rules and
335 | protocols for communication across the network.
336 |
337 | Corresponding Source conveyed, and Installation Information provided,
338 | in accord with this section must be in a format that is publicly
339 | documented (and with an implementation available to the public in
340 | source code form), and must require no special password or key for
341 | unpacking, reading or copying.
342 |
343 | 7. Additional Terms.
344 |
345 | "Additional permissions" are terms that supplement the terms of this
346 | License by making exceptions from one or more of its conditions.
347 | Additional permissions that are applicable to the entire Program shall
348 | be treated as though they were included in this License, to the extent
349 | that they are valid under applicable law. If additional permissions
350 | apply only to part of the Program, that part may be used separately
351 | under those permissions, but the entire Program remains governed by
352 | this License without regard to the additional permissions.
353 |
354 | When you convey a copy of a covered work, you may at your option
355 | remove any additional permissions from that copy, or from any part of
356 | it. (Additional permissions may be written to require their own
357 | removal in certain cases when you modify the work.) You may place
358 | additional permissions on material, added by you to a covered work,
359 | for which you have or can give appropriate copyright permission.
360 |
361 | Notwithstanding any other provision of this License, for material you
362 | add to a covered work, you may (if authorized by the copyright holders of
363 | that material) supplement the terms of this License with terms:
364 |
365 | a) Disclaiming warranty or limiting liability differently from the
366 | terms of sections 15 and 16 of this License; or
367 |
368 | b) Requiring preservation of specified reasonable legal notices or
369 | author attributions in that material or in the Appropriate Legal
370 | Notices displayed by works containing it; or
371 |
372 | c) Prohibiting misrepresentation of the origin of that material, or
373 | requiring that modified versions of such material be marked in
374 | reasonable ways as different from the original version; or
375 |
376 | d) Limiting the use for publicity purposes of names of licensors or
377 | authors of the material; or
378 |
379 | e) Declining to grant rights under trademark law for use of some
380 | trade names, trademarks, or service marks; or
381 |
382 | f) Requiring indemnification of licensors and authors of that
383 | material by anyone who conveys the material (or modified versions of
384 | it) with contractual assumptions of liability to the recipient, for
385 | any liability that these contractual assumptions directly impose on
386 | those licensors and authors.
387 |
388 | All other non-permissive additional terms are considered "further
389 | restrictions" within the meaning of section 10. If the Program as you
390 | received it, or any part of it, contains a notice stating that it is
391 | governed by this License along with a term that is a further
392 | restriction, you may remove that term. If a license document contains
393 | a further restriction but permits relicensing or conveying under this
394 | License, you may add to a covered work material governed by the terms
395 | of that license document, provided that the further restriction does
396 | not survive such relicensing or conveying.
397 |
398 | If you add terms to a covered work in accord with this section, you
399 | must place, in the relevant source files, a statement of the
400 | additional terms that apply to those files, or a notice indicating
401 | where to find the applicable terms.
402 |
403 | Additional terms, permissive or non-permissive, may be stated in the
404 | form of a separately written license, or stated as exceptions;
405 | the above requirements apply either way.
406 |
407 | 8. Termination.
408 |
409 | You may not propagate or modify a covered work except as expressly
410 | provided under this License. Any attempt otherwise to propagate or
411 | modify it is void, and will automatically terminate your rights under
412 | this License (including any patent licenses granted under the third
413 | paragraph of section 11).
414 |
415 | However, if you cease all violation of this License, then your
416 | license from a particular copyright holder is reinstated (a)
417 | provisionally, unless and until the copyright holder explicitly and
418 | finally terminates your license, and (b) permanently, if the copyright
419 | holder fails to notify you of the violation by some reasonable means
420 | prior to 60 days after the cessation.
421 |
422 | Moreover, your license from a particular copyright holder is
423 | reinstated permanently if the copyright holder notifies you of the
424 | violation by some reasonable means, this is the first time you have
425 | received notice of violation of this License (for any work) from that
426 | copyright holder, and you cure the violation prior to 30 days after
427 | your receipt of the notice.
428 |
429 | Termination of your rights under this section does not terminate the
430 | licenses of parties who have received copies or rights from you under
431 | this License. If your rights have been terminated and not permanently
432 | reinstated, you do not qualify to receive new licenses for the same
433 | material under section 10.
434 |
435 | 9. Acceptance Not Required for Having Copies.
436 |
437 | You are not required to accept this License in order to receive or
438 | run a copy of the Program. Ancillary propagation of a covered work
439 | occurring solely as a consequence of using peer-to-peer transmission
440 | to receive a copy likewise does not require acceptance. However,
441 | nothing other than this License grants you permission to propagate or
442 | modify any covered work. These actions infringe copyright if you do
443 | not accept this License. Therefore, by modifying or propagating a
444 | covered work, you indicate your acceptance of this License to do so.
445 |
446 | 10. Automatic Licensing of Downstream Recipients.
447 |
448 | Each time you convey a covered work, the recipient automatically
449 | receives a license from the original licensors, to run, modify and
450 | propagate that work, subject to this License. You are not responsible
451 | for enforcing compliance by third parties with this License.
452 |
453 | An "entity transaction" is a transaction transferring control of an
454 | organization, or substantially all assets of one, or subdividing an
455 | organization, or merging organizations. If propagation of a covered
456 | work results from an entity transaction, each party to that
457 | transaction who receives a copy of the work also receives whatever
458 | licenses to the work the party's predecessor in interest had or could
459 | give under the previous paragraph, plus a right to possession of the
460 | Corresponding Source of the work from the predecessor in interest, if
461 | the predecessor has it or can get it with reasonable efforts.
462 |
463 | You may not impose any further restrictions on the exercise of the
464 | rights granted or affirmed under this License. For example, you may
465 | not impose a license fee, royalty, or other charge for exercise of
466 | rights granted under this License, and you may not initiate litigation
467 | (including a cross-claim or counterclaim in a lawsuit) alleging that
468 | any patent claim is infringed by making, using, selling, offering for
469 | sale, or importing the Program or any portion of it.
470 |
471 | 11. Patents.
472 |
473 | A "contributor" is a copyright holder who authorizes use under this
474 | License of the Program or a work on which the Program is based. The
475 | work thus licensed is called the contributor's "contributor version".
476 |
477 | A contributor's "essential patent claims" are all patent claims
478 | owned or controlled by the contributor, whether already acquired or
479 | hereafter acquired, that would be infringed by some manner, permitted
480 | by this License, of making, using, or selling its contributor version,
481 | but do not include claims that would be infringed only as a
482 | consequence of further modification of the contributor version. For
483 | purposes of this definition, "control" includes the right to grant
484 | patent sublicenses in a manner consistent with the requirements of
485 | this License.
486 |
487 | Each contributor grants you a non-exclusive, worldwide, royalty-free
488 | patent license under the contributor's essential patent claims, to
489 | make, use, sell, offer for sale, import and otherwise run, modify and
490 | propagate the contents of its contributor version.
491 |
492 | In the following three paragraphs, a "patent license" is any express
493 | agreement or commitment, however denominated, not to enforce a patent
494 | (such as an express permission to practice a patent or covenant not to
495 | sue for patent infringement). To "grant" such a patent license to a
496 | party means to make such an agreement or commitment not to enforce a
497 | patent against the party.
498 |
499 | If you convey a covered work, knowingly relying on a patent license,
500 | and the Corresponding Source of the work is not available for anyone
501 | to copy, free of charge and under the terms of this License, through a
502 | publicly available network server or other readily accessible means,
503 | then you must either (1) cause the Corresponding Source to be so
504 | available, or (2) arrange to deprive yourself of the benefit of the
505 | patent license for this particular work, or (3) arrange, in a manner
506 | consistent with the requirements of this License, to extend the patent
507 | license to downstream recipients. "Knowingly relying" means you have
508 | actual knowledge that, but for the patent license, your conveying the
509 | covered work in a country, or your recipient's use of the covered work
510 | in a country, would infringe one or more identifiable patents in that
511 | country that you have reason to believe are valid.
512 |
513 | If, pursuant to or in connection with a single transaction or
514 | arrangement, you convey, or propagate by procuring conveyance of, a
515 | covered work, and grant a patent license to some of the parties
516 | receiving the covered work authorizing them to use, propagate, modify
517 | or convey a specific copy of the covered work, then the patent license
518 | you grant is automatically extended to all recipients of the covered
519 | work and works based on it.
520 |
521 | A patent license is "discriminatory" if it does not include within
522 | the scope of its coverage, prohibits the exercise of, or is
523 | conditioned on the non-exercise of one or more of the rights that are
524 | specifically granted under this License. You may not convey a covered
525 | work if you are a party to an arrangement with a third party that is
526 | in the business of distributing software, under which you make payment
527 | to the third party based on the extent of your activity of conveying
528 | the work, and under which the third party grants, to any of the
529 | parties who would receive the covered work from you, a discriminatory
530 | patent license (a) in connection with copies of the covered work
531 | conveyed by you (or copies made from those copies), or (b) primarily
532 | for and in connection with specific products or compilations that
533 | contain the covered work, unless you entered into that arrangement,
534 | or that patent license was granted, prior to 28 March 2007.
535 |
536 | Nothing in this License shall be construed as excluding or limiting
537 | any implied license or other defenses to infringement that may
538 | otherwise be available to you under applicable patent law.
539 |
540 | 12. No Surrender of Others' Freedom.
541 |
542 | If conditions are imposed on you (whether by court order, agreement or
543 | otherwise) that contradict the conditions of this License, they do not
544 | excuse you from the conditions of this License. If you cannot convey a
545 | covered work so as to satisfy simultaneously your obligations under this
546 | License and any other pertinent obligations, then as a consequence you may
547 | not convey it at all. For example, if you agree to terms that obligate you
548 | to collect a royalty for further conveying from those to whom you convey
549 | the Program, the only way you could satisfy both those terms and this
550 | License would be to refrain entirely from conveying the Program.
551 |
552 | 13. Use with the GNU Affero General Public License.
553 |
554 | Notwithstanding any other provision of this License, you have
555 | permission to link or combine any covered work with a work licensed
556 | under version 3 of the GNU Affero General Public License into a single
557 | combined work, and to convey the resulting work. The terms of this
558 | License will continue to apply to the part which is the covered work,
559 | but the special requirements of the GNU Affero General Public License,
560 | section 13, concerning interaction through a network will apply to the
561 | combination as such.
562 |
563 | 14. Revised Versions of this License.
564 |
565 | The Free Software Foundation may publish revised and/or new versions of
566 | the GNU General Public License from time to time. Such new versions will
567 | be similar in spirit to the present version, but may differ in detail to
568 | address new problems or concerns.
569 |
570 | Each version is given a distinguishing version number. If the
571 | Program specifies that a certain numbered version of the GNU General
572 | Public License "or any later version" applies to it, you have the
573 | option of following the terms and conditions either of that numbered
574 | version or of any later version published by the Free Software
575 | Foundation. If the Program does not specify a version number of the
576 | GNU General Public License, you may choose any version ever published
577 | by the Free Software Foundation.
578 |
579 | If the Program specifies that a proxy can decide which future
580 | versions of the GNU General Public License can be used, that proxy's
581 | public statement of acceptance of a version permanently authorizes you
582 | to choose that version for the Program.
583 |
584 | Later license versions may give you additional or different
585 | permissions. However, no additional obligations are imposed on any
586 | author or copyright holder as a result of your choosing to follow a
587 | later version.
588 |
589 | 15. Disclaimer of Warranty.
590 |
591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
599 |
600 | 16. Limitation of Liability.
601 |
602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
610 | SUCH DAMAGES.
611 |
612 | 17. Interpretation of Sections 15 and 16.
613 |
614 | If the disclaimer of warranty and limitation of liability provided
615 | above cannot be given local legal effect according to their terms,
616 | reviewing courts shall apply local law that most closely approximates
617 | an absolute waiver of all civil liability in connection with the
618 | Program, unless a warranty or assumption of liability accompanies a
619 | copy of the Program in return for a fee.
620 |
621 | END OF TERMS AND CONDITIONS
622 |
623 | How to Apply These Terms to Your New Programs
624 |
625 | If you develop a new program, and you want it to be of the greatest
626 | possible use to the public, the best way to achieve this is to make it
627 | free software which everyone can redistribute and change under these terms.
628 |
629 | To do so, attach the following notices to the program. It is safest
630 | to attach them to the start of each source file to most effectively
631 | state the exclusion of warranty; and each file should have at least
632 | the "copyright" line and a pointer to where the full notice is found.
633 |
634 |
635 | Copyright (C)
636 |
637 | This program is free software: you can redistribute it and/or modify
638 | it under the terms of the GNU General Public License as published by
639 | the Free Software Foundation, either version 3 of the License, or
640 | (at your option) any later version.
641 |
642 | This program is distributed in the hope that it will be useful,
643 | but WITHOUT ANY WARRANTY; without even the implied warranty of
644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
645 | GNU General Public License for more details.
646 |
647 | You should have received a copy of the GNU General Public License
648 | along with this program. If not, see .
649 |
650 | Also add information on how to contact you by electronic and paper mail.
651 |
652 | If the program does terminal interaction, make it output a short
653 | notice like this when it starts in an interactive mode:
654 |
655 | Copyright (C)
656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657 | This is free software, and you are welcome to redistribute it
658 | under certain conditions; type `show c' for details.
659 |
660 | The hypothetical commands `show w' and `show c' should show the appropriate
661 | parts of the General Public License. Of course, your program's commands
662 | might be different; for a GUI interface, you would use an "about box".
663 |
664 | You should also get your employer (if you work as a programmer) or school,
665 | if any, to sign a "copyright disclaimer" for the program, if necessary.
666 | For more information on this, and how to apply and follow the GNU GPL, see
667 | .
668 |
669 | The GNU General Public License does not permit incorporating your program
670 | into proprietary programs. If your program is a subroutine library, you
671 | may consider it more useful to permit linking proprietary applications with
672 | the library. If this is what you want to do, use the GNU Lesser General
673 | Public License instead of this License. But first, please read
674 | .
675 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | GNU GENERAL PUBLIC LICENSE
2 | Version 3, 29 June 2007
3 |
4 | Copyright (C) 2007 Free Software Foundation, Inc.
5 | Everyone is permitted to copy and distribute verbatim copies
6 | of this license document, but changing it is not allowed.
7 |
8 | Preamble
9 |
10 | The GNU General Public License is a free, copyleft license for
11 | software and other kinds of works.
12 |
13 | The licenses for most software and other practical works are designed
14 | to take away your freedom to share and change the works. By contrast,
15 | the GNU General Public License is intended to guarantee your freedom to
16 | share and change all versions of a program--to make sure it remains free
17 | software for all its users. We, the Free Software Foundation, use the
18 | GNU General Public License for most of our software; it applies also to
19 | any other work released this way by its authors. You can apply it to
20 | your programs, too.
21 |
22 | When we speak of free software, we are referring to freedom, not
23 | price. Our General Public Licenses are designed to make sure that you
24 | have the freedom to distribute copies of free software (and charge for
25 | them if you wish), that you receive source code or can get it if you
26 | want it, that you can change the software or use pieces of it in new
27 | free programs, and that you know you can do these things.
28 |
29 | To protect your rights, we need to prevent others from denying you
30 | these rights or asking you to surrender the rights. Therefore, you have
31 | certain responsibilities if you distribute copies of the software, or if
32 | you modify it: responsibilities to respect the freedom of others.
33 |
34 | For example, if you distribute copies of such a program, whether
35 | gratis or for a fee, you must pass on to the recipients the same
36 | freedoms that you received. You must make sure that they, too, receive
37 | or can get the source code. And you must show them these terms so they
38 | know their rights.
39 |
40 | Developers that use the GNU GPL protect your rights with two steps:
41 | (1) assert copyright on the software, and (2) offer you this License
42 | giving you legal permission to copy, distribute and/or modify it.
43 |
44 | For the developers' and authors' protection, the GPL clearly explains
45 | that there is no warranty for this free software. For both users' and
46 | authors' sake, the GPL requires that modified versions be marked as
47 | changed, so that their problems will not be attributed erroneously to
48 | authors of previous versions.
49 |
50 | Some devices are designed to deny users access to install or run
51 | modified versions of the software inside them, although the manufacturer
52 | can do so. This is fundamentally incompatible with the aim of
53 | protecting users' freedom to change the software. The systematic
54 | pattern of such abuse occurs in the area of products for individuals to
55 | use, which is precisely where it is most unacceptable. Therefore, we
56 | have designed this version of the GPL to prohibit the practice for those
57 | products. If such problems arise substantially in other domains, we
58 | stand ready to extend this provision to those domains in future versions
59 | of the GPL, as needed to protect the freedom of users.
60 |
61 | Finally, every program is threatened constantly by software patents.
62 | States should not allow patents to restrict development and use of
63 | software on general-purpose computers, but in those that do, we wish to
64 | avoid the special danger that patents applied to a free program could
65 | make it effectively proprietary. To prevent this, the GPL assures that
66 | patents cannot be used to render the program non-free.
67 |
68 | The precise terms and conditions for copying, distribution and
69 | modification follow.
70 |
71 | TERMS AND CONDITIONS
72 |
73 | 0. Definitions.
74 |
75 | "This License" refers to version 3 of the GNU General Public License.
76 |
77 | "Copyright" also means copyright-like laws that apply to other kinds of
78 | works, such as semiconductor masks.
79 |
80 | "The Program" refers to any copyrightable work licensed under this
81 | License. Each licensee is addressed as "you". "Licensees" and
82 | "recipients" may be individuals or organizations.
83 |
84 | To "modify" a work means to copy from or adapt all or part of the work
85 | in a fashion requiring copyright permission, other than the making of an
86 | exact copy. The resulting work is called a "modified version" of the
87 | earlier work or a work "based on" the earlier work.
88 |
89 | A "covered work" means either the unmodified Program or a work based
90 | on the Program.
91 |
92 | To "propagate" a work means to do anything with it that, without
93 | permission, would make you directly or secondarily liable for
94 | infringement under applicable copyright law, except executing it on a
95 | computer or modifying a private copy. Propagation includes copying,
96 | distribution (with or without modification), making available to the
97 | public, and in some countries other activities as well.
98 |
99 | To "convey" a work means any kind of propagation that enables other
100 | parties to make or receive copies. Mere interaction with a user through
101 | a computer network, with no transfer of a copy, is not conveying.
102 |
103 | An interactive user interface displays "Appropriate Legal Notices"
104 | to the extent that it includes a convenient and prominently visible
105 | feature that (1) displays an appropriate copyright notice, and (2)
106 | tells the user that there is no warranty for the work (except to the
107 | extent that warranties are provided), that licensees may convey the
108 | work under this License, and how to view a copy of this License. If
109 | the interface presents a list of user commands or options, such as a
110 | menu, a prominent item in the list meets this criterion.
111 |
112 | 1. Source Code.
113 |
114 | The "source code" for a work means the preferred form of the work
115 | for making modifications to it. "Object code" means any non-source
116 | form of a work.
117 |
118 | A "Standard Interface" means an interface that either is an official
119 | standard defined by a recognized standards body, or, in the case of
120 | interfaces specified for a particular programming language, one that
121 | is widely used among developers working in that language.
122 |
123 | The "System Libraries" of an executable work include anything, other
124 | than the work as a whole, that (a) is included in the normal form of
125 | packaging a Major Component, but which is not part of that Major
126 | Component, and (b) serves only to enable use of the work with that
127 | Major Component, or to implement a Standard Interface for which an
128 | implementation is available to the public in source code form. A
129 | "Major Component", in this context, means a major essential component
130 | (kernel, window system, and so on) of the specific operating system
131 | (if any) on which the executable work runs, or a compiler used to
132 | produce the work, or an object code interpreter used to run it.
133 |
134 | The "Corresponding Source" for a work in object code form means all
135 | the source code needed to generate, install, and (for an executable
136 | work) run the object code and to modify the work, including scripts to
137 | control those activities. However, it does not include the work's
138 | System Libraries, or general-purpose tools or generally available free
139 | programs which are used unmodified in performing those activities but
140 | which are not part of the work. For example, Corresponding Source
141 | includes interface definition files associated with source files for
142 | the work, and the source code for shared libraries and dynamically
143 | linked subprograms that the work is specifically designed to require,
144 | such as by intimate data communication or control flow between those
145 | subprograms and other parts of the work.
146 |
147 | The Corresponding Source need not include anything that users
148 | can regenerate automatically from other parts of the Corresponding
149 | Source.
150 |
151 | The Corresponding Source for a work in source code form is that
152 | same work.
153 |
154 | 2. Basic Permissions.
155 |
156 | All rights granted under this License are granted for the term of
157 | copyright on the Program, and are irrevocable provided the stated
158 | conditions are met. This License explicitly affirms your unlimited
159 | permission to run the unmodified Program. The output from running a
160 | covered work is covered by this License only if the output, given its
161 | content, constitutes a covered work. This License acknowledges your
162 | rights of fair use or other equivalent, as provided by copyright law.
163 |
164 | You may make, run and propagate covered works that you do not
165 | convey, without conditions so long as your license otherwise remains
166 | in force. You may convey covered works to others for the sole purpose
167 | of having them make modifications exclusively for you, or provide you
168 | with facilities for running those works, provided that you comply with
169 | the terms of this License in conveying all material for which you do
170 | not control copyright. Those thus making or running the covered works
171 | for you must do so exclusively on your behalf, under your direction
172 | and control, on terms that prohibit them from making any copies of
173 | your copyrighted material outside their relationship with you.
174 |
175 | Conveying under any other circumstances is permitted solely under
176 | the conditions stated below. Sublicensing is not allowed; section 10
177 | makes it unnecessary.
178 |
179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
180 |
181 | No covered work shall be deemed part of an effective technological
182 | measure under any applicable law fulfilling obligations under article
183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or
184 | similar laws prohibiting or restricting circumvention of such
185 | measures.
186 |
187 | When you convey a covered work, you waive any legal power to forbid
188 | circumvention of technological measures to the extent such circumvention
189 | is effected by exercising rights under this License with respect to
190 | the covered work, and you disclaim any intention to limit operation or
191 | modification of the work as a means of enforcing, against the work's
192 | users, your or third parties' legal rights to forbid circumvention of
193 | technological measures.
194 |
195 | 4. Conveying Verbatim Copies.
196 |
197 | You may convey verbatim copies of the Program's source code as you
198 | receive it, in any medium, provided that you conspicuously and
199 | appropriately publish on each copy an appropriate copyright notice;
200 | keep intact all notices stating that this License and any
201 | non-permissive terms added in accord with section 7 apply to the code;
202 | keep intact all notices of the absence of any warranty; and give all
203 | recipients a copy of this License along with the Program.
204 |
205 | You may charge any price or no price for each copy that you convey,
206 | and you may offer support or warranty protection for a fee.
207 |
208 | 5. Conveying Modified Source Versions.
209 |
210 | You may convey a work based on the Program, or the modifications to
211 | produce it from the Program, in the form of source code under the
212 | terms of section 4, provided that you also meet all of these conditions:
213 |
214 | a) The work must carry prominent notices stating that you modified
215 | it, and giving a relevant date.
216 |
217 | b) The work must carry prominent notices stating that it is
218 | released under this License and any conditions added under section
219 | 7. This requirement modifies the requirement in section 4 to
220 | "keep intact all notices".
221 |
222 | c) You must license the entire work, as a whole, under this
223 | License to anyone who comes into possession of a copy. This
224 | License will therefore apply, along with any applicable section 7
225 | additional terms, to the whole of the work, and all its parts,
226 | regardless of how they are packaged. This License gives no
227 | permission to license the work in any other way, but it does not
228 | invalidate such permission if you have separately received it.
229 |
230 | d) If the work has interactive user interfaces, each must display
231 | Appropriate Legal Notices; however, if the Program has interactive
232 | interfaces that do not display Appropriate Legal Notices, your
233 | work need not make them do so.
234 |
235 | A compilation of a covered work with other separate and independent
236 | works, which are not by their nature extensions of the covered work,
237 | and which are not combined with it such as to form a larger program,
238 | in or on a volume of a storage or distribution medium, is called an
239 | "aggregate" if the compilation and its resulting copyright are not
240 | used to limit the access or legal rights of the compilation's users
241 | beyond what the individual works permit. Inclusion of a covered work
242 | in an aggregate does not cause this License to apply to the other
243 | parts of the aggregate.
244 |
245 | 6. Conveying Non-Source Forms.
246 |
247 | You may convey a covered work in object code form under the terms
248 | of sections 4 and 5, provided that you also convey the
249 | machine-readable Corresponding Source under the terms of this License,
250 | in one of these ways:
251 |
252 | a) Convey the object code in, or embodied in, a physical product
253 | (including a physical distribution medium), accompanied by the
254 | Corresponding Source fixed on a durable physical medium
255 | customarily used for software interchange.
256 |
257 | b) Convey the object code in, or embodied in, a physical product
258 | (including a physical distribution medium), accompanied by a
259 | written offer, valid for at least three years and valid for as
260 | long as you offer spare parts or customer support for that product
261 | model, to give anyone who possesses the object code either (1) a
262 | copy of the Corresponding Source for all the software in the
263 | product that is covered by this License, on a durable physical
264 | medium customarily used for software interchange, for a price no
265 | more than your reasonable cost of physically performing this
266 | conveying of source, or (2) access to copy the
267 | Corresponding Source from a network server at no charge.
268 |
269 | c) Convey individual copies of the object code with a copy of the
270 | written offer to provide the Corresponding Source. This
271 | alternative is allowed only occasionally and noncommercially, and
272 | only if you received the object code with such an offer, in accord
273 | with subsection 6b.
274 |
275 | d) Convey the object code by offering access from a designated
276 | place (gratis or for a charge), and offer equivalent access to the
277 | Corresponding Source in the same way through the same place at no
278 | further charge. You need not require recipients to copy the
279 | Corresponding Source along with the object code. If the place to
280 | copy the object code is a network server, the Corresponding Source
281 | may be on a different server (operated by you or a third party)
282 | that supports equivalent copying facilities, provided you maintain
283 | clear directions next to the object code saying where to find the
284 | Corresponding Source. Regardless of what server hosts the
285 | Corresponding Source, you remain obligated to ensure that it is
286 | available for as long as needed to satisfy these requirements.
287 |
288 | e) Convey the object code using peer-to-peer transmission, provided
289 | you inform other peers where the object code and Corresponding
290 | Source of the work are being offered to the general public at no
291 | charge under subsection 6d.
292 |
293 | A separable portion of the object code, whose source code is excluded
294 | from the Corresponding Source as a System Library, need not be
295 | included in conveying the object code work.
296 |
297 | A "User Product" is either (1) a "consumer product", which means any
298 | tangible personal property which is normally used for personal, family,
299 | or household purposes, or (2) anything designed or sold for incorporation
300 | into a dwelling. In determining whether a product is a consumer product,
301 | doubtful cases shall be resolved in favor of coverage. For a particular
302 | product received by a particular user, "normally used" refers to a
303 | typical or common use of that class of product, regardless of the status
304 | of the particular user or of the way in which the particular user
305 | actually uses, or expects or is expected to use, the product. A product
306 | is a consumer product regardless of whether the product has substantial
307 | commercial, industrial or non-consumer uses, unless such uses represent
308 | the only significant mode of use of the product.
309 |
310 | "Installation Information" for a User Product means any methods,
311 | procedures, authorization keys, or other information required to install
312 | and execute modified versions of a covered work in that User Product from
313 | a modified version of its Corresponding Source. The information must
314 | suffice to ensure that the continued functioning of the modified object
315 | code is in no case prevented or interfered with solely because
316 | modification has been made.
317 |
318 | If you convey an object code work under this section in, or with, or
319 | specifically for use in, a User Product, and the conveying occurs as
320 | part of a transaction in which the right of possession and use of the
321 | User Product is transferred to the recipient in perpetuity or for a
322 | fixed term (regardless of how the transaction is characterized), the
323 | Corresponding Source conveyed under this section must be accompanied
324 | by the Installation Information. But this requirement does not apply
325 | if neither you nor any third party retains the ability to install
326 | modified object code on the User Product (for example, the work has
327 | been installed in ROM).
328 |
329 | The requirement to provide Installation Information does not include a
330 | requirement to continue to provide support service, warranty, or updates
331 | for a work that has been modified or installed by the recipient, or for
332 | the User Product in which it has been modified or installed. Access to a
333 | network may be denied when the modification itself materially and
334 | adversely affects the operation of the network or violates the rules and
335 | protocols for communication across the network.
336 |
337 | Corresponding Source conveyed, and Installation Information provided,
338 | in accord with this section must be in a format that is publicly
339 | documented (and with an implementation available to the public in
340 | source code form), and must require no special password or key for
341 | unpacking, reading or copying.
342 |
343 | 7. Additional Terms.
344 |
345 | "Additional permissions" are terms that supplement the terms of this
346 | License by making exceptions from one or more of its conditions.
347 | Additional permissions that are applicable to the entire Program shall
348 | be treated as though they were included in this License, to the extent
349 | that they are valid under applicable law. If additional permissions
350 | apply only to part of the Program, that part may be used separately
351 | under those permissions, but the entire Program remains governed by
352 | this License without regard to the additional permissions.
353 |
354 | When you convey a copy of a covered work, you may at your option
355 | remove any additional permissions from that copy, or from any part of
356 | it. (Additional permissions may be written to require their own
357 | removal in certain cases when you modify the work.) You may place
358 | additional permissions on material, added by you to a covered work,
359 | for which you have or can give appropriate copyright permission.
360 |
361 | Notwithstanding any other provision of this License, for material you
362 | add to a covered work, you may (if authorized by the copyright holders of
363 | that material) supplement the terms of this License with terms:
364 |
365 | a) Disclaiming warranty or limiting liability differently from the
366 | terms of sections 15 and 16 of this License; or
367 |
368 | b) Requiring preservation of specified reasonable legal notices or
369 | author attributions in that material or in the Appropriate Legal
370 | Notices displayed by works containing it; or
371 |
372 | c) Prohibiting misrepresentation of the origin of that material, or
373 | requiring that modified versions of such material be marked in
374 | reasonable ways as different from the original version; or
375 |
376 | d) Limiting the use for publicity purposes of names of licensors or
377 | authors of the material; or
378 |
379 | e) Declining to grant rights under trademark law for use of some
380 | trade names, trademarks, or service marks; or
381 |
382 | f) Requiring indemnification of licensors and authors of that
383 | material by anyone who conveys the material (or modified versions of
384 | it) with contractual assumptions of liability to the recipient, for
385 | any liability that these contractual assumptions directly impose on
386 | those licensors and authors.
387 |
388 | All other non-permissive additional terms are considered "further
389 | restrictions" within the meaning of section 10. If the Program as you
390 | received it, or any part of it, contains a notice stating that it is
391 | governed by this License along with a term that is a further
392 | restriction, you may remove that term. If a license document contains
393 | a further restriction but permits relicensing or conveying under this
394 | License, you may add to a covered work material governed by the terms
395 | of that license document, provided that the further restriction does
396 | not survive such relicensing or conveying.
397 |
398 | If you add terms to a covered work in accord with this section, you
399 | must place, in the relevant source files, a statement of the
400 | additional terms that apply to those files, or a notice indicating
401 | where to find the applicable terms.
402 |
403 | Additional terms, permissive or non-permissive, may be stated in the
404 | form of a separately written license, or stated as exceptions;
405 | the above requirements apply either way.
406 |
407 | 8. Termination.
408 |
409 | You may not propagate or modify a covered work except as expressly
410 | provided under this License. Any attempt otherwise to propagate or
411 | modify it is void, and will automatically terminate your rights under
412 | this License (including any patent licenses granted under the third
413 | paragraph of section 11).
414 |
415 | However, if you cease all violation of this License, then your
416 | license from a particular copyright holder is reinstated (a)
417 | provisionally, unless and until the copyright holder explicitly and
418 | finally terminates your license, and (b) permanently, if the copyright
419 | holder fails to notify you of the violation by some reasonable means
420 | prior to 60 days after the cessation.
421 |
422 | Moreover, your license from a particular copyright holder is
423 | reinstated permanently if the copyright holder notifies you of the
424 | violation by some reasonable means, this is the first time you have
425 | received notice of violation of this License (for any work) from that
426 | copyright holder, and you cure the violation prior to 30 days after
427 | your receipt of the notice.
428 |
429 | Termination of your rights under this section does not terminate the
430 | licenses of parties who have received copies or rights from you under
431 | this License. If your rights have been terminated and not permanently
432 | reinstated, you do not qualify to receive new licenses for the same
433 | material under section 10.
434 |
435 | 9. Acceptance Not Required for Having Copies.
436 |
437 | You are not required to accept this License in order to receive or
438 | run a copy of the Program. Ancillary propagation of a covered work
439 | occurring solely as a consequence of using peer-to-peer transmission
440 | to receive a copy likewise does not require acceptance. However,
441 | nothing other than this License grants you permission to propagate or
442 | modify any covered work. These actions infringe copyright if you do
443 | not accept this License. Therefore, by modifying or propagating a
444 | covered work, you indicate your acceptance of this License to do so.
445 |
446 | 10. Automatic Licensing of Downstream Recipients.
447 |
448 | Each time you convey a covered work, the recipient automatically
449 | receives a license from the original licensors, to run, modify and
450 | propagate that work, subject to this License. You are not responsible
451 | for enforcing compliance by third parties with this License.
452 |
453 | An "entity transaction" is a transaction transferring control of an
454 | organization, or substantially all assets of one, or subdividing an
455 | organization, or merging organizations. If propagation of a covered
456 | work results from an entity transaction, each party to that
457 | transaction who receives a copy of the work also receives whatever
458 | licenses to the work the party's predecessor in interest had or could
459 | give under the previous paragraph, plus a right to possession of the
460 | Corresponding Source of the work from the predecessor in interest, if
461 | the predecessor has it or can get it with reasonable efforts.
462 |
463 | You may not impose any further restrictions on the exercise of the
464 | rights granted or affirmed under this License. For example, you may
465 | not impose a license fee, royalty, or other charge for exercise of
466 | rights granted under this License, and you may not initiate litigation
467 | (including a cross-claim or counterclaim in a lawsuit) alleging that
468 | any patent claim is infringed by making, using, selling, offering for
469 | sale, or importing the Program or any portion of it.
470 |
471 | 11. Patents.
472 |
473 | A "contributor" is a copyright holder who authorizes use under this
474 | License of the Program or a work on which the Program is based. The
475 | work thus licensed is called the contributor's "contributor version".
476 |
477 | A contributor's "essential patent claims" are all patent claims
478 | owned or controlled by the contributor, whether already acquired or
479 | hereafter acquired, that would be infringed by some manner, permitted
480 | by this License, of making, using, or selling its contributor version,
481 | but do not include claims that would be infringed only as a
482 | consequence of further modification of the contributor version. For
483 | purposes of this definition, "control" includes the right to grant
484 | patent sublicenses in a manner consistent with the requirements of
485 | this License.
486 |
487 | Each contributor grants you a non-exclusive, worldwide, royalty-free
488 | patent license under the contributor's essential patent claims, to
489 | make, use, sell, offer for sale, import and otherwise run, modify and
490 | propagate the contents of its contributor version.
491 |
492 | In the following three paragraphs, a "patent license" is any express
493 | agreement or commitment, however denominated, not to enforce a patent
494 | (such as an express permission to practice a patent or covenant not to
495 | sue for patent infringement). To "grant" such a patent license to a
496 | party means to make such an agreement or commitment not to enforce a
497 | patent against the party.
498 |
499 | If you convey a covered work, knowingly relying on a patent license,
500 | and the Corresponding Source of the work is not available for anyone
501 | to copy, free of charge and under the terms of this License, through a
502 | publicly available network server or other readily accessible means,
503 | then you must either (1) cause the Corresponding Source to be so
504 | available, or (2) arrange to deprive yourself of the benefit of the
505 | patent license for this particular work, or (3) arrange, in a manner
506 | consistent with the requirements of this License, to extend the patent
507 | license to downstream recipients. "Knowingly relying" means you have
508 | actual knowledge that, but for the patent license, your conveying the
509 | covered work in a country, or your recipient's use of the covered work
510 | in a country, would infringe one or more identifiable patents in that
511 | country that you have reason to believe are valid.
512 |
513 | If, pursuant to or in connection with a single transaction or
514 | arrangement, you convey, or propagate by procuring conveyance of, a
515 | covered work, and grant a patent license to some of the parties
516 | receiving the covered work authorizing them to use, propagate, modify
517 | or convey a specific copy of the covered work, then the patent license
518 | you grant is automatically extended to all recipients of the covered
519 | work and works based on it.
520 |
521 | A patent license is "discriminatory" if it does not include within
522 | the scope of its coverage, prohibits the exercise of, or is
523 | conditioned on the non-exercise of one or more of the rights that are
524 | specifically granted under this License. You may not convey a covered
525 | work if you are a party to an arrangement with a third party that is
526 | in the business of distributing software, under which you make payment
527 | to the third party based on the extent of your activity of conveying
528 | the work, and under which the third party grants, to any of the
529 | parties who would receive the covered work from you, a discriminatory
530 | patent license (a) in connection with copies of the covered work
531 | conveyed by you (or copies made from those copies), or (b) primarily
532 | for and in connection with specific products or compilations that
533 | contain the covered work, unless you entered into that arrangement,
534 | or that patent license was granted, prior to 28 March 2007.
535 |
536 | Nothing in this License shall be construed as excluding or limiting
537 | any implied license or other defenses to infringement that may
538 | otherwise be available to you under applicable patent law.
539 |
540 | 12. No Surrender of Others' Freedom.
541 |
542 | If conditions are imposed on you (whether by court order, agreement or
543 | otherwise) that contradict the conditions of this License, they do not
544 | excuse you from the conditions of this License. If you cannot convey a
545 | covered work so as to satisfy simultaneously your obligations under this
546 | License and any other pertinent obligations, then as a consequence you may
547 | not convey it at all. For example, if you agree to terms that obligate you
548 | to collect a royalty for further conveying from those to whom you convey
549 | the Program, the only way you could satisfy both those terms and this
550 | License would be to refrain entirely from conveying the Program.
551 |
552 | 13. Use with the GNU Affero General Public License.
553 |
554 | Notwithstanding any other provision of this License, you have
555 | permission to link or combine any covered work with a work licensed
556 | under version 3 of the GNU Affero General Public License into a single
557 | combined work, and to convey the resulting work. The terms of this
558 | License will continue to apply to the part which is the covered work,
559 | but the special requirements of the GNU Affero General Public License,
560 | section 13, concerning interaction through a network will apply to the
561 | combination as such.
562 |
563 | 14. Revised Versions of this License.
564 |
565 | The Free Software Foundation may publish revised and/or new versions of
566 | the GNU General Public License from time to time. Such new versions will
567 | be similar in spirit to the present version, but may differ in detail to
568 | address new problems or concerns.
569 |
570 | Each version is given a distinguishing version number. If the
571 | Program specifies that a certain numbered version of the GNU General
572 | Public License "or any later version" applies to it, you have the
573 | option of following the terms and conditions either of that numbered
574 | version or of any later version published by the Free Software
575 | Foundation. If the Program does not specify a version number of the
576 | GNU General Public License, you may choose any version ever published
577 | by the Free Software Foundation.
578 |
579 | If the Program specifies that a proxy can decide which future
580 | versions of the GNU General Public License can be used, that proxy's
581 | public statement of acceptance of a version permanently authorizes you
582 | to choose that version for the Program.
583 |
584 | Later license versions may give you additional or different
585 | permissions. However, no additional obligations are imposed on any
586 | author or copyright holder as a result of your choosing to follow a
587 | later version.
588 |
589 | 15. Disclaimer of Warranty.
590 |
591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
599 |
600 | 16. Limitation of Liability.
601 |
602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
610 | SUCH DAMAGES.
611 |
612 | 17. Interpretation of Sections 15 and 16.
613 |
614 | If the disclaimer of warranty and limitation of liability provided
615 | above cannot be given local legal effect according to their terms,
616 | reviewing courts shall apply local law that most closely approximates
617 | an absolute waiver of all civil liability in connection with the
618 | Program, unless a warranty or assumption of liability accompanies a
619 | copy of the Program in return for a fee.
620 |
621 | END OF TERMS AND CONDITIONS
622 |
623 | How to Apply These Terms to Your New Programs
624 |
625 | If you develop a new program, and you want it to be of the greatest
626 | possible use to the public, the best way to achieve this is to make it
627 | free software which everyone can redistribute and change under these terms.
628 |
629 | To do so, attach the following notices to the program. It is safest
630 | to attach them to the start of each source file to most effectively
631 | state the exclusion of warranty; and each file should have at least
632 | the "copyright" line and a pointer to where the full notice is found.
633 |
634 |
635 | Copyright (C)
636 |
637 | This program is free software: you can redistribute it and/or modify
638 | it under the terms of the GNU General Public License as published by
639 | the Free Software Foundation, either version 3 of the License, or
640 | (at your option) any later version.
641 |
642 | This program is distributed in the hope that it will be useful,
643 | but WITHOUT ANY WARRANTY; without even the implied warranty of
644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
645 | GNU General Public License for more details.
646 |
647 | You should have received a copy of the GNU General Public License
648 | along with this program. If not, see .
649 |
650 | Also add information on how to contact you by electronic and paper mail.
651 |
652 | If the program does terminal interaction, make it output a short
653 | notice like this when it starts in an interactive mode:
654 |
655 | Copyright (C)
656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657 | This is free software, and you are welcome to redistribute it
658 | under certain conditions; type `show c' for details.
659 |
660 | The hypothetical commands `show w' and `show c' should show the appropriate
661 | parts of the General Public License. Of course, your program's commands
662 | might be different; for a GUI interface, you would use an "about box".
663 |
664 | You should also get your employer (if you work as a programmer) or school,
665 | if any, to sign a "copyright disclaimer" for the program, if necessary.
666 | For more information on this, and how to apply and follow the GNU GPL, see
667 | .
668 |
669 | The GNU General Public License does not permit incorporating your program
670 | into proprietary programs. If your program is a subroutine library, you
671 | may consider it more useful to permit linking proprietary applications with
672 | the library. If this is what you want to do, use the GNU Lesser General
673 | Public License instead of this License. But first, please read
674 | .
675 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # filmlibrary
2 |
3 | > A Vue.js project
4 |
5 | ## Build Setup
6 |
7 | ``` bash
8 | # install dependencies
9 | npm install
10 |
11 | # serve with hot reload at localhost:8080
12 | npm run dev
13 |
14 | # build for production with minification
15 | npm run build
16 |
17 | # build for production and view the bundle analyzer report
18 | npm run build --report
19 | ```
20 |
21 | For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).
22 |
--------------------------------------------------------------------------------
/assets/stylus/base/animation.styl:
--------------------------------------------------------------------------------
1 | // Animation for Tasks
2 | .taskList-enter-active, .taskList-leave-active {
3 | transition: all .6s;
4 | }
5 | .taskList-enter, .taskList-leave-to{
6 | opacity: 0;
7 | transform: translateY(10px);
8 | }
9 |
10 | // Animation for Tags menu
11 | .fade-enter-active, .fade-leave-active {
12 | transition: opacity .2s;
13 | }
14 | .fade-enter, .fade-leave-to
15 | opacity: 0;
16 |
17 |
18 | // Modal Animation
19 | // TODO to UImini
20 | .modal-enter
21 | opacity: 0
22 |
23 | .modal-leave-active
24 | opacity: 0
25 |
26 | .modal-enter .ui-messageBox,
27 | .modal-leave-active .ui-messageBox
28 | transform: scale(1.1)
29 |
30 | /*
31 | Usage animate.css
32 | https://daneden.github.io/animate.css/
33 | */
34 |
35 | // Common class
36 | .animated
37 | animation-duration: .4s;
38 | animation-fill-mode: both;
39 |
40 | // Tags Show
41 | .fadeInRight {
42 | animation-name: fadeInRight;
43 | }
44 | // Tags Hide
45 | .fadeOutDown {
46 | animation-name: fadeOutDown;
47 | }
48 | // Message Show
49 | .fadeInDown {
50 | animation-name: fadeInDown;
51 | }
52 | // Message Hide
53 | .fadeOutUp {
54 | animation-name: fadeOutUp;
55 | }
56 | // Inputs validate
57 | .shake {
58 | animation-name: shake;
59 | }
60 |
61 | @keyframes fadeInRight {
62 | from {
63 | opacity: 0;
64 | transform: translate3d(100%, 0, 0);
65 | }
66 | to {
67 | opacity: 1;
68 | transform: translate3d(0, 0, 0);
69 | }
70 | }
71 |
72 | @keyframes fadeOutDown {
73 | from {
74 | opacity: 1;
75 | }
76 | to {
77 | opacity: 0;
78 | transform: translate3d(0, 100%, 0);
79 | }
80 | }
81 |
82 | @keyframes fadeInDown {
83 | from {
84 | opacity: 0;
85 | transform: translate3d(0, -100%, 0);
86 | }
87 |
88 | to {
89 | opacity: 1;
90 | transform: translate3d(0, 0, 0);
91 | }
92 | }
93 |
94 | @keyframes shake {
95 | from, to {
96 | transform: translate3d(0, 0, 0);
97 | }
98 |
99 | 10%, 30%, 50%, 70%, 90% {
100 | transform: translate3d(-4px, 0, 0);
101 | }
102 |
103 | 20%, 40%, 60%, 80% {
104 | transform: translate3d(4px, 0, 0);
105 | }
106 | }
107 |
108 | @keyframes fadeOutUp {
109 | from {
110 | opacity: 1;
111 | }
112 | to {
113 | opacity: 0;
114 | transform: translate3d(0, -100%, 0);
115 | }
116 | }
117 |
118 | // Preloader
119 | @keyframes sk-bouncedelay {
120 | 0%, 80%, 100% {
121 | transform: scale(0);
122 | } 40% {
123 | transform: scale(1.0);
124 | }
125 | }
--------------------------------------------------------------------------------
/assets/stylus/base/message.styl:
--------------------------------------------------------------------------------
1 | .ui-message
2 | display flex
--------------------------------------------------------------------------------
/assets/stylus/base/modal.styl:
--------------------------------------------------------------------------------
1 | .ui-messageBox__wrapper
2 | display: flex;
3 |
4 | // TODO fix in UImini
5 | .ui-messageBox__wrapper
6 | transition: opacity .3s ease;
7 | .ui-messageBox
8 | transition: all .3s ease;
9 |
10 | .ui-messageBox__footer
11 | .button
12 | margin-right 12px
13 | &:last-child
14 | margin-right 0
15 |
--------------------------------------------------------------------------------
/assets/stylus/base/preloader.styl:
--------------------------------------------------------------------------------
1 | .preloader__wrapper
2 | width: 100%
3 | height: @width
4 | display flex
5 | justify-content center
6 | align-items center
7 | position: absolute
8 | top: 0
9 | left: 0
10 | z-index: 999
11 |
12 | .preloader__wrapper > div
13 | width: rem(30px);
14 | height: @width;
15 | display: flex
16 | margin-right 8px
17 | background-color: #444ce0;
18 | border-radius: 50%;
19 | animation: sk-bouncedelay 1.1s infinite ease-in-out both;
20 | &:last-child
21 | margin-right 0
22 |
23 | // Animation delay!
24 | animationDelay = -0.32s;
25 |
26 | .preloader__wrapper .preloader1
27 | animation-delay: animationDelay
28 |
29 | .preloader__wrapper .preloader2
30 | animation-delay: animationDelay - 50%
--------------------------------------------------------------------------------
/assets/stylus/main.styl:
--------------------------------------------------------------------------------
1 | /*!
2 | * TimeLibrary v1.0.4 - web application
3 | * https://github.com/vedees/timelibrary
4 | * Copyright (C) 2018 Vedegis Evgenii
5 | * @license GPL-3.0
6 | * https://github.com/vedees/timelibrary/master/LICENSE
7 | */
8 |
9 | // utils
10 | @import 'utils/mixin.styl'
11 | @import 'utils/vars.styl'
12 |
13 | // base
14 | // animation
15 | @import 'base/animation.styl'
16 | // preloader
17 | @import 'base/preloader.styl'
18 | // modal
19 | @import 'base/modal.styl'
20 | // message
21 | @import 'base/message.styl'
22 |
23 | //font
24 | body
25 | font-family Montserrat
26 |
27 | // TODO fix UImini
28 | .wrapper
29 | max-width unset
30 |
31 | .blur
32 | filter: blur(1.6px);
33 |
--------------------------------------------------------------------------------
/assets/stylus/utils/mixin.styl:
--------------------------------------------------------------------------------
1 | rem(size)
2 | return (size/18)rem
3 |
--------------------------------------------------------------------------------
/assets/stylus/utils/vars.styl:
--------------------------------------------------------------------------------
1 | // Base color
2 | linkColor = #333
3 | mainFontColor = #101010
4 |
5 | // Main color
6 | default-color = #ffffff
7 | primary-color = #444ce0
8 | success-color = #26de81
9 | danger-color = #fc5c65
10 | warning-color = #fed330
11 | light-color = #999999
12 | purple-color = #8854d0
13 |
14 | // Neutral Color
15 | neutral-primary = #303133
16 | neutral-regular = #606266
17 | neutral-secondary = #909399
18 | neutral-placeholder = #C0C4CC
19 |
20 | // Border Color
21 | border-base = #DCDFE6
22 | border-light = #E4E7ED
23 | border-lighter = #EBEEF5
24 | border-lightex = #F2F6FC
25 |
26 | // Font
27 | mainFont = 'Montserrat', Helvetica, Arial, sans-serif
28 |
29 | // Size
30 | mainFontSize = 18px
31 | mainLineHeight = 1.4
32 |
33 | desktopWidth = 1280px
34 | smDesktopWidth = 980px
35 | tableWidth = 768px
36 | phoneWidth = 480px
37 | smPhoneWidth = 320px
38 |
--------------------------------------------------------------------------------
/components/Library/EditModal.vue:
--------------------------------------------------------------------------------
1 |
2 | Modal(
3 | :title="title"
4 | @click="$emit('cancel')"
5 | @cancel="$emit('cancel')"
6 | )
7 | .ui-messageBox__content(slot="content")
8 | p Title
9 | input(
10 | type="text"
11 | v-model='titleE'
12 | )
13 | p Description
14 | textarea(
15 | type="text"
16 | v-model='descrE'
17 | )
18 | .ui-messageBox__footer(slot="footer")
19 | .button.button-light(@click="$emit('cancel')") Cancel
20 | // New field
21 | // TODO func
22 | .button.button-primary(@click="$emit('finish', {idE, titleE, descrE})") OK
23 |
24 |
25 |
26 |
56 |
--------------------------------------------------------------------------------
/components/Library/TaskItem.vue:
--------------------------------------------------------------------------------
1 |
2 | .task-item(:class="{ completed: task.completed }")
3 | .ui-card.ui-card--shadow
4 | .task-item__info
5 | .task-item__main-info
6 | span.ui-label(
7 | :class="[{ 'ui-label--primary': !task.completed }, { 'ui-label--light': task.completed }]"
8 | ) {{ task.whatWatch }}
9 | span Total Time: {{ task.time }}
10 | span.button-close(
11 | @click="$emit('delete')"
12 | )
13 | .task-item__content
14 | .task-item__header
15 | .ui-checkbox-wrapper
16 | input.ui-checkbox(
17 | type="checkbox"
18 | v-model="task.completed"
19 | @click="$emit('completed')"
20 | )
21 | span.ui-title-2 {{ task.title }}
22 | .task-item__body
23 | p.ui-text-regular {{ task.description }}
24 | .task-item__foter
25 |
26 | // Tags load
27 | .tag-list
28 | .ui-tag__wrapper(
29 | v-for="tag in task.tags"
30 | :key="tag.title"
31 | )
32 | .ui-tag
33 | span.tag-title {{ tag.title }}
34 |
35 | // Buttons
36 | .buttons-list
37 | .button.button--round.button-default(
38 | @click="$emit('edit')"
39 | ) Edit
40 | .button.button--round(
41 | :class="[{ 'button-primary': !task.completed }, { 'button-light': task.completed }]"
42 | @click="$emit('completed')"
43 | )
44 | span(v-if="task.completed") Return
45 | span(v-else) Done
46 |
47 |
48 |
49 |
63 |
64 |
139 |
--------------------------------------------------------------------------------
/components/Library/deleteModal.vue:
--------------------------------------------------------------------------------
1 |
2 | Modal(
3 | :title="title"
4 | @click="$emit('cancel')"
5 | @cancel="$emit('cancel')"
6 | )
7 | .ui-messageBox__content(slot="content")
8 | p Delete - {{ title }}
9 | p Are you sure?
10 | .ui-messageBox__footer(slot="footer")
11 | .button.button-light(@click="$emit('cancel')") Cancel
12 | .button.button-primary(@click="$emit('delete', id)") Delete
13 | //- .button.button-primary(@click="$emit('finish', {idE, titleE, descrE})") OK
14 |
15 |
16 |
17 |
36 |
--------------------------------------------------------------------------------
/components/System/Header.vue:
--------------------------------------------------------------------------------
1 |
2 | header
3 | NavbarHead(site="Time Library")
4 |
5 |
6 |
14 |
--------------------------------------------------------------------------------
/components/System/Navigation/NavbarHead.vue:
--------------------------------------------------------------------------------
1 |
2 | .navbar
3 | .container
4 | .navbar-content
5 | nuxt-link.header-logo(
6 | to="/"
7 | ) {{ site }}
8 | .button-burger(
9 | @click="menuShow = !menuShow"
10 | :class="{ active: menuShow }"
11 | )
12 | span.line.line-1
13 | span.line.line-2
14 | span.line.line-3
15 | .navbar-list__wrapper(
16 | :class="{ active: menuShow }"
17 | )
18 | ul.navbar-list
19 | li.navbar-item(
20 | v-for="link in links"
21 | :key="link.title"
22 | @click="menuShow = false")
23 | // TODO fix props
24 | nuxt-link.navbar-link(
25 | v-if="checkUser"
26 | :to="link.url + IdUser"
27 | ) {{ link.title}}
28 | nuxt-link.navbar-link(
29 | v-else
30 | :to="link.url"
31 | ) {{ link.title}}
32 |
33 | // SSR
34 | no-ssr
35 | li.navbar-item(
36 | v-if="checkUser"
37 | @click="logout")
38 | span.navbar-link Logout
39 |
40 |
41 |
83 |
--------------------------------------------------------------------------------
/components/UI/Message.vue:
--------------------------------------------------------------------------------
1 |
2 | transition(
3 | enter-active-class="animated fadeInDown"
4 | leave-active-class="animated fadeOutUp"
5 | )
6 | .ui-message(
7 | v-if="messageShow"
8 | :class="[{ 'ui-message--success': messageContext === 'success' }, { 'ui-message--danger': messageContext === 'error' }]")
9 | .body
10 | span.message-title {{ messageTitle }}
11 | span.button-close(@click="messageClose")
12 |
13 |
14 |
15 |
37 |
38 |
56 |
--------------------------------------------------------------------------------
/components/UI/Modal.vue:
--------------------------------------------------------------------------------
1 |
2 | transition(name="modal")
3 | .ui-messageBox__wrapper(
4 | @click="$emit('cancel')"
5 | @keypress.esc="$emit('cancel')")
6 | .ui-messageBox(@click.stop="")
7 | .ui-messageBox__header
8 | span.messageBox-title {{ title }}
9 | span.button-close(@click="$emit('cancel')")
10 | slot(name="content")
11 | span Content
12 | slot(name="footer")
13 | .button.button-light(@click="$emit('cancel')") Cancel
14 | .button.button-primary(@click="$emit('ok')") OK
15 |
16 |
17 |
35 |
--------------------------------------------------------------------------------
/components/UI/Tag.vue:
--------------------------------------------------------------------------------
1 |
2 | .ui-tag__wrapper
3 | .ui-tag(:class="{used: tag.use}")
4 | span.tag-title(
5 | @click="$emit('add', tag)"
6 | ) {{ tag.title }}
7 | span.button-close(@click="$emit('delete', tag.id)")
8 |
9 |
10 |
11 |
22 |
23 |
47 |
--------------------------------------------------------------------------------
/layouts/default.vue:
--------------------------------------------------------------------------------
1 |
2 | .wrapper(:class="{blur: loading}")
3 | // Header + Navbar
4 | Header
5 |
6 | // Render
7 | nuxt
8 |
9 | // Preloader
10 | no-ssr
11 | .preloader__wrapper(v-if="loading")
12 | .preloader1
13 | .preloader2
14 | .preloader3
15 |
16 | // Error & Success Messages
17 | no-ssr
18 | Message
19 |
20 |
21 |
22 |
37 |
38 |
40 |
--------------------------------------------------------------------------------
/nuxt.config.js:
--------------------------------------------------------------------------------
1 | const pkg = require('./package')
2 |
3 | module.exports = {
4 | mode: 'spa',
5 |
6 | /*
7 | ** Headers of the page
8 | */
9 | head: {
10 | title: pkg.name,
11 | meta: [
12 | { charset: 'utf-8' },
13 | { name: 'viewport', content: 'width=device-width, initial-scale=1' },
14 | { hid: 'description', name: 'description', content: pkg.description }
15 | ],
16 | link: [
17 | { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
18 | ]
19 | },
20 |
21 | /*
22 | ** Customize the progress-bar color
23 | */
24 | loading: { color: '#fff' },
25 |
26 | /*
27 | ** Global CSS
28 | */
29 | css: [
30 | // UImini
31 | { src: 'uimini/dist/css/uimini.min.css', lang: 'css' },
32 | // Main.styl
33 | { src: '~/assets/stylus/main.styl', lang: 'stylus'}
34 |
35 | ],
36 |
37 | /*
38 | ** Plugins to load before mounting the App
39 | */
40 | plugins: [
41 | // { src: '~/plugins/Vuelidate', ssr: false }
42 | { src: '~/plugins/fireauth' },
43 | { src: '~/plugins/Vuelidate' }
44 | ],
45 |
46 | /*
47 | ** Nuxt.js modules
48 | */
49 | modules: [
50 | ],
51 |
52 | // Router Settings
53 | router: {
54 | middleware: 'router-auth'
55 | },
56 |
57 | /*
58 | ** Build configuration
59 | */
60 | build: {
61 | /*
62 | ** You can extend webpack config here
63 | */
64 | extend(config, ctx) {
65 | // Run ESLint on save
66 | if (ctx.isDev && ctx.isClient) {
67 | config.module.rules.push({
68 | enforce: 'pre',
69 | test: /\.(js|vue)$/,
70 | loader: 'eslint-loader',
71 | exclude: /(node_modules)/
72 | })
73 | }
74 | }
75 | }
76 | }
77 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "timelibrary",
3 | "version": "1.0.4",
4 | "description": "Time Library Web App",
5 | "author": "https://github.com/vedees",
6 | "repository": {
7 | "type": "git",
8 | "url": "git://github.com/vedees/timelibrary"
9 | },
10 | "bugs": {
11 | "url": "https://github.com/vedees/timelibrary/issues"
12 | },
13 | "homepage": "http://timelibrary.in",
14 | "license": "GPL-3.0",
15 | "private": true,
16 | "scripts": {
17 | "dev": "nuxt",
18 | "build": "nuxt build",
19 | "start": "nuxt start",
20 | "generate": "nuxt generate",
21 | "lint": "eslint --ext .js,.vue --ignore-path .gitignore .",
22 | "precommit": "npm run lint"
23 | },
24 | "dependencies": {
25 | "cross-env": "^5.2.0",
26 | "firebase": "^5.5.7",
27 | "nuxt": "^2.0.0",
28 | "uimini": "^1.1.0",
29 | "vuelidate": "^0.7.4"
30 | },
31 | "devDependencies": {
32 | "babel-eslint": "^8.2.1",
33 | "eslint": "^5.0.1",
34 | "eslint-loader": "^2.0.0",
35 | "eslint-plugin-vue": "^4.0.0",
36 | "nodemon": "^1.11.0",
37 | "pug": "^2.0.3",
38 | "pug-plain-loader": "^1.0.0",
39 | "stylus": "^0.54.5",
40 | "stylus-loader": "^3.0.2"
41 | },
42 | "engines": {
43 | "node": ">= 7.0.0",
44 | "npm": ">= 4.0.0"
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/pages/_id/index.vue:
--------------------------------------------------------------------------------
1 |
2 | .content-wrapper
3 | section
4 | .container
5 | h1.ui-title-1 Add new {{ whatWatch }}
6 | form(@submit.prevent="onSubmit")
7 | //! Task header
8 | .header
9 | input(
10 | type="text"
11 | id="title"
12 | placeholder="What we will watch?"
13 | v-model="taskTitle"
14 | style="margin-right: 12px;"
15 | )
16 | select(v-model="whatWatch" style="max-width: 230px;")
17 | option(
18 | v-for="option in options"
19 | :key="option.title"
20 | :value="option.title"
21 | ) {{ option.title }}
22 | textarea(
23 | type="text"
24 | v-model="taskDescription"
25 | @keyup.enter="newTask"
26 | )
27 |
28 | //* TOTAL TIME FOR WHAT WATCH
29 | .total-time
30 | //* Film Time
31 | .time-film(v-if="whatWatch === 'Film'")
32 | span.time-title Hours
33 | input.time-input(
34 | type="number"
35 | v-model="filmHours"
36 | )
37 | span.time-title Minutes
38 | input.time-input(
39 | type="number"
40 | v-model="filmMinutes"
41 | )
42 | p {{ filmTime }}
43 |
44 | //* Serial Time
45 | .time-serial(v-if="whatWatch === 'Serial'")
46 | span.time-title How many season?
47 | input.time-input(
48 | type="number"
49 | v-model="serialSeason"
50 | )
51 | span.time-title How many series?
52 | input.time-input(
53 | type="number"
54 | v-model="serialSeries"
55 | )
56 | span.time-title How long is one series? (minutes)
57 | input.time-input(
58 | type="number"
59 | v-model="serialSeriesMinutes"
60 | )
61 | p {{ serialTime }}
62 |
63 | //* Course Time
64 | .time-course(v-if="whatWatch === 'Course'")
65 | span.time-title Average Hours
66 | input.time-input(
67 | type="number"
68 | v-model="courseHours"
69 | )
70 | span.time-title Average Minutes
71 | input.time-input(
72 | type="number"
73 | v-model="courseMinutes"
74 | )
75 | p {{ courseTime }}
76 |
77 | //* Read
78 | .time-book(v-if="whatWatch === 'Book'")
79 | span.time-title How many pages?
80 | input.time-input(
81 | type="number"
82 | v-model="pages"
83 | )
84 | p {{ readTime }}
85 |
86 | // TAG LIST
87 |
88 | // Add New Tag Button
89 | .tag-list.tag-list--add
90 | .ui-tag__wrapper(
91 | @click="tagMenuShow = !tagMenuShow"
92 | )
93 | .ui-tag
94 | span.tag-title Add New
95 | span.button-close(
96 | :class="{ active: !tagMenuShow }"
97 | )
98 |
99 | // Show Menu Input
100 | transition(name="fade")
101 | .tag-list.tag-list--menu(
102 | v-if="tagMenuShow"
103 | )
104 | input.tag-add--input(
105 | type="text"
106 | placeholder="New tag"
107 | v-model="tagTitle"
108 | @keyup.enter="newTag"
109 | )
110 | .button.button-default(
111 | @click="newTag"
112 | ) Send
113 |
114 | // Show All Tags
115 | .tag-list
116 | transition-group(
117 | enter-active-class="animated fadeInRight"
118 | leave-active-class="animated fadeOutDown"
119 | )
120 | Tag(
121 | v-for="tag in tags"
122 | :key="tag.id"
123 | :tag="tag"
124 | @add="addTagUsed(tag)"
125 | @delete="deleteTag(tag.id)"
126 | )
127 |
128 | // SUBMIT
129 | .button-list
130 | button.button.button--round.button-primary(
131 | type="submit"
132 | :disabled="submitStatus === 'PENDING'"
133 | ) Send
134 |
135 |
136 |
137 |
303 |
304 |
390 |
--------------------------------------------------------------------------------
/pages/index.vue:
--------------------------------------------------------------------------------
1 |
2 | .content-wrapper
3 | section
4 | .container
5 | h1.ui-title-1 Home
6 | p.ui-title-3 Somthing Wrong
7 |
8 |
--------------------------------------------------------------------------------
/pages/library/_id/index.vue:
--------------------------------------------------------------------------------
1 |
2 | .content-wrapper
3 | section
4 | .container
5 | .task-list__header
6 | h1.ui-title-1 Library
7 |
8 | // Filter
9 | .buttons-list
10 | .button.button--round.button-default(
11 | @click="filter = 'active'"
12 | ) Active
13 | .button.button--round.button-default(
14 | @click="filter = 'completed'"
15 | ) Completed
16 | .button.button--round.button-default(
17 | @click="filter = 'all'"
18 | ) All
19 |
20 | // Tasl load
21 | .task-list
22 | transition-group(name="taskList")
23 | TaskItem(v-for="task in tasksFilter"
24 | :key="task.id"
25 | :task="task"
26 | @completed="taskCompleted(task.id, task.completed)"
27 | @edit="taskEdit(task.id, task.title, task.description)"
28 | @delete="deleteTask(task.id, task.title)"
29 | )
30 |
31 | EditModal(
32 | v-if="editingPopup"
33 | :id="taskId"
34 | :title="titleEditing"
35 | :description="desrEditing"
36 | @cancel="cancelTaskEdit"
37 | @finish="finishTaskEdit"
38 | )
39 |
40 | DeleteModal(
41 | v-if="deletePopup"
42 | :id="taskId"
43 | :title="titleEditing"
44 | @cancel="cancelDelete"
45 | @delete="deleteSure"
46 | )
47 |
48 |
49 |
50 |
155 |
156 |
186 |
--------------------------------------------------------------------------------
/pages/library/index.vue:
--------------------------------------------------------------------------------
1 |
2 | .content-wrapper
3 | section
4 | .container
5 | h1.ui-title-1 Library
6 | p.ui-title-3 Somthing Wrong
7 |
8 |
--------------------------------------------------------------------------------
/pages/login/index.vue:
--------------------------------------------------------------------------------
1 |
2 | .content-wrapper
3 | section
4 | .container
5 | .auth
6 | .auth__banner
7 | //- h1.ui-title-2 Time Library
8 | svg(xmlns='http://www.w3.org/2000/svg', xmlns:xlink='http://www.w3.org/1999/xlink', viewBox='0 0 270.97 205.82')
9 | defs
10 | clippath#clip-path
11 | path.cls-1(d='M196.61,115.84c-1.22-12.77.41-14.61,1.47-23.55.27,1.28.51,2.36.67,3.12.05.26.1.48.14.66a3.67,3.67,0,0,0,1.69,2.42,3.54,3.54,0,0,0,1,.42,4.2,4.2,0,0,0,.92.11h0c2,0,4-1.69,7.87-6.44l.81-1-1.84-1.47.31-.45.35-.51,2.6-3.75c1,.34,3.81,1.89,4.94,1.89,1.53,0,3.41-.15,2.81-1.56a5.52,5.52,0,0,0-3.57-2.91,17.19,17.19,0,0,1-2.74-.94.75.75,0,0,1-.13-.06l-.26-.11a2.5,2.5,0,0,0-.25-.09l-.26-.06-.28,0h-.25l-.28,0-.24,0-.27.07a1,1,0,0,0-.24.09,1.15,1.15,0,0,0-.25.12l-.22.13a1.84,1.84,0,0,0-.22.17,1.12,1.12,0,0,0-.2.18l-.19.21-.09.11c-1.07,1.47-2.25,3-3.41,4.5l-.39.49-.14.17-.37-.3-.81,1-1.11,1.33C202.83,83.25,200.67,73,200.67,73h0a2.3,2.3,0,0,0-2.24-1.77h-5.82a17.09,17.09,0,0,0,.17-3.62,8.42,8.42,0,0,0,2.44-2c3.28-1.44,6-6.5,5.93-11.51a7.18,7.18,0,0,0-2.53-4.64c.58-1.18.33-2.66-1.56-4.09s-8.93-3.11-15.81,0c-3.66,1.65-3.84.06-3.84.06s-.57,4.41,2,6.34a10.81,10.81,0,0,0-1.57,5.65c0,5.17,1.85,12.5,8.47,11.25a6.62,6.62,0,0,1-.34,2.56h-6.76a13.35,13.35,0,0,0-2.54.55c-4.73,1-10.66,1.46-13.15.28-.23-.18-1.73-1.52-5.07-7.92l-.54-1-.41.29v0l-.3-.6c-.47-.92-.92-1.86-1.36-2.8-.9-3-4.24-5.34-4.93-5.8a4.7,4.7,0,0,0-1.84-.74,23.39,23.39,0,0,1-3-1.9c-2.63-2-1.17.9.59,2.08l.71.46a2.15,2.15,0,0,0-.14.26c-.52,1.42-.67,3.6.61,4.45s4.24.84,4.55,1.57.53,1.13.88,2.1c.17.48.42,1.19.7,2.06l0,.12c.11.32.23.67.36,1l-1.28.93c.18.36.36.7.54,1,4.8,9.2,6,9.76,6.9,10.23a18.38,18.38,0,0,0,6.85,1.76,37.63,37.63,0,0,0,8.52-.18c-1.64,12.72-2.53,36.46-2.53,36.46m0,0a105.39,105.39,0,0,0-.13,13.92c-.16,2.86-1,20.44-1.2,28.87-.22,10.93,8.75,34.81,9.89,37.85l.57,0,.38,1.22a1.31,1.31,0,0,0-.59.26,21.31,21.31,0,0,1-7.39,3.35c-2.2.32-2.32,1.41.79,1.41s5.38-.27,6.77-.24,1.91.24,5.31.24h.59c3.11,0,4.05-.09,5-.12,1.39,0,.77.12,4.22.12,1.7,0,.91-3.19,0-4.74-.28-.47-.38-.87-.95-.78l-.16,0-.08-1.12h1c0-.27-.65-24.91-1.36-33.8-.68-8.37.06-27,.26-31.2a35.48,35.48,0,0,0,.8-12.63h.41v-.5h-.47c-.08-.68-.18-1.37-.31-2.09m-10.76,80.37,1.1-.07c-5.21-23.07-5.81-29.56-5.66-37.33.13-6.61,2.74-19.28,4-25.2.21,6.67.72,21.8,1.33,29.4.7,8.82,5.45,32.78,5.47,33.05h.78l.27,1.58a1.43,1.43,0,0,0-.67.28,22.62,22.62,0,0,1-3.55,2.52,12.19,12.19,0,0,0-1.24-2.64,1.41,1.41,0,0,0-1.42-.64l-.22,0Z')
12 | clippath#clip-path-2
13 | path.cls-1(d='M63,107.84l-.11,0c-1.44.5-3.45,1.81-2.95,3.26.4,1.14,1,2.88,2.1,2.88a2.89,2.89,0,0,0,.91-.15,9.28,9.28,0,0,0,2.61-1.5c0,1.29,0,2.46-.09,3.46h0c-.17.93-.29,1.79-.38,2.63h-.23v.5H65c-.78,7.91,1.45,12,1.45,12h8.62c6.72,1.83,16,5.64,17.42,11.75a29.45,29.45,0,0,1,.25,6.87c-1.21,1.2-2.3,2.22-3.18,2.93l.13.17,0,0c-1.52,1-4.52,3.22-2.17,4.37a44.69,44.69,0,0,0,4.4,1.91,128.66,128.66,0,0,1-3.14,16.35h0c-1.77.35-5.39,1.31-3.64,3.25,2.28,2.53,2.79,2.79,3.74,3.79s2.34,3.8,4.89,4.88c2.86,1.22,3.45.3,1.57-.9s-2.85-4.89-3-6.69c2.08-5.43,4.38-11.39,6.23-17.19,2.6,1.21,2.93.22,1.14-1A8.25,8.25,0,0,1,99,161a76.07,76.07,0,0,0,2.54-10.58c6.36-5,14.43-11.81,17.69-16.9,2.14-3.35,1.59-5.88.74-7.41-1.71-3.1-4.77-4-12.35-4.23.83-.35.88-.8,1-2,.34-3.41-2.44-6.22-3.15-6.88l0,0,0,0-.15-.11-.26-.19-.32-.16-.14-.07c-3.35-1.28-12.22-5.84-13-11.51-.4-2.72-1.77-9.42-3-15.48-.06-.26-.11-.52-.16-.78l.47-.1-.18-.88L88.05,81c-.77-3.85-1.44-6.83-1.46-7a3.62,3.62,0,0,0-2.45-2.66A3.73,3.73,0,0,0,83,71.19h-6.8a7.46,7.46,0,0,1-.38-2.78c4.39-.32,7.33-4.74,8.26-7.53a1.34,1.34,0,0,0,1.12-.29,3.57,3.57,0,0,0,0-5.44,1.3,1.3,0,0,0-.85-.31,13.26,13.26,0,0,0-2.4-4.79,3.64,3.64,0,0,0,2-3.32,2.53,2.53,0,0,0-.91-2s-.1,1-.58,1.24A18.17,18.17,0,0,0,78,44.2s.42,1-1.23.75c-4.07-.54-9.73-1-9,1.84C65,48,63.84,52.21,63.48,54.22a7.38,7.38,0,0,0-.07,1.59,3.5,3.5,0,0,0-.67,2.06A3.57,3.57,0,0,0,64,60.59a1.27,1.27,0,0,0,.46.24c.87,2.5,2.52,5.29,4.83,6.51a18.78,18.78,0,0,0,.19,3.85H63.66a2.85,2.85,0,0,0-.29,0,2.92,2.92,0,0,0-.66,0,3.6,3.6,0,0,0-2.82,1.63c-.07.1-1.74,2.66-3.81,6l-1.43,2.3-.48.77.58.36c-.15.23-.3.46-.44.69-2.83,4.5-5.08,8.82-5.08,11C49.23,97.1,55.08,101.73,63,107.84Zm40.21,14c-2.34,0-5,0-8,0l-6.31,0c0-3.55-.1-6-.1-6h0s-.14-3.41-.4-8.29c3.14,4.15,8.76,5.6,14.53,8,.63.69-.09,4.33-.13,4.71A1.62,1.62,0,0,0,103.22,121.81Zm-1.72,18.47a18.91,18.91,0,0,0-5.62-9.13c5.2,0,10.16-.07,13.44.1C107.17,133.79,104.37,137,101.5,140.28ZM54.81,93.61a38.87,38.87,0,0,1,4-7.34c.21-.34.46-.71.68-1.07l.85.53.48-.77,1.43-2.31.41-.67c1,6.83,2,15.44,2.58,22.73C60.48,100.29,55.72,95.37,54.81,93.61Z')
14 | title Time Library
15 | g.cls-2
16 | g(id='Слой_2', data-name='Слой 2')
17 | g#Objects
18 | path.cls-4(d='M157.94,17.24c3.92,0,5.85-4.32,7.72-8.5s3.65-8.16,7.2-8.16,5.31,4,7.19,8.16,3.81,8.5,7.72,8.5,5.85-4.32,7.72-8.5S199.14.58,202.68.58s5.32,4,7.2,8.16,3.8,8.5,7.72,8.5,5.85-4.32,7.72-8.5S229,.58,232.51.58a.29.29,0,1,0,0-.58c-3.91,0-5.85,4.32-7.72,8.5s-3.65,8.16-7.19,8.16-5.32-4-7.2-8.16S206.6,0,202.68,0,196.84,4.32,195,8.5s-3.65,8.16-7.19,8.16-5.32-4-7.19-8.16S176.77,0,172.86,0,167,4.32,165.14,8.5s-3.66,8.16-7.2,8.16a.29.29,0,0,0,0,.58Z')
19 | path.cls-5(d='M259.37,116.81a29.47,29.47,0,0,0-21.1-39.72l-3.14,14.34a14.81,14.81,0,0,1,11.64,14.46,14.65,14.65,0,0,1-1.05,5.48Z')
20 | path.cls-6(d='M212.49,128.72a29.47,29.47,0,0,0,20.85,8.64,29.75,29.75,0,0,0,4-.27,29.4,29.4,0,0,0,16.86-8.37c.23-.23.45-.47.67-.71l-10.72-10A14.79,14.79,0,1,1,226.81,94.6l-6.5-13.17A29.09,29.09,0,0,0,212.49,87,29.5,29.5,0,0,0,212.49,128.72Z')
21 | path.cls-7(d='M220.31,81.43l6.5,13.17a14.57,14.57,0,0,1,6.53-1.53,14.85,14.85,0,0,1,3.16.34l3.14-14.34c-.76-.17-1.53-.31-2.3-.41a28.59,28.59,0,0,0-4-.28,29.34,29.34,0,0,0-8.3,1.2A28.24,28.24,0,0,0,220.31,81.43Z')
22 | path.cls-8(d='M254.87,130.75a29.05,29.05,0,0,0,5.87-9.22l-13.65-5.44a14.66,14.66,0,0,1-2.94,4.63Z')
23 | path.cls-9(d='M69.8,80.43a287.24,287.24,0,0,1,125.43,0,4.48,4.48,0,0,0,5.36-3.26q6.51-27.09,13-54.16c.57-2.36-1.34-4.85-4.29-5.51a351.87,351.87,0,0,0-153.59,0c-2.94.66-4.85,3.15-4.28,5.51q6.5,27.08,13,54.16a4.49,4.49,0,0,0,5.36,3.26')
24 | path.cls-10(d='M196.76,73.81l11.13-49.67a2.76,2.76,0,0,0-2.4-3,347.56,347.56,0,0,0-146,0,2.74,2.74,0,0,0-2.39,3Q62.72,49,68.27,73.81a2.5,2.5,0,0,0,3,1.85,291.72,291.72,0,0,1,122.5,0,2.49,2.49,0,0,0,3-1.85')
25 | path.cls-6(d='M119,25.39q.81,20.07,1.61,40.15l1,0q-.75-20.08-1.48-40.15l-1.17,0')
26 | path.cls-11(d='M191.83,53.37q-1.67,8.64-3.34,17.28l1,.2q1.69-8.64,3.4-17.27Z')
27 | path.cls-11(d='M167.53,53.76,166,67.2l1,.12q.79-6.72,1.58-13.43l-1.07-.13')
28 | path.cls-11(d='M144.39,37.2q-.52,14.14-1,28.3l1,0,1.14-28.3Z')
29 | path.cls-11(d='M94.23,35.15,98,67.32l1-.12Q97.2,51.11,95.37,35Z')
30 | path.cls-11(d='M71.31,49.41q2.1,10.71,4.21,21.44l1-.2L72.4,49.19l-1.09.22')
31 | path.cls-12(d='M73.51,60.58h0c0,.1,0,.2,0,.3,0-.1,0-.2,0-.3M194.66,36.15c-5.69,0-9.64,5.26-13.28,10.38C177.57,51.88,174.16,57,169.13,57c-.29,0-.58,0-.88,0l-.12,1a9,9,0,0,0,1,.06c5.61,0,9.34-5.54,13.18-10.89,3.65-5.11,7.3-9.93,12.39-9.93a8.41,8.41,0,0,1,1.63.16c.07-.33.13-.65.2-1a9.61,9.61,0,0,0-1.89-.19m-99.33-3.9a11.22,11.22,0,0,0-1.15.06C87.39,33.12,85,40,82.88,46.65c-2,6.2-3.64,12-8.34,13.66.07.33.13.66.2,1,5.34-1.73,7.2-8.14,9.21-14.4C86.06,40.29,88.28,34,94.3,33.31a8.47,8.47,0,0,1,1-.06c5.43,0,8.83,5.3,12.19,10.9C111,50,114.36,56,120.27,56.07c0-.34,0-.67,0-1-5.24-.14-8.3-5.62-11.77-11.4s-7-11.42-13.13-11.42m49.77-1.92c-6.57,0-9.94,6.32-13,12.43S126.5,54.47,121.3,55c0,.34,0,.67,0,1,5.87-.57,8.77-6.81,11.81-12.87s6.13-11.83,12-11.83h.33c6.05.25,8.74,6.34,11.34,12.76,2.49,6.1,4.83,12.36,10.3,13.65,0-.33.07-.67.11-1-4.81-1.23-6.92-6.94-9.36-13-2.59-6.44-5.53-13.14-12.35-13.42h-.38')
32 | path.cls-13(d='M121.3,55c0,.34,0,.67,0,1-.18,0-.36,0-.55,0h-.52c0-.34,0-.67,0-1h.53a4.9,4.9,0,0,0,.54,0')
33 | path.cls-14(d='M167.19,56.74a8.17,8.17,0,0,0,1,.19h0l-.12,1h0a8.35,8.35,0,0,1-1-.18c0-.33.07-.67.11-1')
34 | path.cls-14(d='M74.54,60.31c.07.33.13.66.2,1a8.78,8.78,0,0,1-1,.26c0-.23-.09-.45-.14-.68s0-.2,0-.3a8.17,8.17,0,0,0,1-.27')
35 | path.cls-5(d='M195.49,24.82a1.51,1.51,0,1,0,1.75-1.14A1.48,1.48,0,0,0,195.49,24.82Z')
36 | path.cls-5(d='M189.94,23.83a1.5,1.5,0,0,0,3,.52,1.46,1.46,0,0,0-1.23-1.69A1.48,1.48,0,0,0,189.94,23.83Z')
37 | path.cls-5(d='M184.38,22.93a1.5,1.5,0,1,0,1.71-1.2A1.48,1.48,0,0,0,184.38,22.93Z')
38 | polygon.cls-15(points='196.49 199.06 195.94 190.69 192.06 191.1 193.49 199.65 196.49 199.06')
39 | path.cls-16(d='M193.17,197.64a1.29,1.29,0,0,0-.68.28,17.77,17.77,0,0,1-4.13,2.79c-2,.76-3.16,2-.05,2s4.05-.09,5-.12c1.39,0,.77.12,4.22.12,1.7,0,.91-3.19,0-4.74-.28-.47-.38-.87-.95-.78Z')
40 | polygon.cls-15(points='186.46 199.06 184.7 190.9 180.83 191.31 183.46 199.65 186.46 199.06')
41 | path.cls-6(d='M182.92,197.64a1.29,1.29,0,0,0-.68.28,21.31,21.31,0,0,1-7.39,3.35c-2.2.32-2.32,1.41.79,1.41s5.38-.27,6.77-.24,1.91.24,5.31.24c2.62,0,.91-3.33,0-4.88a1.41,1.41,0,0,0-1.42-.64Z')
42 | path.cls-17(d='M146,51.48a23.39,23.39,0,0,0,3,1.9,4.7,4.7,0,0,1,1.84.74c.69.46,4,2.81,4.93,5.8.44.94.89,1.88,1.36,2.8l.3.6.28.55c.47.89.93,1.75,1.39,2.56,1.75,3.14,3.34,5.52,4.08,6,2.7,1.36,10.84.45,15.75-.64a2.77,2.77,0,1,1,1.19,5.41A61.74,61.74,0,0,1,168,78.65a17,17,0,0,1-7.33-1.29c-2-1-3.89-5.08-5.31-8.81-.32-.82-.61-1.63-.87-2.38L154,64.58l0-.12c-.28-.87-.53-1.58-.7-2.06-.35-1-.56-1.37-.88-2.1s-3.32-.74-4.55-1.57-1.13-3-.61-4.45a2.15,2.15,0,0,1,.14-.26l-.71-.46C144.85,52.38,143.39,49.45,146,51.48Z')
43 | path.cls-17(d='M177.79,57.38a10,10,0,0,1,10-10.35,10.4,10.4,0,0,1,10.39,10.4c0,4-2.12,8.4-5.42,10.14a13.17,13.17,0,0,1-1.73,7.88c-1.68,2.68-2,3.22-2,3.27a3.27,3.27,0,0,1-5.62-3.35s.27-.45,2.13-3.4a5.43,5.43,0,0,0,.74-3.34C179.64,69.88,177.79,62.55,177.79,57.38Z')
44 | path.cls-18(d='M195.59,133a33.88,33.88,0,0,0,1-17.13H173.32a104.52,104.52,0,0,0-.09,14.59Z')
45 | path.cls-18(d='M191.49,124.62h.09c2.53,0,5.54,0,4.65,5.57,0,.22-1.07,22.65-.31,32.07.71,8.89,1.34,33.53,1.36,33.8h-5.17c0-.27-4.77-24.23-5.47-33.05-.78-9.72-1.41-31.75-1.42-32.67C185.18,127.77,188.93,124.67,191.49,124.62Z')
46 | path.cls-18(d='M173.21,129.39c.18-2.57,2.7-3.95,5.26-3.76s7.72,2.21,7.54,4.78c0,.19-4.55,19.63-4.72,28.4-.15,7.77.45,14.26,5.66,37.33l-5.07.34c-1.14-3-10.11-26.92-9.89-37.85C172.16,149.63,173.16,130.19,173.21,129.39Z')
47 | path.cls-17(d='M194.86,74.55s3.79,18.08,4.5,21.42a3.13,3.13,0,0,0,2.43,2.48,3.39,3.39,0,0,0,.82.11c1.1,0,2.2-1.68,5.52-6.6l.32-.47,1.24-1.84.35-.51,2.6-3.75c1,.34,3.81,1.89,4.94,1.89,1.53,0,3.41-.15,2.81-1.56a5.52,5.52,0,0,0-3.57-2.91,17.19,17.19,0,0,1-2.74-.94.75.75,0,0,1-.13-.06l-.26-.11a2.5,2.5,0,0,0-.25-.09l-.26-.06-.28,0h-.25l-.28,0-.24,0-.27.07a1,1,0,0,0-.24.09,1.15,1.15,0,0,0-.25.12l-.22.13a1.84,1.84,0,0,0-.22.17,1.12,1.12,0,0,0-.2.18l-.19.21-.09.11c-1.07,1.47-2.25,3-3.41,4.5l-.39.49c-.48.6-1,1.18-1.4,1.72l-.37.45c-.33.39-.64.75-.94,1.08-.18-.86-.38-1.8-.58-2.78l-.09-.41c-1.32-6.32-3-14.28-3-14.28Z')
48 | path.cls-19(d='M204.88,89.81,208.13,92l.32-.47,1.24-1.84.35-.51-3-2-.39.49c-.48.6-1,1.18-1.4,1.72Z')
49 | path.cls-20(d='M158.4,64.1c3.34,6.4,4.84,7.74,5.07,7.92,2.49,1.18,8.42.68,13.15-.28a13.35,13.35,0,0,1,2.54-.55h19.27A2.3,2.3,0,0,1,200.67,73h0s2.16,10.29,3.55,16.88l1.11-1.33,5.08,4.07c-3.88,4.75-5.88,6.43-7.87,6.44h0a4.2,4.2,0,0,1-.92-.11,3.54,3.54,0,0,1-1-.42,3.67,3.67,0,0,1-1.69-2.42c-.15-.71-.44-2.08-.81-3.81-1.06,9-2.69,10.79-1.47,23.58H173.32s.89-23.74,2.53-36.46a37.63,37.63,0,0,1-8.52.18,18.38,18.38,0,0,1-6.85-1.76c-.94-.47-2.1-1-6.9-10.23Z')
50 | path.cls-21(d='M205.33,88.51l5.08,4.07.81-1-5.08-4.06Z')
51 | path.cls-19(d='M153.92,64.46l0,.12.56,1.59,3.2-2.3-.28-.55-.3-.6Z')
52 | path.cls-21(d='M153,66.53c.18.36.36.7.54,1l4.82-3.47-.54-1Z')
53 | path.cls-22(d='M198.08,92.28c.37,1.72.66,3.08.81,3.79a3.67,3.67,0,0,0,1.69,2.42l-1.17-16.34C199,85.26,198.5,88.73,198.08,92.28Z')
54 | path.cls-23(d='M177.41,45.39s.18,1.59,3.84-.06c6.88-3.11,13.89-1.46,15.81,0s2.14,2.91,1.56,4.09a7.18,7.18,0,0,1,2.53,4.64c0,5.91-3.71,11.93-7.76,11.93-6.48,0-9.33-7.89-9-12.43,0-.41.07-.82.11-1.22l-.63.11C176.31,53.89,177.41,45.39,177.41,45.39Z')
55 | path.cls-17(d='M188,57.87a3.57,3.57,0,0,1-1.26,2.72,1.42,1.42,0,0,1-2.3-1.11V56.26a1.42,1.42,0,0,1,2.3-1.11A3.55,3.55,0,0,1,188,57.87Z')
56 | path.cls-24(d='M182.85,195.68l.47-.16c-.08-.25-7.26-23.35-8.13-27a48.21,48.21,0,0,1-1.43-11.17c.13-3.17,1.86-28.66,1.88-28.92-.33-3.08-.5-13.07-.5-13.17h-.5c0,.1.17,10.12.5,13.18,0,.22-1.75,25.72-1.88,28.89a47.51,47.51,0,0,0,1.45,11.3C175.57,172.31,182.77,195.42,182.85,195.68Z')
57 | rect.cls-24(x='189.6', y='117.93', width='7.79', height='0.5')
58 | g#_grupa_(data-name='')
59 | path.cls-27(d='M111,121H83.2A1.19,1.19,0,0,1,82,119.38l4.64-16.47a2.32,2.32,0,0,1,2.09-1.62h27.75a1.19,1.19,0,0,1,1.17,1.62L113,119.38A2.31,2.31,0,0,1,111,121Z')
60 | path.cls-23(d='M110.34,121H82.59a1.19,1.19,0,0,1-1.17-1.63l4.65-16.47a2.3,2.3,0,0,1,2.08-1.62H115.9a1.19,1.19,0,0,1,1.17,1.62l-4.64,16.47A2.33,2.33,0,0,1,110.34,121Z')
61 | path.cls-28(d='M110.42,117.05l3-10.81a1.83,1.83,0,0,0-1.77-2.33H89.84a1.85,1.85,0,0,0-1.77,1.34l-3,10.8a1.84,1.84,0,0,0,1.77,2.33h21.87A1.82,1.82,0,0,0,110.42,117.05Z')
62 | path.cls-27(d='M112.14,121.31a.85.85,0,0,1-.8.55H82.05a.85.85,0,0,1-.8-.55.22.22,0,0,1,.21-.3h30.47A.22.22,0,0,1,112.14,121.31Z')
63 | path.cls-29(d='M104.53,121.31a.87.87,0,0,1-.8.55H74.43a.87.87,0,0,1-.8-.55.23.23,0,0,1,.22-.3h30.47A.23.23,0,0,1,104.53,121.31Z')
64 | path.cls-3(d='M91.86,121v.13a.29.29,0,0,1-.29.29h-5a.29.29,0,0,1-.29-.29V121Z')
65 | path.cls-30(d='M65.9,124.57a4.66,4.66,0,0,1,5.28-3.93c2.74.4,26.81,4.37,30.42,20,2.2,9.54-4.29,26.07-9.38,39.32l-4.41-1.31c3.68-11.29,5.91-30.74,4.72-35.91-1.86-8.05-17.4-12.11-22.7-12.9A4.66,4.66,0,0,1,65.9,124.57Z')
66 | path.cls-17(d='M64,55.15l.16-.1c1.08-4.59,5.2-9.21,10.12-9.21s8.9,4.51,10.06,9a1.3,1.3,0,0,1,.85.31,3.57,3.57,0,0,1,0,5.44,1.34,1.34,0,0,1-1.12.29c-.93,2.79-3.87,7.21-8.26,7.53A6.28,6.28,0,0,0,76.56,72c1.87,3,2.13,3.4,2.13,3.4a3.27,3.27,0,0,1-5.61,3.35s-.37-.6-2-3.27a13.87,13.87,0,0,1-1.74-8.11c-2.31-1.22-4-4-4.83-6.51a1.27,1.27,0,0,1-.46-.24,3.57,3.57,0,0,1,0-5.44Z')
67 | path.cls-5(d='M66.49,131s-2.84-5.2-1-15.16H88.76s.33,7.58-.2,15.16Z')
68 | path.cls-5(d='M83.93,121.9c4.19,0,7.93,0,11.24-.05,17.2-.13,22.38-.17,24.82,4.25.85,1.53,1.4,4.06-.74,7.41-5.43,8.47-24.17,21.74-26.19,23.38l-3.46-4.34c4.48-3.63,14.22-14.81,19.72-21.3-3.42-.18-8.65-.14-14.08-.09-3.33,0-7.09.05-11.31.05a4.66,4.66,0,0,1,0-9.31Z')
69 | path.cls-17(d='M49.23,93.91c0-2.14,2.25-6.46,5.08-11,2.3-3.64,4.95-7.39,7-10.18A2.77,2.77,0,0,1,65.76,76c-2.42,3.31-5,7-7,10.24a38.87,38.87,0,0,0-4,7.34c1,2,7.16,8.21,12.51,13a2.5,2.5,0,0,1,.22.24l.12.13a2.56,2.56,0,0,1,.22.35l.07.11a3.12,3.12,0,0,1,.15.39s0,.07,0,.11,0,.26.07.4a.69.69,0,0,0,0,.13c0,.12,0,.24,0,.37a.86.86,0,0,1,0,.16,1.86,1.86,0,0,1-.07.34,1.29,1.29,0,0,1,0,.19c0,.1-.09.21-.14.31l-.08.18a2,2,0,0,1-.21.3.71.71,0,0,1-.1.14l0,0a0,0,0,0,0,0,0h0A12.09,12.09,0,0,1,63,113.88a2.89,2.89,0,0,1-.91.15c-1.14,0-1.7-1.74-2.1-2.88-.5-1.45,1.51-2.76,2.95-3.26l.11,0C55.08,101.73,49.23,97.1,49.23,93.91Z')
70 | path.cls-19(d='M54.31,83l3,2.25,1.44,1.07c2-3.21,4.54-6.93,7-10.24a2.77,2.77,0,0,0-4.47-3.26C59.26,75.56,56.61,79.31,54.31,83Z')
71 | path.cls-6(d='M54.17,81.9,57.49,84l2.84,1.77.48-.77,1.43-2.31c1-1.64,1.93-3.09,2.61-4.14S66,76.8,66,76.79a3.62,3.62,0,0,0-2.43-5.55,3.23,3.23,0,0,0-.82,0,3.6,3.6,0,0,0-2.82,1.63c-.07.1-1.74,2.66-3.81,6l-1.43,2.3Z')
72 | path.cls-31(d='M57.49,84l2.84,1.77.48-.77,1.43-2.31c1-1.64,1.93-3.09,2.61-4.14S66,76.8,66,76.79a3.62,3.62,0,0,0-2.43-5.55,3.23,3.23,0,0,0-.82,0,5.1,5.1,0,0,0-1.33,2c-.07.17-1.58,4.19-3.4,9.4Z')
73 | path.cls-6(d='M61.39,73.88c1.61,9.28,4.78,32.59,4.09,42H88.76s-.25-6.27-.72-14.12c-.61-10.44-1.6-23.65-2.84-28.64,0-.07,0-.14,0-.2a2.28,2.28,0,0,0-2.22-1.7H63.66A2.29,2.29,0,0,0,61.39,73.88Z')
74 | path.cls-32(d='M68.71,48.52c2.2,2.85,15.22,4.6,15.22-1.79a2.53,2.53,0,0,0-.91-2s-.1,1-.58,1.24A18.17,18.17,0,0,0,78,44.2s.42,1-1.23.75C72,44.32,65.06,43.8,68.71,48.52Z')
75 | path.cls-31(d='M79.35,77.78s.14.9.34,2.3.48,3.36.76,5.52l.41,3.07L88,101.73c-.61-10.44-1.6-23.65-2.84-28.64a2.84,2.84,0,0,0-.93-.48,3.11,3.11,0,0,0-1.91,0,4.45,4.45,0,0,0-2.83,3A4.77,4.77,0,0,0,79.35,77.78Z')
76 | path.cls-32(d='M77.77,46.58c2.38.63,4.43,4.79,4.64,7.25.4,4.54-3,11.66-10.1,11.66-8.43,0-9.24-9-8.83-11.27s1.79-7.3,5.42-7.76C71.07,46.19,75.23,45.91,77.77,46.58Z')
77 | path.cls-17(d='M81.42,72.34s0,0,0,0a3,3,0,0,1,.82-.3,3.63,3.63,0,0,1,3.44,1.06s0,0,0,0a3,3,0,0,1,.24.68c.1.44,1.26,5.71,2.48,11.59,1.28,6.06,2.65,12.76,3,15.48.83,5.67,9.7,10.23,13,11.51l.14.07.32.16.26.19.15.11,0,0,0,0c.71.66,3.49,3.47,3.15,6.88-.14,1.43-.17,1.8-1.52,2.2a6.73,6.73,0,0,1-2.11.2c-1.53,0-2.4-.44-2.25-2,0-.38.76-4,.13-4.71-7.9-3.34-15.53-4.8-16.87-13.9-.36-2.45-1.59-8.51-2.78-14.24C81.9,81.07,80.6,75.11,80.57,75A2.77,2.77,0,0,1,81.42,72.34Z')
78 | path.cls-19(d='M80.57,75c0,.12,1.33,6.08,2.67,12.46l5.21-2C87.23,79.52,86.07,74.25,86,73.81a3,3,0,0,0-.24-.68s0,0,0,0A3.63,3.63,0,0,0,82.26,72a3,3,0,0,0-.82.3s0,0,0,0A2.77,2.77,0,0,0,80.57,75Z')
79 | path.cls-6(d='M88.76,84.52,81.65,86l-.18-.89-.53-2.66c-.38-1.88-.74-3.57-1-4.8s-.43-2-.43-2a3.55,3.55,0,0,1,.08-1.89,3.67,3.67,0,0,1,2.67-2.45A3.65,3.65,0,0,1,86.59,74c0,.12.69,3.1,1.46,7l.53,2.67Z')
80 | rect.cls-33(x='64.87', y='118.47', width='7.79', height='0.5')
81 | path.cls-33(d='M93.57,155c8.34-6.14,18.25-15.7,22.55-21.76,1.47-2.07,1.83-3.84,1.09-5.28-1.11-2.16-4.67-3.35-10-3.35l-8.1,0-9.21,0c-4.25,0-4.25-2-4.25-2.76v-6.31h-.5v6.31c0,2.16,1.6,3.26,4.75,3.26l9.21,0,8.1,0c5.07,0,8.56,1.13,9.57,3.08.65,1.26.29,2.86-1.06,4.76-4.27,6-14.13,15.54-22.44,21.65Z')
82 | path.cls-18(d='M94,154.7a1.34,1.34,0,0,1,.48.55,21.43,21.43,0,0,0,5.17,6.26c1.84,1.26,1.46,2.29-1.33.93s-4.71-2.62-6-3.2-1.83-.62-4.88-2.12c-2.35-1.15.65-3.39,2.17-4.37a1.41,1.41,0,0,1,1.55,0Z')
83 | path.cls-18(d='M92.07,178.82a1.37,1.37,0,0,1,.24.69c.07,1.72,1,5.58,3,6.89,1.88,1.2,1.29,2.12-1.57.9-2.55-1.08-3.94-3.88-4.89-4.88s-1.46-1.26-3.74-3.79c-1.75-1.94,1.87-2.9,3.64-3.25a1.44,1.44,0,0,1,1.43.62Z')
84 | rect.cls-20(x='64.87', y='130.75', width='24.73', height='71.93')
85 | rect.cls-35(x='30.6', y='185.64', width='24.73', height='17.04')
86 | rect.cls-35(x='99.13', y='172.98', width='24.73', height='29.71')
87 | rect.cls-35(x='133.24', y='154.64', width='24.73', height='48.04')
88 | path.cls-36(d='M209.44,205.82H25.76a1.57,1.57,0,0,1-1.57-1.57h0a1.57,1.57,0,0,1,1.57-1.57H209.44a1.57,1.57,0,0,1,1.57,1.57h0A1.57,1.57,0,0,1,209.44,205.82Z')
89 | rect.cls-9(x='139.64', y='97.26', width='13.48', height='4.17')
90 | rect.cls-11(x='154.49', y='91.1', width='1.45', height='36.33')
91 | rect.cls-9(x='144.88', y='103.26', width='8.23', height='4.17')
92 | rect.cls-9(x='131.64', y='103.26', width='11.3', height='4.17')
93 | rect.cls-9(x='147.76', y='109.26', width='5.35', height='4.17')
94 | rect.cls-9(x='147.36', y='121.26', width='5.75', height='4.17')
95 | rect.cls-9(x='130.01', y='121.26', width='13.77', height='4.17')
96 | rect.cls-9(x='225.81', y='35.81', width='24.74', height='4.17')
97 | rect.cls-11(x='251.94', y='35.81', width='1.45', height='36.33')
98 | rect.cls-9(x='222.23', y='41.81', width='28.33', height='4.17')
99 | rect.cls-9(x='231.9', y='47.81', width='18.66', height='4.17')
100 | rect.cls-9(x='247', y='59.81', width='3.56', height='4.17')
101 | rect.cls-9(x='236.27', y='59.81', width='8.52', height='4.17')
102 | rect.cls-37(x='57.92', y='31.61', width='5.54', height='3.04', transform='translate(-5.65 52.63) rotate(-45.01)')
103 | path.cls-38(d='M45.94,47.88h0a2.69,2.69,0,0,0,3.88-.09L61.09,35.52,58.3,32.73,46,44A2.69,2.69,0,0,0,45.94,47.88Z')
104 | path.cls-39(d='M58.69,21.6a13.53,13.53,0,0,0,22,10.53,13.39,13.39,0,0,0,2.21-2.24A15.2,15.2,0,0,0,84,28.27a13.34,13.34,0,0,0,1.71-5.61c0-.35,0-.71,0-1.06A13.55,13.55,0,0,0,72.23,8.05c-.36,0-.72,0-1.07,0a13.39,13.39,0,0,0-5.61,1.72,12.85,12.85,0,0,0-1.61,1.07,13.14,13.14,0,0,0-2.25,2.22A13.45,13.45,0,0,0,58.69,21.6Z')
105 | path.cls-40(d='M65.55,9.81,84,28.27a13.34,13.34,0,0,0,1.71-5.61L71.16,8.09A13.39,13.39,0,0,0,65.55,9.81Z')
106 | path.cls-40(d='M61.69,13.1l19,19a13.39,13.39,0,0,0,2.21-2.24l-19-19A13.14,13.14,0,0,0,61.69,13.1Z')
107 | path.cls-29(d='M61.59,32.23a15.06,15.06,0,0,1,0-21.28h0a15,15,0,1,1,0,21.28Zm2.12-19.15h0a12,12,0,1,0,8.52-3.53A11.95,11.95,0,0,0,63.71,13.08Z')
108 | .auth__form
109 | span.ui-title-2 Login
110 | form(@submit.prevent="onSubmit")
111 | .form-item(:class="{ errorInput: $v.email.$error }")
112 | input(
113 | type="email"
114 | placeholder="Email"
115 | v-model="email"
116 | :class="{ error: $v.email.$error }"
117 | @change="$v.email.$touch()"
118 | )
119 | .error(v-if="!$v.email.required") Field is required
120 | .error(v-if="!$v.email.email") Email is not correct
121 | .form-item(:class="{ errorInput: $v.password.$error }")
122 | input(
123 | type="password"
124 | placeholder="Password"
125 | v-model="password"
126 | :class="{ error: $v.password.$error }"
127 | @change="$v.password.$touch()"
128 | )
129 | .error(v-if="!$v.password.required") Password is required.
130 | .error(v-if="!$v.password.minLength")
131 | | Password must have at least {{ $v.password.$params.minLength.min }} letters.
132 |
133 | .buttons-list
134 | button.button.button-primary(
135 | type="submit"
136 | :class="{ 'button--disable': $v.$invalid }"
137 | ) Login
138 |
139 | .buttons-list.buttons-list--info
140 | p(v-if="submitStatus === 'OK'") Thanks for your submission!
141 | p(v-if="submitStatus === 'ERROR'") Please fill the form correctly.
142 | p(v-else) {{ submitStatus }}
143 |
144 | .buttons-list.buttons-list--info
145 | span Need Registration?
146 | nuxt-link(to="/registration") Enter Here
147 |
148 |
149 |
150 |
201 |
202 |
247 |
--------------------------------------------------------------------------------
/pages/registration/index.vue:
--------------------------------------------------------------------------------
1 |
2 | .content-wrapper
3 | section
4 | .container
5 | .auth
6 | .auth__banner
7 | //- h1.ui-title-2 Time Library
8 | svg(xmlns='http://www.w3.org/2000/svg', xmlns:xlink='http://www.w3.org/1999/xlink', viewBox='0 0 270.97 205.82')
9 | defs
10 | clippath#clip-path
11 | path.cls-1(d='M196.61,115.84c-1.22-12.77.41-14.61,1.47-23.55.27,1.28.51,2.36.67,3.12.05.26.1.48.14.66a3.67,3.67,0,0,0,1.69,2.42,3.54,3.54,0,0,0,1,.42,4.2,4.2,0,0,0,.92.11h0c2,0,4-1.69,7.87-6.44l.81-1-1.84-1.47.31-.45.35-.51,2.6-3.75c1,.34,3.81,1.89,4.94,1.89,1.53,0,3.41-.15,2.81-1.56a5.52,5.52,0,0,0-3.57-2.91,17.19,17.19,0,0,1-2.74-.94.75.75,0,0,1-.13-.06l-.26-.11a2.5,2.5,0,0,0-.25-.09l-.26-.06-.28,0h-.25l-.28,0-.24,0-.27.07a1,1,0,0,0-.24.09,1.15,1.15,0,0,0-.25.12l-.22.13a1.84,1.84,0,0,0-.22.17,1.12,1.12,0,0,0-.2.18l-.19.21-.09.11c-1.07,1.47-2.25,3-3.41,4.5l-.39.49-.14.17-.37-.3-.81,1-1.11,1.33C202.83,83.25,200.67,73,200.67,73h0a2.3,2.3,0,0,0-2.24-1.77h-5.82a17.09,17.09,0,0,0,.17-3.62,8.42,8.42,0,0,0,2.44-2c3.28-1.44,6-6.5,5.93-11.51a7.18,7.18,0,0,0-2.53-4.64c.58-1.18.33-2.66-1.56-4.09s-8.93-3.11-15.81,0c-3.66,1.65-3.84.06-3.84.06s-.57,4.41,2,6.34a10.81,10.81,0,0,0-1.57,5.65c0,5.17,1.85,12.5,8.47,11.25a6.62,6.62,0,0,1-.34,2.56h-6.76a13.35,13.35,0,0,0-2.54.55c-4.73,1-10.66,1.46-13.15.28-.23-.18-1.73-1.52-5.07-7.92l-.54-1-.41.29v0l-.3-.6c-.47-.92-.92-1.86-1.36-2.8-.9-3-4.24-5.34-4.93-5.8a4.7,4.7,0,0,0-1.84-.74,23.39,23.39,0,0,1-3-1.9c-2.63-2-1.17.9.59,2.08l.71.46a2.15,2.15,0,0,0-.14.26c-.52,1.42-.67,3.6.61,4.45s4.24.84,4.55,1.57.53,1.13.88,2.1c.17.48.42,1.19.7,2.06l0,.12c.11.32.23.67.36,1l-1.28.93c.18.36.36.7.54,1,4.8,9.2,6,9.76,6.9,10.23a18.38,18.38,0,0,0,6.85,1.76,37.63,37.63,0,0,0,8.52-.18c-1.64,12.72-2.53,36.46-2.53,36.46m0,0a105.39,105.39,0,0,0-.13,13.92c-.16,2.86-1,20.44-1.2,28.87-.22,10.93,8.75,34.81,9.89,37.85l.57,0,.38,1.22a1.31,1.31,0,0,0-.59.26,21.31,21.31,0,0,1-7.39,3.35c-2.2.32-2.32,1.41.79,1.41s5.38-.27,6.77-.24,1.91.24,5.31.24h.59c3.11,0,4.05-.09,5-.12,1.39,0,.77.12,4.22.12,1.7,0,.91-3.19,0-4.74-.28-.47-.38-.87-.95-.78l-.16,0-.08-1.12h1c0-.27-.65-24.91-1.36-33.8-.68-8.37.06-27,.26-31.2a35.48,35.48,0,0,0,.8-12.63h.41v-.5h-.47c-.08-.68-.18-1.37-.31-2.09m-10.76,80.37,1.1-.07c-5.21-23.07-5.81-29.56-5.66-37.33.13-6.61,2.74-19.28,4-25.2.21,6.67.72,21.8,1.33,29.4.7,8.82,5.45,32.78,5.47,33.05h.78l.27,1.58a1.43,1.43,0,0,0-.67.28,22.62,22.62,0,0,1-3.55,2.52,12.19,12.19,0,0,0-1.24-2.64,1.41,1.41,0,0,0-1.42-.64l-.22,0Z')
12 | clippath#clip-path-2
13 | path.cls-1(d='M63,107.84l-.11,0c-1.44.5-3.45,1.81-2.95,3.26.4,1.14,1,2.88,2.1,2.88a2.89,2.89,0,0,0,.91-.15,9.28,9.28,0,0,0,2.61-1.5c0,1.29,0,2.46-.09,3.46h0c-.17.93-.29,1.79-.38,2.63h-.23v.5H65c-.78,7.91,1.45,12,1.45,12h8.62c6.72,1.83,16,5.64,17.42,11.75a29.45,29.45,0,0,1,.25,6.87c-1.21,1.2-2.3,2.22-3.18,2.93l.13.17,0,0c-1.52,1-4.52,3.22-2.17,4.37a44.69,44.69,0,0,0,4.4,1.91,128.66,128.66,0,0,1-3.14,16.35h0c-1.77.35-5.39,1.31-3.64,3.25,2.28,2.53,2.79,2.79,3.74,3.79s2.34,3.8,4.89,4.88c2.86,1.22,3.45.3,1.57-.9s-2.85-4.89-3-6.69c2.08-5.43,4.38-11.39,6.23-17.19,2.6,1.21,2.93.22,1.14-1A8.25,8.25,0,0,1,99,161a76.07,76.07,0,0,0,2.54-10.58c6.36-5,14.43-11.81,17.69-16.9,2.14-3.35,1.59-5.88.74-7.41-1.71-3.1-4.77-4-12.35-4.23.83-.35.88-.8,1-2,.34-3.41-2.44-6.22-3.15-6.88l0,0,0,0-.15-.11-.26-.19-.32-.16-.14-.07c-3.35-1.28-12.22-5.84-13-11.51-.4-2.72-1.77-9.42-3-15.48-.06-.26-.11-.52-.16-.78l.47-.1-.18-.88L88.05,81c-.77-3.85-1.44-6.83-1.46-7a3.62,3.62,0,0,0-2.45-2.66A3.73,3.73,0,0,0,83,71.19h-6.8a7.46,7.46,0,0,1-.38-2.78c4.39-.32,7.33-4.74,8.26-7.53a1.34,1.34,0,0,0,1.12-.29,3.57,3.57,0,0,0,0-5.44,1.3,1.3,0,0,0-.85-.31,13.26,13.26,0,0,0-2.4-4.79,3.64,3.64,0,0,0,2-3.32,2.53,2.53,0,0,0-.91-2s-.1,1-.58,1.24A18.17,18.17,0,0,0,78,44.2s.42,1-1.23.75c-4.07-.54-9.73-1-9,1.84C65,48,63.84,52.21,63.48,54.22a7.38,7.38,0,0,0-.07,1.59,3.5,3.5,0,0,0-.67,2.06A3.57,3.57,0,0,0,64,60.59a1.27,1.27,0,0,0,.46.24c.87,2.5,2.52,5.29,4.83,6.51a18.78,18.78,0,0,0,.19,3.85H63.66a2.85,2.85,0,0,0-.29,0,2.92,2.92,0,0,0-.66,0,3.6,3.6,0,0,0-2.82,1.63c-.07.1-1.74,2.66-3.81,6l-1.43,2.3-.48.77.58.36c-.15.23-.3.46-.44.69-2.83,4.5-5.08,8.82-5.08,11C49.23,97.1,55.08,101.73,63,107.84Zm40.21,14c-2.34,0-5,0-8,0l-6.31,0c0-3.55-.1-6-.1-6h0s-.14-3.41-.4-8.29c3.14,4.15,8.76,5.6,14.53,8,.63.69-.09,4.33-.13,4.71A1.62,1.62,0,0,0,103.22,121.81Zm-1.72,18.47a18.91,18.91,0,0,0-5.62-9.13c5.2,0,10.16-.07,13.44.1C107.17,133.79,104.37,137,101.5,140.28ZM54.81,93.61a38.87,38.87,0,0,1,4-7.34c.21-.34.46-.71.68-1.07l.85.53.48-.77,1.43-2.31.41-.67c1,6.83,2,15.44,2.58,22.73C60.48,100.29,55.72,95.37,54.81,93.61Z')
14 | title Time Library
15 | g.cls-2
16 | g(id='Слой_2', data-name='Слой 2')
17 | g#Objects
18 | path.cls-4(d='M157.94,17.24c3.92,0,5.85-4.32,7.72-8.5s3.65-8.16,7.2-8.16,5.31,4,7.19,8.16,3.81,8.5,7.72,8.5,5.85-4.32,7.72-8.5S199.14.58,202.68.58s5.32,4,7.2,8.16,3.8,8.5,7.72,8.5,5.85-4.32,7.72-8.5S229,.58,232.51.58a.29.29,0,1,0,0-.58c-3.91,0-5.85,4.32-7.72,8.5s-3.65,8.16-7.19,8.16-5.32-4-7.2-8.16S206.6,0,202.68,0,196.84,4.32,195,8.5s-3.65,8.16-7.19,8.16-5.32-4-7.19-8.16S176.77,0,172.86,0,167,4.32,165.14,8.5s-3.66,8.16-7.2,8.16a.29.29,0,0,0,0,.58Z')
19 | path.cls-5(d='M259.37,116.81a29.47,29.47,0,0,0-21.1-39.72l-3.14,14.34a14.81,14.81,0,0,1,11.64,14.46,14.65,14.65,0,0,1-1.05,5.48Z')
20 | path.cls-6(d='M212.49,128.72a29.47,29.47,0,0,0,20.85,8.64,29.75,29.75,0,0,0,4-.27,29.4,29.4,0,0,0,16.86-8.37c.23-.23.45-.47.67-.71l-10.72-10A14.79,14.79,0,1,1,226.81,94.6l-6.5-13.17A29.09,29.09,0,0,0,212.49,87,29.5,29.5,0,0,0,212.49,128.72Z')
21 | path.cls-7(d='M220.31,81.43l6.5,13.17a14.57,14.57,0,0,1,6.53-1.53,14.85,14.85,0,0,1,3.16.34l3.14-14.34c-.76-.17-1.53-.31-2.3-.41a28.59,28.59,0,0,0-4-.28,29.34,29.34,0,0,0-8.3,1.2A28.24,28.24,0,0,0,220.31,81.43Z')
22 | path.cls-8(d='M254.87,130.75a29.05,29.05,0,0,0,5.87-9.22l-13.65-5.44a14.66,14.66,0,0,1-2.94,4.63Z')
23 | path.cls-9(d='M69.8,80.43a287.24,287.24,0,0,1,125.43,0,4.48,4.48,0,0,0,5.36-3.26q6.51-27.09,13-54.16c.57-2.36-1.34-4.85-4.29-5.51a351.87,351.87,0,0,0-153.59,0c-2.94.66-4.85,3.15-4.28,5.51q6.5,27.08,13,54.16a4.49,4.49,0,0,0,5.36,3.26')
24 | path.cls-10(d='M196.76,73.81l11.13-49.67a2.76,2.76,0,0,0-2.4-3,347.56,347.56,0,0,0-146,0,2.74,2.74,0,0,0-2.39,3Q62.72,49,68.27,73.81a2.5,2.5,0,0,0,3,1.85,291.72,291.72,0,0,1,122.5,0,2.49,2.49,0,0,0,3-1.85')
25 | path.cls-6(d='M119,25.39q.81,20.07,1.61,40.15l1,0q-.75-20.08-1.48-40.15l-1.17,0')
26 | path.cls-11(d='M191.83,53.37q-1.67,8.64-3.34,17.28l1,.2q1.69-8.64,3.4-17.27Z')
27 | path.cls-11(d='M167.53,53.76,166,67.2l1,.12q.79-6.72,1.58-13.43l-1.07-.13')
28 | path.cls-11(d='M144.39,37.2q-.52,14.14-1,28.3l1,0,1.14-28.3Z')
29 | path.cls-11(d='M94.23,35.15,98,67.32l1-.12Q97.2,51.11,95.37,35Z')
30 | path.cls-11(d='M71.31,49.41q2.1,10.71,4.21,21.44l1-.2L72.4,49.19l-1.09.22')
31 | path.cls-12(d='M73.51,60.58h0c0,.1,0,.2,0,.3,0-.1,0-.2,0-.3M194.66,36.15c-5.69,0-9.64,5.26-13.28,10.38C177.57,51.88,174.16,57,169.13,57c-.29,0-.58,0-.88,0l-.12,1a9,9,0,0,0,1,.06c5.61,0,9.34-5.54,13.18-10.89,3.65-5.11,7.3-9.93,12.39-9.93a8.41,8.41,0,0,1,1.63.16c.07-.33.13-.65.2-1a9.61,9.61,0,0,0-1.89-.19m-99.33-3.9a11.22,11.22,0,0,0-1.15.06C87.39,33.12,85,40,82.88,46.65c-2,6.2-3.64,12-8.34,13.66.07.33.13.66.2,1,5.34-1.73,7.2-8.14,9.21-14.4C86.06,40.29,88.28,34,94.3,33.31a8.47,8.47,0,0,1,1-.06c5.43,0,8.83,5.3,12.19,10.9C111,50,114.36,56,120.27,56.07c0-.34,0-.67,0-1-5.24-.14-8.3-5.62-11.77-11.4s-7-11.42-13.13-11.42m49.77-1.92c-6.57,0-9.94,6.32-13,12.43S126.5,54.47,121.3,55c0,.34,0,.67,0,1,5.87-.57,8.77-6.81,11.81-12.87s6.13-11.83,12-11.83h.33c6.05.25,8.74,6.34,11.34,12.76,2.49,6.1,4.83,12.36,10.3,13.65,0-.33.07-.67.11-1-4.81-1.23-6.92-6.94-9.36-13-2.59-6.44-5.53-13.14-12.35-13.42h-.38')
32 | path.cls-13(d='M121.3,55c0,.34,0,.67,0,1-.18,0-.36,0-.55,0h-.52c0-.34,0-.67,0-1h.53a4.9,4.9,0,0,0,.54,0')
33 | path.cls-14(d='M167.19,56.74a8.17,8.17,0,0,0,1,.19h0l-.12,1h0a8.35,8.35,0,0,1-1-.18c0-.33.07-.67.11-1')
34 | path.cls-14(d='M74.54,60.31c.07.33.13.66.2,1a8.78,8.78,0,0,1-1,.26c0-.23-.09-.45-.14-.68s0-.2,0-.3a8.17,8.17,0,0,0,1-.27')
35 | path.cls-5(d='M195.49,24.82a1.51,1.51,0,1,0,1.75-1.14A1.48,1.48,0,0,0,195.49,24.82Z')
36 | path.cls-5(d='M189.94,23.83a1.5,1.5,0,0,0,3,.52,1.46,1.46,0,0,0-1.23-1.69A1.48,1.48,0,0,0,189.94,23.83Z')
37 | path.cls-5(d='M184.38,22.93a1.5,1.5,0,1,0,1.71-1.2A1.48,1.48,0,0,0,184.38,22.93Z')
38 | polygon.cls-15(points='196.49 199.06 195.94 190.69 192.06 191.1 193.49 199.65 196.49 199.06')
39 | path.cls-16(d='M193.17,197.64a1.29,1.29,0,0,0-.68.28,17.77,17.77,0,0,1-4.13,2.79c-2,.76-3.16,2-.05,2s4.05-.09,5-.12c1.39,0,.77.12,4.22.12,1.7,0,.91-3.19,0-4.74-.28-.47-.38-.87-.95-.78Z')
40 | polygon.cls-15(points='186.46 199.06 184.7 190.9 180.83 191.31 183.46 199.65 186.46 199.06')
41 | path.cls-6(d='M182.92,197.64a1.29,1.29,0,0,0-.68.28,21.31,21.31,0,0,1-7.39,3.35c-2.2.32-2.32,1.41.79,1.41s5.38-.27,6.77-.24,1.91.24,5.31.24c2.62,0,.91-3.33,0-4.88a1.41,1.41,0,0,0-1.42-.64Z')
42 | path.cls-17(d='M146,51.48a23.39,23.39,0,0,0,3,1.9,4.7,4.7,0,0,1,1.84.74c.69.46,4,2.81,4.93,5.8.44.94.89,1.88,1.36,2.8l.3.6.28.55c.47.89.93,1.75,1.39,2.56,1.75,3.14,3.34,5.52,4.08,6,2.7,1.36,10.84.45,15.75-.64a2.77,2.77,0,1,1,1.19,5.41A61.74,61.74,0,0,1,168,78.65a17,17,0,0,1-7.33-1.29c-2-1-3.89-5.08-5.31-8.81-.32-.82-.61-1.63-.87-2.38L154,64.58l0-.12c-.28-.87-.53-1.58-.7-2.06-.35-1-.56-1.37-.88-2.1s-3.32-.74-4.55-1.57-1.13-3-.61-4.45a2.15,2.15,0,0,1,.14-.26l-.71-.46C144.85,52.38,143.39,49.45,146,51.48Z')
43 | path.cls-17(d='M177.79,57.38a10,10,0,0,1,10-10.35,10.4,10.4,0,0,1,10.39,10.4c0,4-2.12,8.4-5.42,10.14a13.17,13.17,0,0,1-1.73,7.88c-1.68,2.68-2,3.22-2,3.27a3.27,3.27,0,0,1-5.62-3.35s.27-.45,2.13-3.4a5.43,5.43,0,0,0,.74-3.34C179.64,69.88,177.79,62.55,177.79,57.38Z')
44 | path.cls-18(d='M195.59,133a33.88,33.88,0,0,0,1-17.13H173.32a104.52,104.52,0,0,0-.09,14.59Z')
45 | path.cls-18(d='M191.49,124.62h.09c2.53,0,5.54,0,4.65,5.57,0,.22-1.07,22.65-.31,32.07.71,8.89,1.34,33.53,1.36,33.8h-5.17c0-.27-4.77-24.23-5.47-33.05-.78-9.72-1.41-31.75-1.42-32.67C185.18,127.77,188.93,124.67,191.49,124.62Z')
46 | path.cls-18(d='M173.21,129.39c.18-2.57,2.7-3.95,5.26-3.76s7.72,2.21,7.54,4.78c0,.19-4.55,19.63-4.72,28.4-.15,7.77.45,14.26,5.66,37.33l-5.07.34c-1.14-3-10.11-26.92-9.89-37.85C172.16,149.63,173.16,130.19,173.21,129.39Z')
47 | path.cls-17(d='M194.86,74.55s3.79,18.08,4.5,21.42a3.13,3.13,0,0,0,2.43,2.48,3.39,3.39,0,0,0,.82.11c1.1,0,2.2-1.68,5.52-6.6l.32-.47,1.24-1.84.35-.51,2.6-3.75c1,.34,3.81,1.89,4.94,1.89,1.53,0,3.41-.15,2.81-1.56a5.52,5.52,0,0,0-3.57-2.91,17.19,17.19,0,0,1-2.74-.94.75.75,0,0,1-.13-.06l-.26-.11a2.5,2.5,0,0,0-.25-.09l-.26-.06-.28,0h-.25l-.28,0-.24,0-.27.07a1,1,0,0,0-.24.09,1.15,1.15,0,0,0-.25.12l-.22.13a1.84,1.84,0,0,0-.22.17,1.12,1.12,0,0,0-.2.18l-.19.21-.09.11c-1.07,1.47-2.25,3-3.41,4.5l-.39.49c-.48.6-1,1.18-1.4,1.72l-.37.45c-.33.39-.64.75-.94,1.08-.18-.86-.38-1.8-.58-2.78l-.09-.41c-1.32-6.32-3-14.28-3-14.28Z')
48 | path.cls-19(d='M204.88,89.81,208.13,92l.32-.47,1.24-1.84.35-.51-3-2-.39.49c-.48.6-1,1.18-1.4,1.72Z')
49 | path.cls-20(d='M158.4,64.1c3.34,6.4,4.84,7.74,5.07,7.92,2.49,1.18,8.42.68,13.15-.28a13.35,13.35,0,0,1,2.54-.55h19.27A2.3,2.3,0,0,1,200.67,73h0s2.16,10.29,3.55,16.88l1.11-1.33,5.08,4.07c-3.88,4.75-5.88,6.43-7.87,6.44h0a4.2,4.2,0,0,1-.92-.11,3.54,3.54,0,0,1-1-.42,3.67,3.67,0,0,1-1.69-2.42c-.15-.71-.44-2.08-.81-3.81-1.06,9-2.69,10.79-1.47,23.58H173.32s.89-23.74,2.53-36.46a37.63,37.63,0,0,1-8.52.18,18.38,18.38,0,0,1-6.85-1.76c-.94-.47-2.1-1-6.9-10.23Z')
50 | path.cls-21(d='M205.33,88.51l5.08,4.07.81-1-5.08-4.06Z')
51 | path.cls-19(d='M153.92,64.46l0,.12.56,1.59,3.2-2.3-.28-.55-.3-.6Z')
52 | path.cls-21(d='M153,66.53c.18.36.36.7.54,1l4.82-3.47-.54-1Z')
53 | path.cls-22(d='M198.08,92.28c.37,1.72.66,3.08.81,3.79a3.67,3.67,0,0,0,1.69,2.42l-1.17-16.34C199,85.26,198.5,88.73,198.08,92.28Z')
54 | path.cls-23(d='M177.41,45.39s.18,1.59,3.84-.06c6.88-3.11,13.89-1.46,15.81,0s2.14,2.91,1.56,4.09a7.18,7.18,0,0,1,2.53,4.64c0,5.91-3.71,11.93-7.76,11.93-6.48,0-9.33-7.89-9-12.43,0-.41.07-.82.11-1.22l-.63.11C176.31,53.89,177.41,45.39,177.41,45.39Z')
55 | path.cls-17(d='M188,57.87a3.57,3.57,0,0,1-1.26,2.72,1.42,1.42,0,0,1-2.3-1.11V56.26a1.42,1.42,0,0,1,2.3-1.11A3.55,3.55,0,0,1,188,57.87Z')
56 | path.cls-24(d='M182.85,195.68l.47-.16c-.08-.25-7.26-23.35-8.13-27a48.21,48.21,0,0,1-1.43-11.17c.13-3.17,1.86-28.66,1.88-28.92-.33-3.08-.5-13.07-.5-13.17h-.5c0,.1.17,10.12.5,13.18,0,.22-1.75,25.72-1.88,28.89a47.51,47.51,0,0,0,1.45,11.3C175.57,172.31,182.77,195.42,182.85,195.68Z')
57 | rect.cls-24(x='189.6', y='117.93', width='7.79', height='0.5')
58 | g#_grupa_(data-name='')
59 | path.cls-27(d='M111,121H83.2A1.19,1.19,0,0,1,82,119.38l4.64-16.47a2.32,2.32,0,0,1,2.09-1.62h27.75a1.19,1.19,0,0,1,1.17,1.62L113,119.38A2.31,2.31,0,0,1,111,121Z')
60 | path.cls-23(d='M110.34,121H82.59a1.19,1.19,0,0,1-1.17-1.63l4.65-16.47a2.3,2.3,0,0,1,2.08-1.62H115.9a1.19,1.19,0,0,1,1.17,1.62l-4.64,16.47A2.33,2.33,0,0,1,110.34,121Z')
61 | path.cls-28(d='M110.42,117.05l3-10.81a1.83,1.83,0,0,0-1.77-2.33H89.84a1.85,1.85,0,0,0-1.77,1.34l-3,10.8a1.84,1.84,0,0,0,1.77,2.33h21.87A1.82,1.82,0,0,0,110.42,117.05Z')
62 | path.cls-27(d='M112.14,121.31a.85.85,0,0,1-.8.55H82.05a.85.85,0,0,1-.8-.55.22.22,0,0,1,.21-.3h30.47A.22.22,0,0,1,112.14,121.31Z')
63 | path.cls-29(d='M104.53,121.31a.87.87,0,0,1-.8.55H74.43a.87.87,0,0,1-.8-.55.23.23,0,0,1,.22-.3h30.47A.23.23,0,0,1,104.53,121.31Z')
64 | path.cls-3(d='M91.86,121v.13a.29.29,0,0,1-.29.29h-5a.29.29,0,0,1-.29-.29V121Z')
65 | path.cls-30(d='M65.9,124.57a4.66,4.66,0,0,1,5.28-3.93c2.74.4,26.81,4.37,30.42,20,2.2,9.54-4.29,26.07-9.38,39.32l-4.41-1.31c3.68-11.29,5.91-30.74,4.72-35.91-1.86-8.05-17.4-12.11-22.7-12.9A4.66,4.66,0,0,1,65.9,124.57Z')
66 | path.cls-17(d='M64,55.15l.16-.1c1.08-4.59,5.2-9.21,10.12-9.21s8.9,4.51,10.06,9a1.3,1.3,0,0,1,.85.31,3.57,3.57,0,0,1,0,5.44,1.34,1.34,0,0,1-1.12.29c-.93,2.79-3.87,7.21-8.26,7.53A6.28,6.28,0,0,0,76.56,72c1.87,3,2.13,3.4,2.13,3.4a3.27,3.27,0,0,1-5.61,3.35s-.37-.6-2-3.27a13.87,13.87,0,0,1-1.74-8.11c-2.31-1.22-4-4-4.83-6.51a1.27,1.27,0,0,1-.46-.24,3.57,3.57,0,0,1,0-5.44Z')
67 | path.cls-5(d='M66.49,131s-2.84-5.2-1-15.16H88.76s.33,7.58-.2,15.16Z')
68 | path.cls-5(d='M83.93,121.9c4.19,0,7.93,0,11.24-.05,17.2-.13,22.38-.17,24.82,4.25.85,1.53,1.4,4.06-.74,7.41-5.43,8.47-24.17,21.74-26.19,23.38l-3.46-4.34c4.48-3.63,14.22-14.81,19.72-21.3-3.42-.18-8.65-.14-14.08-.09-3.33,0-7.09.05-11.31.05a4.66,4.66,0,0,1,0-9.31Z')
69 | path.cls-17(d='M49.23,93.91c0-2.14,2.25-6.46,5.08-11,2.3-3.64,4.95-7.39,7-10.18A2.77,2.77,0,0,1,65.76,76c-2.42,3.31-5,7-7,10.24a38.87,38.87,0,0,0-4,7.34c1,2,7.16,8.21,12.51,13a2.5,2.5,0,0,1,.22.24l.12.13a2.56,2.56,0,0,1,.22.35l.07.11a3.12,3.12,0,0,1,.15.39s0,.07,0,.11,0,.26.07.4a.69.69,0,0,0,0,.13c0,.12,0,.24,0,.37a.86.86,0,0,1,0,.16,1.86,1.86,0,0,1-.07.34,1.29,1.29,0,0,1,0,.19c0,.1-.09.21-.14.31l-.08.18a2,2,0,0,1-.21.3.71.71,0,0,1-.1.14l0,0a0,0,0,0,0,0,0h0A12.09,12.09,0,0,1,63,113.88a2.89,2.89,0,0,1-.91.15c-1.14,0-1.7-1.74-2.1-2.88-.5-1.45,1.51-2.76,2.95-3.26l.11,0C55.08,101.73,49.23,97.1,49.23,93.91Z')
70 | path.cls-19(d='M54.31,83l3,2.25,1.44,1.07c2-3.21,4.54-6.93,7-10.24a2.77,2.77,0,0,0-4.47-3.26C59.26,75.56,56.61,79.31,54.31,83Z')
71 | path.cls-6(d='M54.17,81.9,57.49,84l2.84,1.77.48-.77,1.43-2.31c1-1.64,1.93-3.09,2.61-4.14S66,76.8,66,76.79a3.62,3.62,0,0,0-2.43-5.55,3.23,3.23,0,0,0-.82,0,3.6,3.6,0,0,0-2.82,1.63c-.07.1-1.74,2.66-3.81,6l-1.43,2.3Z')
72 | path.cls-31(d='M57.49,84l2.84,1.77.48-.77,1.43-2.31c1-1.64,1.93-3.09,2.61-4.14S66,76.8,66,76.79a3.62,3.62,0,0,0-2.43-5.55,3.23,3.23,0,0,0-.82,0,5.1,5.1,0,0,0-1.33,2c-.07.17-1.58,4.19-3.4,9.4Z')
73 | path.cls-6(d='M61.39,73.88c1.61,9.28,4.78,32.59,4.09,42H88.76s-.25-6.27-.72-14.12c-.61-10.44-1.6-23.65-2.84-28.64,0-.07,0-.14,0-.2a2.28,2.28,0,0,0-2.22-1.7H63.66A2.29,2.29,0,0,0,61.39,73.88Z')
74 | path.cls-32(d='M68.71,48.52c2.2,2.85,15.22,4.6,15.22-1.79a2.53,2.53,0,0,0-.91-2s-.1,1-.58,1.24A18.17,18.17,0,0,0,78,44.2s.42,1-1.23.75C72,44.32,65.06,43.8,68.71,48.52Z')
75 | path.cls-31(d='M79.35,77.78s.14.9.34,2.3.48,3.36.76,5.52l.41,3.07L88,101.73c-.61-10.44-1.6-23.65-2.84-28.64a2.84,2.84,0,0,0-.93-.48,3.11,3.11,0,0,0-1.91,0,4.45,4.45,0,0,0-2.83,3A4.77,4.77,0,0,0,79.35,77.78Z')
76 | path.cls-32(d='M77.77,46.58c2.38.63,4.43,4.79,4.64,7.25.4,4.54-3,11.66-10.1,11.66-8.43,0-9.24-9-8.83-11.27s1.79-7.3,5.42-7.76C71.07,46.19,75.23,45.91,77.77,46.58Z')
77 | path.cls-17(d='M81.42,72.34s0,0,0,0a3,3,0,0,1,.82-.3,3.63,3.63,0,0,1,3.44,1.06s0,0,0,0a3,3,0,0,1,.24.68c.1.44,1.26,5.71,2.48,11.59,1.28,6.06,2.65,12.76,3,15.48.83,5.67,9.7,10.23,13,11.51l.14.07.32.16.26.19.15.11,0,0,0,0c.71.66,3.49,3.47,3.15,6.88-.14,1.43-.17,1.8-1.52,2.2a6.73,6.73,0,0,1-2.11.2c-1.53,0-2.4-.44-2.25-2,0-.38.76-4,.13-4.71-7.9-3.34-15.53-4.8-16.87-13.9-.36-2.45-1.59-8.51-2.78-14.24C81.9,81.07,80.6,75.11,80.57,75A2.77,2.77,0,0,1,81.42,72.34Z')
78 | path.cls-19(d='M80.57,75c0,.12,1.33,6.08,2.67,12.46l5.21-2C87.23,79.52,86.07,74.25,86,73.81a3,3,0,0,0-.24-.68s0,0,0,0A3.63,3.63,0,0,0,82.26,72a3,3,0,0,0-.82.3s0,0,0,0A2.77,2.77,0,0,0,80.57,75Z')
79 | path.cls-6(d='M88.76,84.52,81.65,86l-.18-.89-.53-2.66c-.38-1.88-.74-3.57-1-4.8s-.43-2-.43-2a3.55,3.55,0,0,1,.08-1.89,3.67,3.67,0,0,1,2.67-2.45A3.65,3.65,0,0,1,86.59,74c0,.12.69,3.1,1.46,7l.53,2.67Z')
80 | rect.cls-33(x='64.87', y='118.47', width='7.79', height='0.5')
81 | path.cls-33(d='M93.57,155c8.34-6.14,18.25-15.7,22.55-21.76,1.47-2.07,1.83-3.84,1.09-5.28-1.11-2.16-4.67-3.35-10-3.35l-8.1,0-9.21,0c-4.25,0-4.25-2-4.25-2.76v-6.31h-.5v6.31c0,2.16,1.6,3.26,4.75,3.26l9.21,0,8.1,0c5.07,0,8.56,1.13,9.57,3.08.65,1.26.29,2.86-1.06,4.76-4.27,6-14.13,15.54-22.44,21.65Z')
82 | path.cls-18(d='M94,154.7a1.34,1.34,0,0,1,.48.55,21.43,21.43,0,0,0,5.17,6.26c1.84,1.26,1.46,2.29-1.33.93s-4.71-2.62-6-3.2-1.83-.62-4.88-2.12c-2.35-1.15.65-3.39,2.17-4.37a1.41,1.41,0,0,1,1.55,0Z')
83 | path.cls-18(d='M92.07,178.82a1.37,1.37,0,0,1,.24.69c.07,1.72,1,5.58,3,6.89,1.88,1.2,1.29,2.12-1.57.9-2.55-1.08-3.94-3.88-4.89-4.88s-1.46-1.26-3.74-3.79c-1.75-1.94,1.87-2.9,3.64-3.25a1.44,1.44,0,0,1,1.43.62Z')
84 | rect.cls-20(x='64.87', y='130.75', width='24.73', height='71.93')
85 | rect.cls-35(x='30.6', y='185.64', width='24.73', height='17.04')
86 | rect.cls-35(x='99.13', y='172.98', width='24.73', height='29.71')
87 | rect.cls-35(x='133.24', y='154.64', width='24.73', height='48.04')
88 | path.cls-36(d='M209.44,205.82H25.76a1.57,1.57,0,0,1-1.57-1.57h0a1.57,1.57,0,0,1,1.57-1.57H209.44a1.57,1.57,0,0,1,1.57,1.57h0A1.57,1.57,0,0,1,209.44,205.82Z')
89 | rect.cls-9(x='139.64', y='97.26', width='13.48', height='4.17')
90 | rect.cls-11(x='154.49', y='91.1', width='1.45', height='36.33')
91 | rect.cls-9(x='144.88', y='103.26', width='8.23', height='4.17')
92 | rect.cls-9(x='131.64', y='103.26', width='11.3', height='4.17')
93 | rect.cls-9(x='147.76', y='109.26', width='5.35', height='4.17')
94 | rect.cls-9(x='147.36', y='121.26', width='5.75', height='4.17')
95 | rect.cls-9(x='130.01', y='121.26', width='13.77', height='4.17')
96 | rect.cls-9(x='225.81', y='35.81', width='24.74', height='4.17')
97 | rect.cls-11(x='251.94', y='35.81', width='1.45', height='36.33')
98 | rect.cls-9(x='222.23', y='41.81', width='28.33', height='4.17')
99 | rect.cls-9(x='231.9', y='47.81', width='18.66', height='4.17')
100 | rect.cls-9(x='247', y='59.81', width='3.56', height='4.17')
101 | rect.cls-9(x='236.27', y='59.81', width='8.52', height='4.17')
102 | rect.cls-37(x='57.92', y='31.61', width='5.54', height='3.04', transform='translate(-5.65 52.63) rotate(-45.01)')
103 | path.cls-38(d='M45.94,47.88h0a2.69,2.69,0,0,0,3.88-.09L61.09,35.52,58.3,32.73,46,44A2.69,2.69,0,0,0,45.94,47.88Z')
104 | path.cls-39(d='M58.69,21.6a13.53,13.53,0,0,0,22,10.53,13.39,13.39,0,0,0,2.21-2.24A15.2,15.2,0,0,0,84,28.27a13.34,13.34,0,0,0,1.71-5.61c0-.35,0-.71,0-1.06A13.55,13.55,0,0,0,72.23,8.05c-.36,0-.72,0-1.07,0a13.39,13.39,0,0,0-5.61,1.72,12.85,12.85,0,0,0-1.61,1.07,13.14,13.14,0,0,0-2.25,2.22A13.45,13.45,0,0,0,58.69,21.6Z')
105 | path.cls-40(d='M65.55,9.81,84,28.27a13.34,13.34,0,0,0,1.71-5.61L71.16,8.09A13.39,13.39,0,0,0,65.55,9.81Z')
106 | path.cls-40(d='M61.69,13.1l19,19a13.39,13.39,0,0,0,2.21-2.24l-19-19A13.14,13.14,0,0,0,61.69,13.1Z')
107 | path.cls-29(d='M61.59,32.23a15.06,15.06,0,0,1,0-21.28h0a15,15,0,1,1,0,21.28Zm2.12-19.15h0a12,12,0,1,0,8.52-3.53A11.95,11.95,0,0,0,63.71,13.08Z')
108 | .auth__form
109 | span.ui-title-2 Registration
110 | form(@submit.prevent="onSubmit")
111 | .form-item(:class="{ errorInput: $v.email.$error }")
112 | input(
113 | type="email"
114 | placeholder="Email"
115 | v-model="email"
116 | :class="{ error: $v.email.$error }"
117 | @change="$v.email.$touch()"
118 | )
119 | .error(v-if="!$v.email.required") Field is required
120 | .error(v-if="!$v.email.email") Email is not correct
121 | .form-item(:class="{ errorInput: $v.password.$error }")
122 | input(
123 | type="password"
124 | placeholder="Password"
125 | v-model="password"
126 | :class="{ error: $v.password.$error }"
127 | @change="$v.password.$touch()"
128 | )
129 | .error(v-if="!$v.password.required") Password is required.
130 | .error(v-if="!$v.password.minLength")
131 | | Password must have at least {{ $v.password.$params.minLength.min }} letters.
132 |
133 | .form-item(:class="{ errorInput: $v.repeatPassword.$error }")
134 | input(
135 | type="password"
136 | placeholder="Repeat your password"
137 | v-model="repeatPassword"
138 | :class="{ error: $v.repeatPassword.$error }"
139 | @change="$v.repeatPassword.$touch()"
140 | )
141 | .error(v-if="!$v.repeatPassword.sameAsPassword") Passwords must be identical.
142 |
143 | .buttons-list
144 | button.button.button-primary(
145 | type="submit"
146 | :class="{ 'button--disable': $v.$invalid }"
147 | ) Registration
148 |
149 | .buttons-list.buttons-list--info
150 | p.typo__p(v-if="submitStatus === 'OK'") Thanks for your submission!
151 | p.typo__p(v-if="submitStatus === 'ERROR'") Please fill the form correctly.
152 | p.typo__p(v-else) {{ submitStatus }}
153 | //- p.typo__p(v-if="submitStatus === 'PENDING'") Sending...
154 |
155 | .buttons-list.buttons-list--info
156 | span Do tou have account?
157 | nuxt-link(to="/login") Enter Here
158 |
159 |
160 |
161 |
214 |
215 |
261 |
--------------------------------------------------------------------------------
/plugins/Vuelidate.js:
--------------------------------------------------------------------------------
1 | import Vue from 'vue'
2 | import Vuelidate from 'vuelidate'
3 |
4 | Vue.use(Vuelidate)
5 |
--------------------------------------------------------------------------------
/plugins/fireauth.js:
--------------------------------------------------------------------------------
1 | import { firebase } from '@/services/firebase.js'
2 |
3 | // Auth Check
4 | export default context => {
5 | const { store } = context
6 |
7 | return new Promise((resolve, reject) => {
8 | firebase.auth().onAuthStateChanged(user => {
9 | if (user) {
10 | // Check Logged
11 | store.dispatch('loggedUser', user),
12 | // Load Tasks
13 | store.dispatch('loadTasks'),
14 | // Load Tags
15 | store.dispatch('loadTags')
16 | }
17 | return resolve()
18 | })
19 | })
20 | }
21 |
--------------------------------------------------------------------------------
/static/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tocoderu/vue2-timelibrary-app/82594c1a6b11f27b1224dcb7ee8a193d78f2a45e/static/favicon.ico
--------------------------------------------------------------------------------
/store/common.js:
--------------------------------------------------------------------------------
1 | export default {
2 | state: {
3 | loading: false,
4 | error: null
5 | },
6 | mutations: {
7 | setLoading (state, payload) {
8 | state.loading = payload
9 | },
10 | setError (state, payload) {
11 | state.error = payload
12 | },
13 | clearError (state) {
14 | state.error = null
15 | }
16 | },
17 | actions: {
18 | // Show loading
19 | setLoading ({commit}, payload) {
20 | commit('setLoading', payload)
21 | },
22 | // Show error
23 | setError ({commit}, payload) {
24 | commit('setError', payload)
25 | },
26 | // Clear error
27 | clearError ({commit}) {
28 | commit('clearError')
29 | }
30 | },
31 | getters: {
32 | // Get load status
33 | loading (state) {
34 | return state.loading
35 | },
36 | // Get error message
37 | error (state) {
38 | return state.error
39 | }
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/store/index.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * TimeLibrary v1.0.4 - web application
3 | * https://github.com/vedees/timelibrary
4 | * Copyright (C) 2018 Vedegis Evgenii
5 | * @license GPL-3.0
6 | * https://github.com/vedees/timelibrary/master/LICENSE
7 | */
8 |
9 | import Vue from 'vue'
10 | import Vuex from 'vuex'
11 |
12 | // Common
13 | import common from './common'
14 | import message from './message'
15 | // Private
16 | import user from './private/user'
17 | import time from './private/time'
18 | import tasks from './private/tasks'
19 | import tags from './private/tags'
20 |
21 | Vue.use(Vuex)
22 |
23 | const store = () => new Vuex.Store({
24 | modules: {
25 | common,
26 | message,
27 | user,
28 | time,
29 | tasks,
30 | tags
31 | }
32 | })
33 |
34 | export default store
--------------------------------------------------------------------------------
/store/message.js:
--------------------------------------------------------------------------------
1 | export default {
2 | state: {
3 | message: {
4 | show: false,
5 | // error & success (TODO: warrning)
6 | context: 'success',
7 | title: ''
8 | }
9 | },
10 | mutations: {
11 | setSuccessMessage (state, payload) {
12 | state.message.show = true
13 | state.message.context = 'success'
14 | state.message.title = payload
15 | },
16 | setErrorMessage (state, payload) {
17 | state.message.show = true
18 | state.message.context = 'error'
19 | state.message.title = payload
20 | },
21 | unsetMessage (state) {
22 | state.message.show = false
23 | }
24 | },
25 | actions: {
26 | setErrorMessage ({commit}, payload) {
27 | commit('setErrorMessage', payload)
28 | },
29 | setSuccessMessage ({commit}, payload) {
30 | commit('setSuccessMessage', payload)
31 | // Mutations cant be async
32 | setTimeout(() => { commit('unsetMessage') }, 3000)
33 | }
34 | },
35 | getters: {
36 | message (state) {
37 | return state.message
38 | }
39 | }
40 | }
41 |
--------------------------------------------------------------------------------