From 4adf3c3ae5ecfbc9ab4adf4bcefe82fa620df9a1 Mon Sep 17 00:00:00 2001 From: Jaroslav Drzik Date: Sun, 20 Feb 2022 15:13:58 +0100 Subject: [PATCH] Terms js --- composer.json | 3 +- composer.lock | 253 ++- src/scripts/App.vue | 7 +- src/scripts/components/Terms.js | 2557 ++++++++++++++++++++++++ src/scripts/components/Translation.vue | 201 ++ 5 files changed, 3017 insertions(+), 4 deletions(-) create mode 100644 src/scripts/components/Terms.js diff --git a/composer.json b/composer.json index 2c37eb7..cced47e 100755 --- a/composer.json +++ b/composer.json @@ -19,7 +19,8 @@ "nette/security": "^3.1", "nette/utils": "^3.2", "latte/latte": "^2.9", - "tracy/tracy": "^2.8" + "tracy/tracy": "^2.8", + "tomaj/nette-api": "^2.6" }, "require-dev": { "nette/tester": "^2.3", diff --git a/composer.lock b/composer.lock index ba70ae4..d907f63 100755 --- a/composer.lock +++ b/composer.lock @@ -4,8 +4,78 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "730f45b115d774a1743b00e7ce7f6626", + "content-hash": "854c729bf7a229c060f2e5b62311fde5", "packages": [ + { + "name": "justinrainbow/json-schema", + "version": "5.2.11", + "source": { + "type": "git", + "url": "https://github.com/justinrainbow/json-schema.git", + "reference": "2ab6744b7296ded80f8cc4f9509abbff393399aa" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/justinrainbow/json-schema/zipball/2ab6744b7296ded80f8cc4f9509abbff393399aa", + "reference": "2ab6744b7296ded80f8cc4f9509abbff393399aa", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "~2.2.20||~2.15.1", + "json-schema/json-schema-test-suite": "1.2.0", + "phpunit/phpunit": "^4.8.35" + }, + "bin": [ + "bin/validate-json" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "JsonSchema\\": "src/JsonSchema/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Bruno Prieto Reis", + "email": "bruno.p.reis@gmail.com" + }, + { + "name": "Justin Rainbow", + "email": "justin.rainbow@gmail.com" + }, + { + "name": "Igor Wiedler", + "email": "igor@wiedler.ch" + }, + { + "name": "Robert Schönthal", + "email": "seroscho@googlemail.com" + } + ], + "description": "A library to validate a json schema.", + "homepage": "https://github.com/justinrainbow/json-schema", + "keywords": [ + "json", + "schema" + ], + "support": { + "issues": "https://github.com/justinrainbow/json-schema/issues", + "source": "https://github.com/justinrainbow/json-schema/tree/5.2.11" + }, + "time": "2021-07-22T09:24:00+00:00" + }, { "name": "latte/latte", "version": "v2.10.8", @@ -90,6 +160,74 @@ }, "time": "2022-01-04T14:13:28+00:00" }, + { + "name": "league/fractal", + "version": "0.17.0", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/fractal.git", + "reference": "a0b350824f22fc2fdde2500ce9d6851a3f275b0e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/fractal/zipball/a0b350824f22fc2fdde2500ce9d6851a3f275b0e", + "reference": "a0b350824f22fc2fdde2500ce9d6851a3f275b0e", + "shasum": "" + }, + "require": { + "php": ">=5.4" + }, + "require-dev": { + "doctrine/orm": "^2.5", + "illuminate/contracts": "~5.0", + "mockery/mockery": "~0.9", + "pagerfanta/pagerfanta": "~1.0.0", + "phpunit/phpunit": "~4.0", + "squizlabs/php_codesniffer": "~1.5", + "zendframework/zend-paginator": "~2.3" + }, + "suggest": { + "illuminate/pagination": "The Illuminate Pagination component.", + "pagerfanta/pagerfanta": "Pagerfanta Paginator", + "zendframework/zend-paginator": "Zend Framework Paginator" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "0.13-dev" + } + }, + "autoload": { + "psr-4": { + "League\\Fractal\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Phil Sturgeon", + "email": "me@philsturgeon.uk", + "homepage": "http://philsturgeon.uk/", + "role": "Developer" + } + ], + "description": "Handle the output of complex data structures ready for API output.", + "homepage": "http://fractal.thephpleague.com/", + "keywords": [ + "api", + "json", + "league", + "rest" + ], + "support": { + "issues": "https://github.com/thephpleague/fractal/issues", + "source": "https://github.com/thephpleague/fractal/tree/master" + }, + "time": "2017-06-12T11:04:56+00:00" + }, { "name": "nette/application", "version": "v3.1.5", @@ -1323,6 +1461,119 @@ }, "time": "2022-01-24T11:29:14+00:00" }, + { + "name": "tomaj/nette-api", + "version": "2.6.0", + "source": { + "type": "git", + "url": "https://github.com/tomaj/nette-api.git", + "reference": "76df023fcdfc19a5cfb6169e2c5c1c4382e30e1e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/tomaj/nette-api/zipball/76df023fcdfc19a5cfb6169e2c5c1c4382e30e1e", + "reference": "76df023fcdfc19a5cfb6169e2c5c1c4382e30e1e", + "shasum": "" + }, + "require": { + "ext-curl": "*", + "ext-filter": "*", + "ext-json": "*", + "ext-session": "*", + "justinrainbow/json-schema": "^5.2", + "league/fractal": "^0.17.0", + "nette/application": "^3.0", + "nette/http": "^3.0", + "php": ">= 7.1.0", + "tomaj/nette-bootstrap-form": "^2.0", + "tracy/tracy": "^2.6" + }, + "replace": { + "phpspec/prophecy": "*" + }, + "require-dev": { + "latte/latte": "^2.4", + "nette/di": "^3.0", + "phpunit/phpunit": ">7.0", + "squizlabs/php_codesniffer": "^3.2", + "symfony/yaml": "^4.4|5.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Tomaj\\NetteApi\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Tomas Majer", + "email": "tomasmajer@gmail.com", + "homepage": "http://www.tomaj.sk/" + } + ], + "description": "Nette api", + "keywords": [ + "api", + "nette" + ], + "support": { + "issues": "https://github.com/tomaj/nette-api/issues", + "source": "https://github.com/tomaj/nette-api/tree/2.6.0" + }, + "time": "2021-10-08T08:50:27+00:00" + }, + { + "name": "tomaj/nette-bootstrap-form", + "version": "2.0.1", + "source": { + "type": "git", + "url": "https://github.com/tomaj/nette-bootstrap-form.git", + "reference": "c4aeee158ede5c64cf2dab588ee181135b8b2e92" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/tomaj/nette-bootstrap-form/zipball/c4aeee158ede5c64cf2dab588ee181135b8b2e92", + "reference": "c4aeee158ede5c64cf2dab588ee181135b8b2e92", + "shasum": "" + }, + "require": { + "nette/forms": "^3.0", + "php": ">= 7.1.0" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL-2.0-or-later" + ], + "authors": [ + { + "name": "Tomas Majer", + "email": "tomasmajer@gmail.com", + "homepage": "http://www.tomaj.sk/" + } + ], + "description": "Nette bootstrap form renderer", + "keywords": [ + "bootstrap", + "form", + "nette", + "renderer" + ], + "support": { + "issues": "https://github.com/tomaj/nette-bootstrap-form/issues", + "source": "https://github.com/tomaj/nette-bootstrap-form/tree/2.0.1" + }, + "time": "2022-01-11T10:41:18+00:00" + }, { "name": "tracy/tracy", "version": "v2.9.0", diff --git a/src/scripts/App.vue b/src/scripts/App.vue index 1e602f8..905d781 100644 --- a/src/scripts/App.vue +++ b/src/scripts/App.vue @@ -38,7 +38,8 @@ - + + + + \ No newline at end of file