diff --git a/composer.json b/composer.json index 1f192db..d6c917a 100644 --- a/composer.json +++ b/composer.json @@ -23,47 +23,45 @@ } ], "require": { - "typo3/minimal": "^12.4", - "typo3/cms-adminpanel": "^12.4", - "typo3/cms-backend": "^12.4", - "typo3/cms-belog": "^12.4", - "typo3/cms-beuser": "^12.4", - "typo3/cms-core": "^12.4", - "typo3/cms-dashboard": "^12.4", - "typo3/cms-extbase": "^12.4", - "typo3/cms-extensionmanager": "^12.4", - "typo3/cms-felogin": "^12.4", - "typo3/cms-filelist": "^12.4", - "typo3/cms-filemetadata": "^12.4", - "typo3/cms-fluid": "^12.4", - "typo3/cms-fluid-styled-content": "^12.4", - "typo3/cms-form": "^12.4", - "typo3/cms-frontend": "^12.4", - "typo3/cms-indexed-search": "^12.4", - "typo3/cms-info": "^12.4", - "typo3/cms-install": "^12.4", - "typo3/cms-lowlevel": "^12.4", - "typo3/cms-opendocs": "^12.4", - "typo3/cms-recordlist": "^12.4", - "typo3/cms-recycler": "^12.4", - "typo3/cms-redirects": "^12.4", - "typo3/cms-reports": "^12.4", - "typo3/cms-rte-ckeditor": "^12.4", - "typo3/cms-scheduler": "^12.4", - "typo3/cms-seo": "^12.4", - "typo3/cms-setup": "^12.4", - "typo3/cms-sys-note": "^12.4", - "typo3/cms-tstemplate": "^12.4", - "typo3/cms-viewpage": "^12.4", - - "ichhabrecht/filefill": "^4.3", - "helhum/dotenv-connector": "^3.1", - "helhum/typo3-console": "^8.2", - "bk2k/bootstrap-package": "^15.0", + "cloonar-typo3/base": "@dev", + "friendsoftypo3/content-blocks": "^1.1", "georgringer/news": "^12.2", "georgringer/numbered-pagination": "^2.1", - "tpwd/ke_search": "^6.1", - "cloonar-typo3/base-design": "@dev" + "helhum/dotenv-connector": "^3.1", + "helhum/typo3-console": "^8.2", + "typo3/cms-adminpanel": "^13.4", + "typo3/cms-backend": "^13.4", + "typo3/cms-belog": "^13.4", + "typo3/cms-beuser": "^13.4", + "typo3/cms-core": "^13.4", + "typo3/cms-dashboard": "^13.4", + "typo3/cms-extbase": "^13.4", + "typo3/cms-extensionmanager": "^13.4", + "typo3/cms-felogin": "^13.4", + "typo3/cms-filelist": "^13.4", + "typo3/cms-filemetadata": "^13.4", + "typo3/cms-fluid": "^13.4", + "typo3/cms-fluid-styled-content": "^13.4", + "typo3/cms-form": "^13.4", + "typo3/cms-frontend": "^13.4", + "typo3/cms-indexed-search": "^13.4", + "typo3/cms-info": "^13.4", + "typo3/cms-install": "^13.4", + "typo3/cms-lowlevel": "^13.4", + "typo3/cms-opendocs": "^13.4", + "typo3/cms-recordlist": "^13.4", + "typo3/cms-recycler": "^13.4", + "typo3/cms-redirects": "^13.4", + "typo3/cms-reports": "^13.4", + "typo3/cms-rte-ckeditor": "^13.4", + "typo3/cms-scheduler": "^13.4", + "typo3/cms-seo": "^13.4", + "typo3/cms-setup": "^13.4", + "typo3/cms-sys-note": "^13.4", + "typo3/cms-tstemplate": "^13.4", + "typo3/cms-viewpage": "^13.4", + "typo3/minimal": "^13.4", + "wapplersystems/ws-scss": "^13.0" }, "require-dev": { "deployer/deployer": "^7.4", @@ -71,8 +69,7 @@ "phpmd/phpmd": "^2.10", "phpstan/phpstan": "^1.8", "rector/rector": "0.13.4", - "squizlabs/php_codesniffer": "^3.6", - "vimeo/psalm": "^4.7" + "squizlabs/php_codesniffer": "^3.6" }, "scripts":{ "pre-autoload-dump": [ diff --git a/config/sites/default/config.yaml b/config/sites/default/config.yaml index 96bf9b8..18b5f37 100644 --- a/config/sites/default/config.yaml +++ b/config/sites/default/config.yaml @@ -1,4 +1,8 @@ base: / +dependencies: + - georgringer/news + - cloonar-typo3/base + - typo3/redirects languages: - title: German diff --git a/config/system/settings.php b/config/system/settings.php index 65c9fca..5c7b495 100644 --- a/config/system/settings.php +++ b/config/system/settings.php @@ -4,12 +4,10 @@ return [ 'HTTP' => [ 'Response' => [ 'Headers' => [ - 'csp' => 'Content-Security-Policy: default-src \'self\' *.gstatic.com cdnjs.cloudflare.com piwik.wohnservice-wien.at *.ytimg.com *.googlevideo.com *.youtube-nocookie.com *.googleapis.com *.wien.gv.at *.google.com \'unsafe-eval\' \'unsafe-inline\'', ], ], ], 'debug' => false, - 'explicitADmode' => 'explicitAllow', 'installToolPassword' => '$pbkdf2-sha256$25000$J4PZzLyS4haJCD.ajwNIDw$kj//RtM.xTPuXDa2/qwr/CiLIUO6MMbuI367AHEs6hU', 'passwordHashing' => [ 'className' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\BcryptPasswordHash', @@ -47,24 +45,12 @@ return [ 'loginLogo' => '', 'loginLogoAlt' => '', ], - 'bootstrap_package' => [ - 'disableCssProcessing' => '0', - 'disableFontLoader' => '1', - 'disableGoogleFontCaching' => '0', - 'disablePageTsBackendLayouts' => '0', - 'disablePageTsContentElements' => '0', - 'disablePageTsRTE' => '0', - 'disablePageTsTCADefaults' => '0', - 'disablePageTsTCEFORM' => '0', - 'disablePageTsTCEMAIN' => '0', - ], 'extensionmanager' => [ 'automaticInstallation' => '1', 'offlineMode' => '0', ], 'indexed_search' => [ 'catdoc' => '/usr/bin/', - 'debugMode' => '0', 'deleteFromIndexAfterEditing' => '1', 'disableFrontendIndexing' => '0', 'enableMetaphoneSearch' => '1', @@ -84,21 +70,6 @@ return [ 'useMysqlFulltext' => '0', 'xlhtml' => '/usr/bin/', ], - 'ke_search' => [ - 'allowEmptySearch' => '1', - 'enableExplicitAnd' => '0', - 'enablePartSearch' => '1', - 'finishNotification' => '0', - 'loglevel' => 'ERROR', - 'multiplyValueToTitle' => '1', - 'notificationRecipient' => '', - 'notificationSender' => 'no_reply@domain.com', - 'notificationSubject' => '[KE_SEARCH INDEXER NOTIFICATION]', - 'pathCatdoc' => '/usr/bin/', - 'pathPdfinfo' => '/usr/bin/', - 'pathPdftotext' => '/usr/bin/', - 'searchWordLength' => '4', - ], 'news' => [ 'advancedMediaPreview' => '1', 'archiveDate' => 'date', @@ -110,6 +81,7 @@ return [ 'hidePageTreeForAdministrationModule' => '0', 'manualSorting' => '0', 'mediaPreview' => 'false', + 'pageTreePluginPreview' => '1', 'prependAtCopy' => '1', 'resourceFolderImporter' => '/news_import', 'rteForTeaser' => '0', @@ -119,6 +91,10 @@ return [ 'storageUidImporter' => '1', 'tagPid' => '1', ], + 'redirects' => [ + 'showCheckIntegrityInfoInReports' => '1', + 'showCheckIntegrityInfoInReportsSeconds' => '86400', + ], 'scheduler' => [ 'maxLifetime' => '1440', 'showSampleTasks' => '1', @@ -160,6 +136,10 @@ return [ 'displayErrors' => 0, 'encryptionKey' => 'ef791a3dc7a18e20d575d6ebe666bcfadc3be7744f66ef14e863fcb76a8baffb5f7dea3e1d11134d5ed745bf84aa65f8', 'exceptionalErrors' => 4096, + 'features' => [ + 'security.frontend.enforceContentSecurityPolicy' => true, + 'security.frontend.reportContentSecurityPolicy' => true, + ], 'phpTimeZone' => 'Europe/Vienna', 'sitename' => 'Managed Typo3', 'systemMaintainers' => [ diff --git a/packages/base-design/Classes/Domain/Finishers/GetResponseFinisher.php b/packages/base-design/Classes/Domain/Finishers/GetResponseFinisher.php deleted file mode 100644 index 4be1d8f..0000000 --- a/packages/base-design/Classes/Domain/Finishers/GetResponseFinisher.php +++ /dev/null @@ -1,121 +0,0 @@ - '', - 'apiKey' => '', - 'campaignId' => '', - 'email' => '', - 'firstname' => '', - 'lastname' => '', - 'company' => '', - 'register' => false, - ]; - - /** - * Executes this finisher - * @see AbstractFinisher::execute() - * - * @throws FinisherException - */ - protected function executeInternal() - { - - $notifyEmail = $this->parseOption('notifyEmail'); - $apiKey = $this->parseOption('apiKey'); - $campaignId = $this->parseOption('campaignId'); - $email = $this->parseOption('email'); - $firstname = $this->parseOption('firstname'); - $lastname = $this->parseOption('lastname'); - $company = $this->parseOption('compandy'); - $register = $this->parseOption('register'); - - if ($register != "1") { - return; - } - - if (empty($notifyEmail)) { - throw new FinisherException('The option "notifyEmail" must be set for the GetResponseFinisher.', 1681331285); - } - if (empty($apiKey)) { - throw new FinisherException('The option "apiKey" must be set for the GetResponseFinisher.', 1681331286); - } - if (empty($campaignId)) { - throw new FinisherException('The option "campaignId" must be set for the GetResponseFinisher.', 1681331287); - } - if (empty($email)) { - throw new FinisherException('The option "email" must be set for the GetResponseFinisher.', 1681331288); - } - if (empty($firstname)) { - throw new FinisherException('The option "firstname" must be set for the GetResponseFinisher.', 1681331289); - } - if (empty($lastname)) { - throw new FinisherException('The option "lastname" must be set for the GetResponseFinisher.', 1681331290); - } - - $data = [ - "name" => $firstname.' '.$lastname, - "email" => $email, - "campaign" => [ - "campaignId" => $campaignId - ] - ]; - - - $request = GeneralUtility::makeInstance(RequestFactory::class); - $response = $request->request( - self::GET_RESPONSE_REQUEST_URL.'/contacts', - 'POST', - [ - 'headers' => [ - 'X-Auth-Token' => 'api-key '.$apiKey, - 'Content-Type' => 'application/json' - ], - 'body' => json_encode($data) - ] - ); - - if ($response->getStatusCode() == 200) { - $mail = GeneralUtility::makeInstance(MailMessage::class); - $mail - ->from(new Address('noreply@cloonar.dev')) - ->to( - new Address($notifyEmail) - ) - ->subject('Newsletter Anmeldung') - ->text('Vorname: '.$firstname.'\r\nNachname: '.$lastname.'\r\nFirma: '.$company.'\r\nEmail: '.$email) - ->send(); - } - } - - /** - * @param $string - * @return string - */ - protected static function escapeString($string) - { - $string = htmlspecialchars($string); - return (string)$string; - } -} diff --git a/packages/base-design/Configuration/Form/Setup.yaml b/packages/base-design/Configuration/Form/Setup.yaml deleted file mode 100644 index 3c36954..0000000 --- a/packages/base-design/Configuration/Form/Setup.yaml +++ /dev/null @@ -1,7 +0,0 @@ -TYPO3: - CMS: - Form: - persistenceManager: - allowSaveToExtensionPaths: true - allowedExtensionPaths: - 1727355960: EXT:base_design/Resources/Private/Forms/ diff --git a/packages/base-design/Configuration/RTE/Default.yaml b/packages/base-design/Configuration/RTE/Default.yaml deleted file mode 100644 index e8d49af..0000000 --- a/packages/base-design/Configuration/RTE/Default.yaml +++ /dev/null @@ -1,98 +0,0 @@ -imports: - - { resource: "EXT:rte_ckeditor/Configuration/RTE/Processing.yaml" } - - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Base.yaml" } - - { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml" } - -editor: - externalPlugins: - bootstrappackage_address: - resource: "EXT:bootstrap_package/Resources/Public/CKEditor/Plugins/Address/plugin.min.js" - bootstrappackage_box: - resource: "EXT:bootstrap_package/Resources/Public/CKEditor/Plugins/Box/plugin.min.js" - bootstrappackage_columns: - resource: "EXT:bootstrap_package/Resources/Public/CKEditor/Plugins/Columns/plugin.min.js" - bootstrappackage_indent: - resource: "EXT:bootstrap_package/Resources/Public/CKEditor/Plugins/Indent/plugin.min.js" - bootstrappackage_table: - resource: "EXT:bootstrap_package/Resources/Public/CKEditor/Plugins/Table/plugin.min.js" - - config: - contentsCss: "EXT:bootstrap_package/Resources/Public/Css/bootstrap5-rte.min.css" - - stylesSet: - - { name: "Small", element: "small" } - - - { name: "Table", element: "table", attributes: { 'class': 'table' } } - - - { name: "Button Default", element: "a", attributes: { 'class': 'btn btn-default' } } - - - { name: "Button Outline Default", element: "a", attributes: { 'class': 'btn btn-outline-default' } } - - - { name: "Link Address", element: "a", attributes: { 'class': 'link-address' } } - - - { name: "List Unstyled", element: "ul", attributes: { 'class': 'list-unstyled' } } - - - { name: "Lowercased text", element: "span", attributes: { 'class': 'text-lowercase' } } - - { name: "Uppercased text", element: "span", attributes: { 'class': 'text-uppercase' } } - - { name: "Capitalized text", element: "span", attributes: { 'class': 'text-capitalize' } } - - { name: "H1", element: "span", attributes: { 'class': 'h1' } } - - toolbarGroups: - - { name: styles, groups: [ format, styles ] } - - { name: basicstyles, groups: [ basicstyles ] } - - { name: paragraph, groups: [ list, indent, blocks, align ] } - - "/" - - { name: links, groups: [ links ] } - - { name: clipboard, groups: [ clipboard, cleanup, undo ] } - - { name: editing, groups: [ spellchecker ] } - - { name: insert, groups: [ insert ] } - - { name: tools, groups: [ table, specialchar ] } - - { name: document, groups: [ mode ] } - - format_tags: "p;h1;h2;h3;h4;h5;pre" - - justifyClasses: - - text-left - - text-center - - text-right - - text-justify - - extraPlugins: - - justify - - autolink - - bootstrappackage_address - - bootstrappackage_box - - bootstrappackage_columns - - bootstrappackage_indent - - bootstrappackage_table - - removePlugins: - - image - - removeButtons: - - Anchor - - Underline - - Strike - -classesAnchor: - page: - class: 'link-page' - type: 'page' - folder: - class: 'link-folder' - type: 'folder' - file: - class: 'link-file' - type: 'file' - external: - class: 'link-external' - type: 'url' - mail: - class: 'link-mail' - type: 'mail' - -buttons: - link: - properties: - class: - allowedClasses: 'link-address, link-arrow, link-page, link-folder, link-file, link-external, link-mail' diff --git a/packages/base-design/Configuration/TCA/Overrides/101_sys_template.php b/packages/base-design/Configuration/TCA/Overrides/101_sys_template.php deleted file mode 100644 index f3bad94..0000000 --- a/packages/base-design/Configuration/TCA/Overrides/101_sys_template.php +++ /dev/null @@ -1,20 +0,0 @@ - 'Hero', - 'value' => 'hero', - 'icon' => 'favicon', - 'group' => 'general', - ], - 'hero', - 'after' -); - -// Assign Icon -$GLOBALS['TCA']['tt_content']['ctrl']['typeicon_classes']['hero'] = 'favicon'; - -// Configure element type -$GLOBALS['TCA']['tt_content']['types']['hero'] = array_replace_recursive( - $GLOBALS['TCA']['tt_content']['types']['hero'], - [ - 'previewRenderer' => \TYPO3\CMS\Frontend\Preview\TextpicPreviewRenderer::class, - 'showitem' => ' - --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general, - --palette--;;general, - --palette--;;headers, - bodytext;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:bodytext_formlabel, - --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.images, - image, - --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.appearance, - --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:language, - --palette--;;language, - --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access, - --palette--;;hidden, - --palette--;;access, - --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:categories, - categories, - --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:notes, - rowDescription, - --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended, - ', - 'columnsOverrides' => [ - 'bodytext' => [ - 'config' => [ - 'enableRichtext' => true, - ], - ], - ], - ] -); diff --git a/packages/base-design/Configuration/TCA/Overrides/500_cropping.php b/packages/base-design/Configuration/TCA/Overrides/500_cropping.php deleted file mode 100644 index 55eaec2..0000000 --- a/packages/base-design/Configuration/TCA/Overrides/500_cropping.php +++ /dev/null @@ -1,148 +0,0 @@ - 'LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:option.default', - 'allowedAspectRatios' => [ - '16:9' => [ - 'title' => 'LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:ratio.16_9', - 'value' => 16 / 9 - ], - '4:3' => [ - 'title' => 'LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:ratio.4_3', - 'value' => 4 / 3 - ], - '1:1' => [ - 'title' => 'LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:ratio.1_1', - 'value' => 1.0 - ], - 'NaN' => [ - 'title' => 'LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:ratio.free', - 'value' => 0.0 - ], - ], - 'selectedRatio' => 'NaN', - 'cropArea' => [ - 'x' => 0.0, - 'y' => 0.0, - 'width' => 1.0, - 'height' => 1.0, - ] -]; -$xlargeCropSettings = $defaultCropSettings; -$xlargeCropSettings['title'] = 'LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:option.xlarge'; -$largeCropSettings = $defaultCropSettings; -$largeCropSettings['title'] = 'LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:option.large'; -$mediumCropSettings = $defaultCropSettings; -$mediumCropSettings['title'] = 'LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:option.medium'; -$smallCropSettings = $defaultCropSettings; -$smallCropSettings['title'] = 'LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:option.small'; -$extrasmallCropSettings = $defaultCropSettings; -$extrasmallCropSettings['title'] = 'LLL:EXT:bootstrap_package/Resources/Private/Language/Backend.xlf:option.extrasmall'; - -// Content Element Background Image -$GLOBALS['TCA']['tt_content']['columns']['background_image']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['default'] = $defaultCropSettings; -$GLOBALS['TCA']['tt_content']['columns']['background_image']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['xlarge'] = $xlargeCropSettings; -$GLOBALS['TCA']['tt_content']['columns']['background_image']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['large'] = $largeCropSettings; -$GLOBALS['TCA']['tt_content']['columns']['background_image']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['medium'] = $mediumCropSettings; -$GLOBALS['TCA']['tt_content']['columns']['background_image']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['small'] = $smallCropSettings; -$GLOBALS['TCA']['tt_content']['columns']['background_image']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['extrasmall'] = $extrasmallCropSettings; - -// Image content element -$GLOBALS['TCA']['tt_content']['types']['image']['columnsOverrides']['image']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['default'] = $defaultCropSettings; -$GLOBALS['TCA']['tt_content']['types']['image']['columnsOverrides']['image']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['xlarge'] = $xlargeCropSettings; -$GLOBALS['TCA']['tt_content']['types']['image']['columnsOverrides']['image']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['large'] = $largeCropSettings; -$GLOBALS['TCA']['tt_content']['types']['image']['columnsOverrides']['image']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['medium'] = $mediumCropSettings; -$GLOBALS['TCA']['tt_content']['types']['image']['columnsOverrides']['image']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['small'] = $smallCropSettings; -$GLOBALS['TCA']['tt_content']['types']['image']['columnsOverrides']['image']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['extrasmall'] = $extrasmallCropSettings; - -// Textpic content element -$GLOBALS['TCA']['tt_content']['types']['textpic']['columnsOverrides']['image']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['default'] = $defaultCropSettings; -$GLOBALS['TCA']['tt_content']['types']['textpic']['columnsOverrides']['image']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['xlarge'] = $xlargeCropSettings; -$GLOBALS['TCA']['tt_content']['types']['textpic']['columnsOverrides']['image']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['large'] = $largeCropSettings; -$GLOBALS['TCA']['tt_content']['types']['textpic']['columnsOverrides']['image']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['medium'] = $mediumCropSettings; -$GLOBALS['TCA']['tt_content']['types']['textpic']['columnsOverrides']['image']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['small'] = $smallCropSettings; -$GLOBALS['TCA']['tt_content']['types']['textpic']['columnsOverrides']['image']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['extrasmall'] = $extrasmallCropSettings; - -// Media content element -$GLOBALS['TCA']['tt_content']['types']['media']['columnsOverrides']['assets']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['default'] = $defaultCropSettings; -$GLOBALS['TCA']['tt_content']['types']['media']['columnsOverrides']['assets']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['xlarge'] = $xlargeCropSettings; -$GLOBALS['TCA']['tt_content']['types']['media']['columnsOverrides']['assets']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['large'] = $largeCropSettings; -$GLOBALS['TCA']['tt_content']['types']['media']['columnsOverrides']['assets']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['medium'] = $mediumCropSettings; -$GLOBALS['TCA']['tt_content']['types']['media']['columnsOverrides']['assets']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['small'] = $smallCropSettings; -$GLOBALS['TCA']['tt_content']['types']['media']['columnsOverrides']['assets']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['extrasmall'] = $extrasmallCropSettings; - -// Textmedia content element -$GLOBALS['TCA']['tt_content']['types']['textmedia']['columnsOverrides']['assets']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['default'] = $defaultCropSettings; -$GLOBALS['TCA']['tt_content']['types']['textmedia']['columnsOverrides']['assets']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['xlarge'] = $xlargeCropSettings; -$GLOBALS['TCA']['tt_content']['types']['textmedia']['columnsOverrides']['assets']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['large'] = $largeCropSettings; -$GLOBALS['TCA']['tt_content']['types']['textmedia']['columnsOverrides']['assets']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['medium'] = $mediumCropSettings; -$GLOBALS['TCA']['tt_content']['types']['textmedia']['columnsOverrides']['assets']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['small'] = $smallCropSettings; -$GLOBALS['TCA']['tt_content']['types']['textmedia']['columnsOverrides']['assets']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['extrasmall'] = $extrasmallCropSettings; - -// Card Group -$GLOBALS['TCA']['tx_bootstrappackage_card_group_item']['types']['1']['columnsOverrides']['image']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['default'] = $defaultCropSettings; -$GLOBALS['TCA']['tx_bootstrappackage_card_group_item']['types']['1']['columnsOverrides']['image']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['xlarge'] = $xlargeCropSettings; -$GLOBALS['TCA']['tx_bootstrappackage_card_group_item']['types']['1']['columnsOverrides']['image']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['large'] = $largeCropSettings; -$GLOBALS['TCA']['tx_bootstrappackage_card_group_item']['types']['1']['columnsOverrides']['image']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['medium'] = $mediumCropSettings; -$GLOBALS['TCA']['tx_bootstrappackage_card_group_item']['types']['1']['columnsOverrides']['image']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['small'] = $smallCropSettings; -$GLOBALS['TCA']['tx_bootstrappackage_card_group_item']['types']['1']['columnsOverrides']['image']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['extrasmall'] = $extrasmallCropSettings; - -// Accordion -$GLOBALS['TCA']['tx_bootstrappackage_accordion_item']['types']['1']['columnsOverrides']['media']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['default'] = $defaultCropSettings; -$GLOBALS['TCA']['tx_bootstrappackage_accordion_item']['types']['1']['columnsOverrides']['media']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['xlarge'] = $xlargeCropSettings; -$GLOBALS['TCA']['tx_bootstrappackage_accordion_item']['types']['1']['columnsOverrides']['media']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['large'] = $largeCropSettings; -$GLOBALS['TCA']['tx_bootstrappackage_accordion_item']['types']['1']['columnsOverrides']['media']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['medium'] = $mediumCropSettings; -$GLOBALS['TCA']['tx_bootstrappackage_accordion_item']['types']['1']['columnsOverrides']['media']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['small'] = $smallCropSettings; -$GLOBALS['TCA']['tx_bootstrappackage_accordion_item']['types']['1']['columnsOverrides']['media']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['extrasmall'] = $extrasmallCropSettings; - -// Carousel Background Image -$GLOBALS['TCA']['tx_bootstrappackage_carousel_item']['columns']['background_image']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['default'] = $defaultCropSettings; -$GLOBALS['TCA']['tx_bootstrappackage_carousel_item']['columns']['background_image']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['xlarge'] = $xlargeCropSettings; -$GLOBALS['TCA']['tx_bootstrappackage_carousel_item']['columns']['background_image']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['large'] = $largeCropSettings; -$GLOBALS['TCA']['tx_bootstrappackage_carousel_item']['columns']['background_image']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['medium'] = $mediumCropSettings; -$GLOBALS['TCA']['tx_bootstrappackage_carousel_item']['columns']['background_image']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['small'] = $smallCropSettings; -$GLOBALS['TCA']['tx_bootstrappackage_carousel_item']['columns']['background_image']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['extrasmall'] = $extrasmallCropSettings; - -// Carousel Image -$GLOBALS['TCA']['tx_bootstrappackage_carousel_item']['columns']['image']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['default'] = $defaultCropSettings; -$GLOBALS['TCA']['tx_bootstrappackage_carousel_item']['columns']['image']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['xlarge'] = $xlargeCropSettings; -$GLOBALS['TCA']['tx_bootstrappackage_carousel_item']['columns']['image']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['large'] = $largeCropSettings; -$GLOBALS['TCA']['tx_bootstrappackage_carousel_item']['columns']['image']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['medium'] = $mediumCropSettings; -$GLOBALS['TCA']['tx_bootstrappackage_carousel_item']['columns']['image']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['small'] = $smallCropSettings; -$GLOBALS['TCA']['tx_bootstrappackage_carousel_item']['columns']['image']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['extrasmall'] = $extrasmallCropSettings; - -// Tab -$GLOBALS['TCA']['tx_bootstrappackage_tab_item']['types']['1']['columnsOverrides']['media']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['default'] = $defaultCropSettings; -$GLOBALS['TCA']['tx_bootstrappackage_tab_item']['types']['1']['columnsOverrides']['media']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['xlarge'] = $xlargeCropSettings; -$GLOBALS['TCA']['tx_bootstrappackage_tab_item']['types']['1']['columnsOverrides']['media']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['large'] = $largeCropSettings; -$GLOBALS['TCA']['tx_bootstrappackage_tab_item']['types']['1']['columnsOverrides']['media']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['medium'] = $mediumCropSettings; -$GLOBALS['TCA']['tx_bootstrappackage_tab_item']['types']['1']['columnsOverrides']['media']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['small'] = $smallCropSettings; -$GLOBALS['TCA']['tx_bootstrappackage_tab_item']['types']['1']['columnsOverrides']['media']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['extrasmall'] = $extrasmallCropSettings; - -// Timeline -$GLOBALS['TCA']['tx_bootstrappackage_timeline_item']['types']['1']['columnsOverrides']['image']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['default'] = $defaultCropSettings; -$GLOBALS['TCA']['tx_bootstrappackage_timeline_item']['types']['1']['columnsOverrides']['image']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['xlarge'] = $xlargeCropSettings; -$GLOBALS['TCA']['tx_bootstrappackage_timeline_item']['types']['1']['columnsOverrides']['image']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['large'] = $largeCropSettings; -$GLOBALS['TCA']['tx_bootstrappackage_timeline_item']['types']['1']['columnsOverrides']['image']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['medium'] = $mediumCropSettings; -$GLOBALS['TCA']['tx_bootstrappackage_timeline_item']['types']['1']['columnsOverrides']['image']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['small'] = $smallCropSettings; -$GLOBALS['TCA']['tx_bootstrappackage_timeline_item']['types']['1']['columnsOverrides']['image']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['extrasmall'] = $extrasmallCropSettings; - -// Pages -foreach ([1, 3, 4] as $type) { - $GLOBALS['TCA']['pages']['types'][$type]['columnsOverrides']['thumbnail']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['default'] = $defaultCropSettings; - $GLOBALS['TCA']['pages']['types'][$type]['columnsOverrides']['thumbnail']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['xlarge'] = $xlargeCropSettings; - $GLOBALS['TCA']['pages']['types'][$type]['columnsOverrides']['thumbnail']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['large'] = $largeCropSettings; - $GLOBALS['TCA']['pages']['types'][$type]['columnsOverrides']['thumbnail']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['medium'] = $mediumCropSettings; - $GLOBALS['TCA']['pages']['types'][$type]['columnsOverrides']['thumbnail']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['small'] = $smallCropSettings; - $GLOBALS['TCA']['pages']['types'][$type]['columnsOverrides']['thumbnail']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants']['extrasmall'] = $extrasmallCropSettings; -} diff --git a/packages/base-design/Configuration/TCA/Overrides/pages.php b/packages/base-design/Configuration/TCA/Overrides/pages.php deleted file mode 100644 index ab3c55a..0000000 --- a/packages/base-design/Configuration/TCA/Overrides/pages.php +++ /dev/null @@ -1,9 +0,0 @@ - - 2_columns_25_75 > - 2_columns_50_50 > - 2_columns_offset_right > - 3_columns > - # default > - # simple > - special_feature > - special_start > - subnavigation_left > - subnavigation_left_2_columns > - subnavigation_right > - subnavigation_right_2_columns > -} diff --git a/packages/base-design/Configuration/TsConfig/Page/RTE.tsconfig b/packages/base-design/Configuration/TsConfig/Page/RTE.tsconfig deleted file mode 100644 index 7f9ff6e..0000000 --- a/packages/base-design/Configuration/TsConfig/Page/RTE.tsconfig +++ /dev/null @@ -1,5 +0,0 @@ -RTE { - default { - preset = base - } -} diff --git a/packages/base-design/Configuration/TypoScript/constants.typoscript b/packages/base-design/Configuration/TypoScript/constants.typoscript deleted file mode 100644 index b7d317a..0000000 --- a/packages/base-design/Configuration/TypoScript/constants.typoscript +++ /dev/null @@ -1,73 +0,0 @@ -config { - concatenateJs = 1 - compressJs = 1 - compressCss = 1 - concatenateCss = 1 -} - -page { - logo { - file = EXT:base_design/Resources/Public/Images/logo.png - fileInverted = EXT:base_design/Resources/Public/Images/logo.png - } - - theme { - cookieconsent { - enable = 0 - } - navigation { - type = top - } - breadcrumb { - enable = 0 - } - language { - enable = 0 - } - meta { - enable = 0 - } - copyright { - # cat=bootstrap package: copyright/169/120; type=boolean; label=Copyright: Enable to display the copyright - enable = 1 - # cat=bootstrap package: copyright/169/121; type=string; label=Copyright Text - text = © Copyright 2024 Cloonar Technologies GmbH - } - googleFont { - enable = 0 - } - } - fluidtemplate { - templateRootPath = EXT:base_design/Resources/Private/Templates/Page/ - partialRootPath = EXT:base_design/Resources/Private/Partials/Page/ - layoutRootPath = EXT:base_design/Resources/Private/Layouts/Page/ - } -} - -plugin.tx_news { - settings { - list.media.image { - maxWidth = 200c - maxHeight = 200c - } - detail.media.image.lightbox { - enabled = 0 - class = lightbox - width = 800m - height = 600m - } - } -} - -plugin.tx_indexedsearch.settings.targetPid = 10 - -plugin.bootstrap_package { - settings { - scss { - primary = #233600 - secondary = #F4F6EC - primary-yellow = #F5AE07 - } - } -} - diff --git a/packages/base-design/Configuration/TypoScript/setup.typoscript b/packages/base-design/Configuration/TypoScript/setup.typoscript deleted file mode 100644 index a55d534..0000000 --- a/packages/base-design/Configuration/TypoScript/setup.typoscript +++ /dev/null @@ -1,136 +0,0 @@ -page { - shortcutIcon = EXT:base_design/Resources/Public/Images/favicon.png - includeCSS { - zTheme = EXT:base_design/Resources/Public/Scss/main.scss - } - includeJSFooterlibs { - ajaxnews = EXT:base_design/Resources/Public/JavaScript/newsAjaxPagination.js - # search = EXT:base_design/Resources/Public/JavaScript/search.js - # matomo = EXT:base_design/Resources/Public/JavaScript/matomo.js - } - 10 { - settings { - pageIds { - search = {$plugin.tx_indexedsearch.settings.targetPid} - } - } - } -} - -config { - spamProtectEmailAddresses = 2 - spamProtectEmailAddresses_atSubst = @ -} - -plugin { - tx_news { - view { - templateRootPaths { - 0 = EXT:news/Resources/Private/Templates/ - 1 = EXT:base_design/Resources/Private/Templates/News - } - partialRootPaths { - 0 = EXT:news/Resources/Private/Partials/ - 1 = EXT:base_design/Resources/Private/Partials/News - } - } - settings { - displayDummyIfNoMedia = 0 - cropMaxCharacters = 500 - responsiveimages { - news { - multiplier { - default = 0.5 - large = 0.5 - medium = 0.5 - } - gutters { - default = 40 - large = 40 - medium = 40 - } - } - variants { - default { - breakpoint = 1400 - width = 1280 - } - xlarge { - breakpoint = 1200 - width = 1100 - } - large { - breakpoint = 992 - width = 920 - } - medium { - breakpoint = 768 - width = 680 - } - small { - breakpoint = 576 - width = 500 - } - extrasmall { - breakpoint = unset - width = 374 - } - } - } - list { - media.image { - maxWidth = 150c - maxHeight = 150c - } - paginate.templatePath = EXT:news/Resources/Private/Templates/Styles/Twb/Templates/ViewHelpers/Widget/Paginate/IndexAjax.html - } - detail.media.image.lightbox { - enabled = 1 - class = lightbox - rel = lightbox-group-news - width = 800 - height = 600 - } - search { - paginate { - class = GeorgRinger\NumberedPagination\NumberedPagination - itemsPerPage = 10 - insertAbove = 1 - insertBelow = 1 - maximumNumberOfLinks = 3 - } - } - } - } - tx_form.settings.yamlConfigurations { - 1681331285 = EXT:base_design/Configuration/Yaml/Finishers/GetResponse.yaml - } - tx_kesearch_pi1 { - view { - templateRootPaths { - 9 = EXT:base_design/Resources/Private/Templates/Search/ - } - partialRootPaths { - 9 = EXT:base_design/Resources/Private/Partials/Search/ - } - } - } - tx_kesearch_pi2.view < plugin.tx_kesearch_pi1.view - tx_kesearch_pi3.view < plugin.tx_kesearch_pi1.view -} - - -############################ -#### CONTENT ELEMENTS ###### -############################ -lib.contentElement { - layoutRootPaths { - 15 = EXT:base_design/Resources/Private/Layouts/ContentElements/ - } - templateRootPaths { - 15 = EXT:base_design/Resources/Private/Templates/ContentElements/ - } - partialRootPaths { - 15 = EXT:base_design/Resources/Private/Partials/ContentElements/ - } -} diff --git a/packages/base-design/Configuration/Yaml/Finishers/GetResponse.yaml b/packages/base-design/Configuration/Yaml/Finishers/GetResponse.yaml deleted file mode 100644 index 22bf082..0000000 --- a/packages/base-design/Configuration/Yaml/Finishers/GetResponse.yaml +++ /dev/null @@ -1,141 +0,0 @@ -TYPO3: - CMS: - Form: - prototypes: - standard: - formElementsDefinition: - Form: - formEditor: - editors: - 900: - selectOptions: - 1681331285: - value: GetResponse - label: GetResponse Finisher - propertyCollections: - finishers: - 1681331285: - identifier: GetResponse - editors: - 100: - identifier: header - label: GetResponse - templateName: Inspector-CollectionElementHeaderEditor - 105: - identifier: 'notifyEmail' - templateName: 'Inspector-TextEditor' - label: 'Notify email' - propertyPath: 'options.notifyEmail' - propertyValidators: - 10: 'NotEmpty' - 110: - identifier: 'apiKey' - templateName: 'Inspector-TextEditor' - label: 'API Key' - propertyPath: 'options.apiKey' - propertyValidators: - 10: 'NotEmpty' - 120: - identifier: 'campaignId' - templateName: 'Inspector-TextEditor' - label: 'Campaign ID' - propertyPath: 'options.campaignId' - propertyValidators: - 10: 'NotEmpty' - 130: - identifier: 'email' - templateName: 'Inspector-TextEditor' - label: 'Subscribers email' - propertyPath: 'options.email' - enableFormelementSelectionButton: true - propertyValidators: - 10: 'NotEmpty' - 20: 'FormElementIdentifierWithinCurlyBracesInclusive' - 150: - identifier: 'firstname' - templateName: 'Inspector-TextEditor' - label: 'Subscribers firstname' - propertyPath: 'options.firstname' - enableFormelementSelectionButton: true - propertyValidators: - 10: 'NotEmpty' - 20: 'FormElementIdentifierWithinCurlyBracesInclusive' - 160: - identifier: 'lastname' - templateName: 'Inspector-TextEditor' - label: 'Subscribers lastname' - propertyPath: 'options.lastname' - enableFormelementSelectionButton: true - propertyValidators: - 10: 'NotEmpty' - 20: 'FormElementIdentifierWithinCurlyBracesInclusive' - 170: - identifier: 'company' - templateName: 'Inspector-TextEditor' - label: 'Subscribers company' - propertyPath: 'options.company' - enableFormelementSelectionButton: true - propertyValidators: - 10: 'FormElementIdentifierWithinCurlyBracesInclusive' - 180: - identifier: 'register' - templateName: 'Inspector-TextEditor' - label: 'Register boolean' - propertyPath: 'options.register' - enableFormelementSelectionButton: true - propertyValidators: - 10: 'FormElementIdentifierWithinCurlyBracesInclusive' - 9999: - indentifier: removeButton - templateName: Inspector-RemoveElementEditor - finishersDefinition: - GetResponse: - implementationClassName: 'Cloonar\BaseDesign\Domain\Finishers\GetResponseFinisher' - formEditor: - iconIdentifier: 'form-finisher' - label: 'GetResponse Finisher' - predefinedDefaults: - options: - notifyEmail: '' - apiKey: '' - campaignId: '' - email: {} - firstname: {} - lastname: {} - company: {} - register: {} - FormEngine: - label: 'GetResponse Finisher' - elements: - notifyEmail: - label: 'Notify email' - config: - type: 'text' - apiKey: - label: 'API key' - config: - type: 'text' - campaignId: - label: 'Campaign ID' - config: - type: 'text' - email: - label: 'Subscribers email' - config: - type: 'text' - firstname: - label: 'Subscribers firstname' - config: - type: 'text' - lastname: - label: 'Subscribers lastname' - config: - type: 'text' - company: - label: 'Subscribers company' - config: - type: 'text' - register: - label: 'Register Subscriber' - config: - type: 'text' diff --git a/packages/base-design/Resources/Private/Forms/newsletter.form.yaml b/packages/base-design/Resources/Private/Forms/newsletter.form.yaml deleted file mode 100644 index c9f7211..0000000 --- a/packages/base-design/Resources/Private/Forms/newsletter.form.yaml +++ /dev/null @@ -1,121 +0,0 @@ - -renderingOptions: - submitButtonLabel: Anmelden -type: Form -identifier: newsletter -label: Newsletter -prototypeName: standard -finishers: - - - options: - notifyEmail: dominik.polakovics@cloonar.com - apiKey: 28a7270df8f61a296a11d3e63d5b2aaf - campaignId: 4Etb5 - email: '{email-1}' - firstname: '{text-1}' - lastname: '{text-2}' - company: '{text-3}' - register: '{checkbox-1}' - identifier: GetResponse - - - options: - message: 'Vielen Dank für Ihre Anmeldung !' - contentElementUid: '' - identifier: Confirmation -renderables: - - - renderingOptions: - previousButtonLabel: 'Previous step' - nextButtonLabel: 'Next step' - type: Page - identifier: page-1 - label: 'Newsletter Anmeldung' - renderables: - - - properties: - text: 'Melden Sie sich zu unserem Newsletter an, um top News zu erhalten!' - type: StaticText - identifier: statictext-1 - label: '' - - - type: GridRow - identifier: gridrow-1 - label: 'Grid: Row' - renderables: - - - defaultValue: '' - type: Text - identifier: text-1 - label: Vorname - properties: - fluidAdditionalAttributes: - placeholder: Vorname - required: required - gridColumnClassAutoConfiguration: - viewPorts: - xs: - numbersOfColumnsToUse: '12' - validators: - - - identifier: NotEmpty - - - defaultValue: '' - type: Text - identifier: text-2 - label: Nachname - properties: - fluidAdditionalAttributes: - placeholder: Nachname - required: required - gridColumnClassAutoConfiguration: - viewPorts: - xs: - numbersOfColumnsToUse: '12' - validators: - - - identifier: NotEmpty - - - type: GridRow - identifier: gridrow-2 - label: 'Grid: Row' - renderables: - - - defaultValue: '' - type: Email - identifier: email-1 - label: E-mail - properties: - fluidAdditionalAttributes: - placeholder: vorname.nachname@domain.com - required: required - gridColumnClassAutoConfiguration: - viewPorts: - xs: - numbersOfColumnsToUse: '12' - validators: - - - identifier: EmailAddress - - - identifier: NotEmpty - - - defaultValue: '' - type: Text - identifier: text-3 - label: Firma - properties: - fluidAdditionalAttributes: - placeholder: Firma - gridColumnClassAutoConfiguration: - viewPorts: - xs: - numbersOfColumnsToUse: '12' - - - type: Checkbox - identifier: checkbox-1 - label: 'Ich möchte den Newsletter per E-Mail erhalten. Meine Daten werden keinesfalls an Dritte weitergegeben. Meine Einwilligung kann ich jederzeit durch eine E-Mail an newsletter@cloonar.dev widerrufen. Selbstverständlich können Sie über die gespeicherten Daten Auskunft verlangen.' - properties: - fluidAdditionalAttributes: - required: required - validators: - - - identifier: NotEmpty diff --git a/packages/base-design/Resources/Private/Language/locallang_ttc.xlf b/packages/base-design/Resources/Private/Language/locallang_ttc.xlf deleted file mode 100644 index 539409f..0000000 --- a/packages/base-design/Resources/Private/Language/locallang_ttc.xlf +++ /dev/null @@ -1,11 +0,0 @@ - - - -
- - - None - - - - diff --git a/packages/base-design/Resources/Private/Partials/ContentElements/Media/Gallery.html b/packages/base-design/Resources/Private/Partials/ContentElements/Media/Gallery.html deleted file mode 100644 index 7c834b7..0000000 --- a/packages/base-design/Resources/Private/Partials/ContentElements/Media/Gallery.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - {data.imagecols as integer} - {settings.gallery.columns.{imagecols}} - - - - - - - diff --git a/packages/base-design/Resources/Private/Partials/ContentElements/Media/Type/Image.html b/packages/base-design/Resources/Private/Partials/ContentElements/Media/Type/Image.html deleted file mode 100644 index 2eee8d7..0000000 --- a/packages/base-design/Resources/Private/Partials/ContentElements/Media/Type/Image.html +++ /dev/null @@ -1,39 +0,0 @@ - -
- - - - - -

{file.properties.title}

-
-
-
- - - - - - - - - - - - -
- -
- {file.properties.description} -
-
-
- - diff --git a/packages/base-design/Resources/Private/Partials/News/Detail/MediaImage.html b/packages/base-design/Resources/Private/Partials/News/Detail/MediaImage.html deleted file mode 100644 index a774f57..0000000 --- a/packages/base-design/Resources/Private/Partials/News/Detail/MediaImage.html +++ /dev/null @@ -1,31 +0,0 @@ - - -
- - - - - - - - - - - - - - - - - - - -
- -

- {mediaElement.description} -

-
- diff --git a/packages/base-design/Resources/Private/Partials/News/Detail/Opengraph.html b/packages/base-design/Resources/Private/Partials/News/Detail/Opengraph.html deleted file mode 100644 index d899efc..0000000 --- a/packages/base-design/Resources/Private/Partials/News/Detail/Opengraph.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/packages/base-design/Resources/Private/Partials/News/List/Item.html b/packages/base-design/Resources/Private/Partials/News/List/Item.html deleted file mode 100644 index e1cc6d3..0000000 --- a/packages/base-design/Resources/Private/Partials/News/List/Item.html +++ /dev/null @@ -1,103 +0,0 @@ - - -
- - -
-

- - {newsItem.title} - -

-
- - - - -
- - - - - - - - - - - - - -
-
- - -
- - - - - -
-
-
-
- - - -
- - - -
{newsItem.teaser -> f:format.crop(maxCharacters: '{settings.cropMaxCharacters}', respectWordBoundaries:'1') -> f:format.raw()}
-
- -
{newsItem.bodytext -> f:format.crop(maxCharacters: '{settings.cropMaxCharacters}', respectWordBoundaries:'1') -> f:format.raw()}
-
-
-
- - - - -
- - - -
- diff --git a/packages/base-design/Resources/Private/Partials/News/List/Pagination.html b/packages/base-design/Resources/Private/Partials/News/List/Pagination.html deleted file mode 100644 index 4ed6b30..0000000 --- a/packages/base-design/Resources/Private/Partials/News/List/Pagination.html +++ /dev/null @@ -1,57 +0,0 @@ - diff --git a/packages/base-design/Resources/Private/Partials/News/List/ZahlItem.html b/packages/base-design/Resources/Private/Partials/News/List/ZahlItem.html deleted file mode 100644 index 743416a..0000000 --- a/packages/base-design/Resources/Private/Partials/News/List/ZahlItem.html +++ /dev/null @@ -1,86 +0,0 @@ - - -
- - -
-

- {newsItem.title} -

-
- - - - -
- - - - - - - - - - - -
-
- - -
- - - -
-
-
-
- - - -
- -
{newsItem.bodytext -> f:format.html()}
-
-
- - - -
- diff --git a/packages/base-design/Resources/Private/Partials/Page/DropIn/Navigation/MainAfter.html b/packages/base-design/Resources/Private/Partials/Page/DropIn/Navigation/MainAfter.html deleted file mode 100644 index b8d91cb..0000000 --- a/packages/base-design/Resources/Private/Partials/Page/DropIn/Navigation/MainAfter.html +++ /dev/null @@ -1,19 +0,0 @@ - -
-
-
- -
- -
-
-
-
diff --git a/packages/base-design/Resources/Private/Partials/Search/ResultRow.html b/packages/base-design/Resources/Private/Partials/Search/ResultRow.html deleted file mode 100644 index 6161e6e..0000000 --- a/packages/base-design/Resources/Private/Partials/Search/ResultRow.html +++ /dev/null @@ -1,74 +0,0 @@ - - - - -
-   -
- - {f:translate(key: 'LLL:EXT:ke_search/Resources/Private/Language/locallang_searchbox.xlf:label_resulturl')}: - {resultrow.url}
-
- - - {f:translate(key: 'LLL:EXT:ke_search/Resources/Private/Language/locallang_searchbox.xlf:label_tags')}: - {resultrow.tags}
-
-
- - - - - -

- - {resultrow.number}. - - - - {resultrow.title} - - -

- - - - - - -
-
- - - - - -
- - 01.01.2023 -
-
-
-
-
- {resultrow.teaser} -
-   -
- - - - - - - - - - - - - diff --git a/packages/base-design/Resources/Private/Partials/Search/ResultRows.html b/packages/base-design/Resources/Private/Partials/Search/ResultRows.html deleted file mode 100644 index 487dbe7..0000000 --- a/packages/base-design/Resources/Private/Partials/Search/ResultRows.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - -
- - -
- -
-
-
- - - -
- -
- -
-
- -
{queryTimeText}
-
diff --git a/packages/base-design/Resources/Private/Partials/Structure/FooterContent.html b/packages/base-design/Resources/Private/Partials/Structure/FooterContent.html deleted file mode 100644 index ab18776..0000000 --- a/packages/base-design/Resources/Private/Partials/Structure/FooterContent.html +++ /dev/null @@ -1,17 +0,0 @@ - - - diff --git a/packages/base-design/Resources/Private/Templates/News/News/Detail.html b/packages/base-design/Resources/Private/Templates/News/News/Detail.html deleted file mode 100644 index d2eff35..0000000 --- a/packages/base-design/Resources/Private/Templates/News/News/Detail.html +++ /dev/null @@ -1,203 +0,0 @@ - - - - - - - - - - - - - - - - - - {newsItem.alternativeTitle} - - - - - {newsItem.title} - - - - - - - -
    - - - - - - -
-
-
-
-
-

{newsItem.title}

-
- - - - - {newsItem.contentElementIdList} - - - - - - - -
- {newsItem.bodytext} -
-
- - - - - - - - - Care about the privacy of your readers? - Checkout https://typo3.org/extensions/repository/view/rx_shariff - and it will be used automatically! - - - - - - - - -
- - - -
-
- diff --git a/packages/base-design/Resources/Private/Templates/News/News/List.html b/packages/base-design/Resources/Private/Templates/News/News/List.html deleted file mode 100644 index f5d4edb..0000000 --- a/packages/base-design/Resources/Private/Templates/News/News/List.html +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
- -
-
-
- -
- diff --git a/packages/base-design/Resources/Private/Templates/Page/Default.html b/packages/base-design/Resources/Private/Templates/Page/Default.html deleted file mode 100644 index a7faf1a..0000000 --- a/packages/base-design/Resources/Private/Templates/Page/Default.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - - - -
- -
- - - -
- - - - - - diff --git a/packages/base-design/Resources/Private/Templates/Search/SearchForm.html b/packages/base-design/Resources/Private/Templates/Search/SearchForm.html deleted file mode 100644 index b0fb20e..0000000 --- a/packages/base-design/Resources/Private/Templates/Search/SearchForm.html +++ /dev/null @@ -1,83 +0,0 @@ - - - - - - - -
- - - - - - - - - - - - -
-
- - diff --git a/packages/base-design/Resources/Public/Fonts/Geogrotesque-Lt.eot b/packages/base-design/Resources/Public/Fonts/Geogrotesque-Lt.eot deleted file mode 100644 index 3827810..0000000 Binary files a/packages/base-design/Resources/Public/Fonts/Geogrotesque-Lt.eot and /dev/null differ diff --git a/packages/base-design/Resources/Public/Fonts/Geogrotesque-Lt.eot? b/packages/base-design/Resources/Public/Fonts/Geogrotesque-Lt.eot? deleted file mode 100644 index 3827810..0000000 Binary files a/packages/base-design/Resources/Public/Fonts/Geogrotesque-Lt.eot? and /dev/null differ diff --git a/packages/base-design/Resources/Public/Fonts/Geogrotesque-Lt.svg b/packages/base-design/Resources/Public/Fonts/Geogrotesque-Lt.svg deleted file mode 100644 index 9f20c82..0000000 --- a/packages/base-design/Resources/Public/Fonts/Geogrotesque-Lt.svg +++ /dev/null @@ -1,4999 +0,0 @@ - - - - -Created by FontForge 20170731 at Thu Dec 15 23:01:37 2016 - By Aleksey,,, -Copyright (c) 2008-2016 by Eduardo Manso. All rights reserved. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/packages/base-design/Resources/Public/Fonts/Geogrotesque-Lt.ttf b/packages/base-design/Resources/Public/Fonts/Geogrotesque-Lt.ttf deleted file mode 100644 index d9a92b1..0000000 Binary files a/packages/base-design/Resources/Public/Fonts/Geogrotesque-Lt.ttf and /dev/null differ diff --git a/packages/base-design/Resources/Public/Fonts/Geogrotesque-Lt.woff b/packages/base-design/Resources/Public/Fonts/Geogrotesque-Lt.woff deleted file mode 100644 index e63090d..0000000 Binary files a/packages/base-design/Resources/Public/Fonts/Geogrotesque-Lt.woff and /dev/null differ diff --git a/packages/base-design/Resources/Public/Fonts/Geogrotesque-Lt.woff2 b/packages/base-design/Resources/Public/Fonts/Geogrotesque-Lt.woff2 deleted file mode 100644 index 657d9ba..0000000 Binary files a/packages/base-design/Resources/Public/Fonts/Geogrotesque-Lt.woff2 and /dev/null differ diff --git a/packages/base-design/Resources/Public/Fonts/Geogrotesque-Lt.woff2.1 b/packages/base-design/Resources/Public/Fonts/Geogrotesque-Lt.woff2.1 deleted file mode 100644 index 657d9ba..0000000 Binary files a/packages/base-design/Resources/Public/Fonts/Geogrotesque-Lt.woff2.1 and /dev/null differ diff --git a/packages/base-design/Resources/Public/Fonts/Geogrotesque-LtIt.eot b/packages/base-design/Resources/Public/Fonts/Geogrotesque-LtIt.eot deleted file mode 100644 index ec3b5d4..0000000 Binary files a/packages/base-design/Resources/Public/Fonts/Geogrotesque-LtIt.eot and /dev/null differ diff --git a/packages/base-design/Resources/Public/Fonts/Geogrotesque-LtIt.eot? b/packages/base-design/Resources/Public/Fonts/Geogrotesque-LtIt.eot? deleted file mode 100644 index ec3b5d4..0000000 Binary files a/packages/base-design/Resources/Public/Fonts/Geogrotesque-LtIt.eot? and /dev/null differ diff --git a/packages/base-design/Resources/Public/Fonts/Geogrotesque-LtIt.eot?.1 b/packages/base-design/Resources/Public/Fonts/Geogrotesque-LtIt.eot?.1 deleted file mode 100644 index ec3b5d4..0000000 Binary files a/packages/base-design/Resources/Public/Fonts/Geogrotesque-LtIt.eot?.1 and /dev/null differ diff --git a/packages/base-design/Resources/Public/Fonts/Geogrotesque-LtIt.svg b/packages/base-design/Resources/Public/Fonts/Geogrotesque-LtIt.svg deleted file mode 100644 index ac02447..0000000 --- a/packages/base-design/Resources/Public/Fonts/Geogrotesque-LtIt.svg +++ /dev/null @@ -1,5205 +0,0 @@ - - - - -Created by FontForge 20170731 at Thu Dec 15 23:00:59 2016 - By Aleksey,,, -Copyright (c) 2008-2016 by Eduardo Manso. All rights reserved. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/packages/base-design/Resources/Public/Fonts/Geogrotesque-LtIt.ttf b/packages/base-design/Resources/Public/Fonts/Geogrotesque-LtIt.ttf deleted file mode 100644 index c2423b9..0000000 Binary files a/packages/base-design/Resources/Public/Fonts/Geogrotesque-LtIt.ttf and /dev/null differ diff --git a/packages/base-design/Resources/Public/Fonts/Geogrotesque-LtIt.woff b/packages/base-design/Resources/Public/Fonts/Geogrotesque-LtIt.woff deleted file mode 100644 index 8044d43..0000000 Binary files a/packages/base-design/Resources/Public/Fonts/Geogrotesque-LtIt.woff and /dev/null differ diff --git a/packages/base-design/Resources/Public/Fonts/Geogrotesque-LtIt.woff2 b/packages/base-design/Resources/Public/Fonts/Geogrotesque-LtIt.woff2 deleted file mode 100644 index 1060547..0000000 Binary files a/packages/base-design/Resources/Public/Fonts/Geogrotesque-LtIt.woff2 and /dev/null differ diff --git a/packages/base-design/Resources/Public/Fonts/Geogrotesque-Md.eot b/packages/base-design/Resources/Public/Fonts/Geogrotesque-Md.eot deleted file mode 100644 index 88a866d..0000000 Binary files a/packages/base-design/Resources/Public/Fonts/Geogrotesque-Md.eot and /dev/null differ diff --git a/packages/base-design/Resources/Public/Fonts/Geogrotesque-Md.svg b/packages/base-design/Resources/Public/Fonts/Geogrotesque-Md.svg deleted file mode 100644 index 9bbc346..0000000 --- a/packages/base-design/Resources/Public/Fonts/Geogrotesque-Md.svg +++ /dev/null @@ -1,4222 +0,0 @@ - - - - -Created by FontForge 20170731 at Thu Dec 15 22:58:58 2016 - By Aleksey,,, -Copyright (c) 2008-2016 by Eduardo Manso. All rights reserved. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/packages/base-design/Resources/Public/Fonts/Geogrotesque-Md.ttf b/packages/base-design/Resources/Public/Fonts/Geogrotesque-Md.ttf deleted file mode 100644 index 967ae85..0000000 Binary files a/packages/base-design/Resources/Public/Fonts/Geogrotesque-Md.ttf and /dev/null differ diff --git a/packages/base-design/Resources/Public/Fonts/Geogrotesque-Md.woff b/packages/base-design/Resources/Public/Fonts/Geogrotesque-Md.woff deleted file mode 100644 index 41ae3fc..0000000 Binary files a/packages/base-design/Resources/Public/Fonts/Geogrotesque-Md.woff and /dev/null differ diff --git a/packages/base-design/Resources/Public/Fonts/Geogrotesque-Md.woff2 b/packages/base-design/Resources/Public/Fonts/Geogrotesque-Md.woff2 deleted file mode 100644 index 45047d9..0000000 Binary files a/packages/base-design/Resources/Public/Fonts/Geogrotesque-Md.woff2 and /dev/null differ diff --git a/packages/base-design/Resources/Public/Fonts/Geogrotesque-Md.woff2.1 b/packages/base-design/Resources/Public/Fonts/Geogrotesque-Md.woff2.1 deleted file mode 100644 index 45047d9..0000000 Binary files a/packages/base-design/Resources/Public/Fonts/Geogrotesque-Md.woff2.1 and /dev/null differ diff --git a/packages/base-design/Resources/Public/Fonts/Geogrotesque-SmBd.eot b/packages/base-design/Resources/Public/Fonts/Geogrotesque-SmBd.eot deleted file mode 100644 index 83446e0..0000000 Binary files a/packages/base-design/Resources/Public/Fonts/Geogrotesque-SmBd.eot and /dev/null differ diff --git a/packages/base-design/Resources/Public/Fonts/Geogrotesque-SmBd.svg b/packages/base-design/Resources/Public/Fonts/Geogrotesque-SmBd.svg deleted file mode 100644 index d35ee84..0000000 --- a/packages/base-design/Resources/Public/Fonts/Geogrotesque-SmBd.svg +++ /dev/null @@ -1,5036 +0,0 @@ - - - - -Created by FontForge 20170731 at Thu Dec 15 23:04:06 2016 - By Aleksey,,, -Copyright (c) 2008-2016 by Eduardo Manso. All rights reserved. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/packages/base-design/Resources/Public/Fonts/Geogrotesque-SmBd.ttf b/packages/base-design/Resources/Public/Fonts/Geogrotesque-SmBd.ttf deleted file mode 100644 index 22d94d5..0000000 Binary files a/packages/base-design/Resources/Public/Fonts/Geogrotesque-SmBd.ttf and /dev/null differ diff --git a/packages/base-design/Resources/Public/Fonts/Geogrotesque-SmBd.woff b/packages/base-design/Resources/Public/Fonts/Geogrotesque-SmBd.woff deleted file mode 100644 index 613c999..0000000 Binary files a/packages/base-design/Resources/Public/Fonts/Geogrotesque-SmBd.woff and /dev/null differ diff --git a/packages/base-design/Resources/Public/Fonts/Geogrotesque-SmBd.woff2 b/packages/base-design/Resources/Public/Fonts/Geogrotesque-SmBd.woff2 deleted file mode 100644 index fdc6d10..0000000 Binary files a/packages/base-design/Resources/Public/Fonts/Geogrotesque-SmBd.woff2 and /dev/null differ diff --git a/packages/base-design/Resources/Public/Fonts/Geogrotesque-SmBdIt.eot b/packages/base-design/Resources/Public/Fonts/Geogrotesque-SmBdIt.eot deleted file mode 100644 index 0be6eba..0000000 Binary files a/packages/base-design/Resources/Public/Fonts/Geogrotesque-SmBdIt.eot and /dev/null differ diff --git a/packages/base-design/Resources/Public/Fonts/Geogrotesque-SmBdIt.svg b/packages/base-design/Resources/Public/Fonts/Geogrotesque-SmBdIt.svg deleted file mode 100644 index 396e267..0000000 --- a/packages/base-design/Resources/Public/Fonts/Geogrotesque-SmBdIt.svg +++ /dev/null @@ -1,5222 +0,0 @@ - - - - -Created by FontForge 20170731 at Thu Dec 15 23:03:29 2016 - By Aleksey,,, -Copyright (c) 2008-2016 by Eduardo Manso. All rights reserved. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/packages/base-design/Resources/Public/Fonts/Geogrotesque-SmBdIt.ttf b/packages/base-design/Resources/Public/Fonts/Geogrotesque-SmBdIt.ttf deleted file mode 100644 index f259f14..0000000 Binary files a/packages/base-design/Resources/Public/Fonts/Geogrotesque-SmBdIt.ttf and /dev/null differ diff --git a/packages/base-design/Resources/Public/Fonts/Geogrotesque-SmBdIt.woff b/packages/base-design/Resources/Public/Fonts/Geogrotesque-SmBdIt.woff deleted file mode 100644 index 9d4a54b..0000000 Binary files a/packages/base-design/Resources/Public/Fonts/Geogrotesque-SmBdIt.woff and /dev/null differ diff --git a/packages/base-design/Resources/Public/Fonts/Geogrotesque-SmBdIt.woff2 b/packages/base-design/Resources/Public/Fonts/Geogrotesque-SmBdIt.woff2 deleted file mode 100644 index a6486aa..0000000 Binary files a/packages/base-design/Resources/Public/Fonts/Geogrotesque-SmBdIt.woff2 and /dev/null differ diff --git a/packages/base-design/Resources/Public/Images/background.png b/packages/base-design/Resources/Public/Images/background.png deleted file mode 100644 index b4007b4..0000000 Binary files a/packages/base-design/Resources/Public/Images/background.png and /dev/null differ diff --git a/packages/base-design/Resources/Public/Images/favicon.png b/packages/base-design/Resources/Public/Images/favicon.png deleted file mode 100644 index 599fa71..0000000 Binary files a/packages/base-design/Resources/Public/Images/favicon.png and /dev/null differ diff --git a/packages/base-design/Resources/Public/Images/logo.png b/packages/base-design/Resources/Public/Images/logo.png deleted file mode 100644 index 15b3012..0000000 Binary files a/packages/base-design/Resources/Public/Images/logo.png and /dev/null differ diff --git a/packages/base-design/Resources/Public/JavaScript/Dist/bootstrap-datepicker.min.js b/packages/base-design/Resources/Public/JavaScript/Dist/bootstrap-datepicker.min.js deleted file mode 100644 index 42803b2..0000000 --- a/packages/base-design/Resources/Public/JavaScript/Dist/bootstrap-datepicker.min.js +++ /dev/null @@ -1,12 +0,0 @@ -/*! - * Datepicker for Bootstrap v1.9.0 (https://github.com/uxsolutions/bootstrap-datepicker) - * - * Licensed under the Apache License v2.0 (http://www.apache.org/licenses/LICENSE-2.0) - */ - -!function(a) { "function" == typeof define && define.amd ? define(["jquery"], a) : a("object" == typeof exports ? require("jquery") : jQuery) }(function(a, b) { - function c() { return new Date(Date.UTC.apply(Date, arguments)) } function d() { var a = new Date; return c(a.getFullYear(), a.getMonth(), a.getDate()) } function e(a, b) { return a.getUTCFullYear() === b.getUTCFullYear() && a.getUTCMonth() === b.getUTCMonth() && a.getUTCDate() === b.getUTCDate() } function f(c, d) { return function() { return d !== b && a.fn.datepicker.deprecated(d), this[c].apply(this, arguments) } } function g(a) { return a && !isNaN(a.getTime()) } function h(b, c) { function d(a, b) { return b.toLowerCase() } var e, f = a(b).data(), g = {}, h = new RegExp("^" + c.toLowerCase() + "([A-Z])"); c = new RegExp("^" + c.toLowerCase()); for (var i in f) c.test(i) && (e = i.replace(h, d), g[e] = f[i]); return g } function i(b) { var c = {}; if (q[b] || (b = b.split("-")[0], q[b])) { var d = q[b]; return a.each(p, function(a, b) { b in d && (c[b] = d[b]) }), c } } var j = function() { var b = { get: function(a) { return this.slice(a)[0] }, contains: function(a) { for (var b = a && a.valueOf(), c = 0, d = this.length; c < d; c++)if (0 <= this[c].valueOf() - b && this[c].valueOf() - b < 864e5) return c; return -1 }, remove: function(a) { this.splice(a, 1) }, replace: function(b) { b && (a.isArray(b) || (b = [b]), this.clear(), this.push.apply(this, b)) }, clear: function() { this.length = 0 }, copy: function() { var a = new j; return a.replace(this), a } }; return function() { var c = []; return c.push.apply(c, arguments), a.extend(c, b), c } }(), k = function(b, c) { a.data(b, "datepicker", this), this._events = [], this._secondaryEvents = [], this._process_options(c), this.dates = new j, this.viewDate = this.o.defaultViewDate, this.focusDate = null, this.element = a(b), this.isInput = this.element.is("input"), this.inputField = this.isInput ? this.element : this.element.find("input"), this.component = !!this.element.hasClass("date") && this.element.find(".add-on, .input-group-addon, .input-group-append, .input-group-prepend, .btn"), this.component && 0 === this.component.length && (this.component = !1), this.isInline = !this.component && this.element.is("div"), this.picker = a(r.template), this._check_template(this.o.templates.leftArrow) && this.picker.find(".prev").html(this.o.templates.leftArrow), this._check_template(this.o.templates.rightArrow) && this.picker.find(".next").html(this.o.templates.rightArrow), this._buildEvents(), this._attachEvents(), this.isInline ? this.picker.addClass("datepicker-inline").appendTo(this.element) : this.picker.addClass("datepicker-dropdown dropdown-menu"), this.o.rtl && this.picker.addClass("datepicker-rtl"), this.o.calendarWeeks && this.picker.find(".datepicker-days .datepicker-switch, thead .datepicker-title, tfoot .today, tfoot .clear").attr("colspan", function(a, b) { return Number(b) + 1 }), this._process_options({ startDate: this._o.startDate, endDate: this._o.endDate, daysOfWeekDisabled: this.o.daysOfWeekDisabled, daysOfWeekHighlighted: this.o.daysOfWeekHighlighted, datesDisabled: this.o.datesDisabled }), this._allow_update = !1, this.setViewMode(this.o.startView), this._allow_update = !0, this.fillDow(), this.fillMonths(), this.update(), this.isInline && this.show() }; k.prototype = { constructor: k, _resolveViewName: function(b) { return a.each(r.viewModes, function(c, d) { if (b === c || -1 !== a.inArray(b, d.names)) return b = c, !1 }), b }, _resolveDaysOfWeek: function(b) { return a.isArray(b) || (b = b.split(/[,\s]*/)), a.map(b, Number) }, _check_template: function(c) { try { if (c === b || "" === c) return !1; if ((c.match(/[<>]/g) || []).length <= 0) return !0; return a(c).length > 0 } catch (a) { return !1 } }, _process_options: function(b) { this._o = a.extend({}, this._o, b); var e = this.o = a.extend({}, this._o), f = e.language; q[f] || (f = f.split("-")[0], q[f] || (f = o.language)), e.language = f, e.startView = this._resolveViewName(e.startView), e.minViewMode = this._resolveViewName(e.minViewMode), e.maxViewMode = this._resolveViewName(e.maxViewMode), e.startView = Math.max(this.o.minViewMode, Math.min(this.o.maxViewMode, e.startView)), !0 !== e.multidate && (e.multidate = Number(e.multidate) || !1, !1 !== e.multidate && (e.multidate = Math.max(0, e.multidate))), e.multidateSeparator = String(e.multidateSeparator), e.weekStart %= 7, e.weekEnd = (e.weekStart + 6) % 7; var g = r.parseFormat(e.format); e.startDate !== -1 / 0 && (e.startDate ? e.startDate instanceof Date ? e.startDate = this._local_to_utc(this._zero_time(e.startDate)) : e.startDate = r.parseDate(e.startDate, g, e.language, e.assumeNearbyYear) : e.startDate = -1 / 0), e.endDate !== 1 / 0 && (e.endDate ? e.endDate instanceof Date ? e.endDate = this._local_to_utc(this._zero_time(e.endDate)) : e.endDate = r.parseDate(e.endDate, g, e.language, e.assumeNearbyYear) : e.endDate = 1 / 0), e.daysOfWeekDisabled = this._resolveDaysOfWeek(e.daysOfWeekDisabled || []), e.daysOfWeekHighlighted = this._resolveDaysOfWeek(e.daysOfWeekHighlighted || []), e.datesDisabled = e.datesDisabled || [], a.isArray(e.datesDisabled) || (e.datesDisabled = e.datesDisabled.split(",")), e.datesDisabled = a.map(e.datesDisabled, function(a) { return r.parseDate(a, g, e.language, e.assumeNearbyYear) }); var h = String(e.orientation).toLowerCase().split(/\s+/g), i = e.orientation.toLowerCase(); if (h = a.grep(h, function(a) { return /^auto|left|right|top|bottom$/.test(a) }), e.orientation = { x: "auto", y: "auto" }, i && "auto" !== i) if (1 === h.length) switch (h[0]) { case "top": case "bottom": e.orientation.y = h[0]; break; case "left": case "right": e.orientation.x = h[0] } else i = a.grep(h, function(a) { return /^left|right$/.test(a) }), e.orientation.x = i[0] || "auto", i = a.grep(h, function(a) { return /^top|bottom$/.test(a) }), e.orientation.y = i[0] || "auto"; else; if (e.defaultViewDate instanceof Date || "string" == typeof e.defaultViewDate) e.defaultViewDate = r.parseDate(e.defaultViewDate, g, e.language, e.assumeNearbyYear); else if (e.defaultViewDate) { var j = e.defaultViewDate.year || (new Date).getFullYear(), k = e.defaultViewDate.month || 0, l = e.defaultViewDate.day || 1; e.defaultViewDate = c(j, k, l) } else e.defaultViewDate = d() }, _applyEvents: function(a) { for (var c, d, e, f = 0; f < a.length; f++)c = a[f][0], 2 === a[f].length ? (d = b, e = a[f][1]) : 3 === a[f].length && (d = a[f][1], e = a[f][2]), c.on(e, d) }, _unapplyEvents: function(a) { for (var c, d, e, f = 0; f < a.length; f++)c = a[f][0], 2 === a[f].length ? (e = b, d = a[f][1]) : 3 === a[f].length && (e = a[f][1], d = a[f][2]), c.off(d, e) }, _buildEvents: function() { var b = { keyup: a.proxy(function(b) { -1 === a.inArray(b.keyCode, [27, 37, 39, 38, 40, 32, 13, 9]) && this.update() }, this), keydown: a.proxy(this.keydown, this), paste: a.proxy(this.paste, this) }; !0 === this.o.showOnFocus && (b.focus = a.proxy(this.show, this)), this.isInput ? this._events = [[this.element, b]] : this.component && this.inputField.length ? this._events = [[this.inputField, b], [this.component, { click: a.proxy(this.show, this) }]] : this._events = [[this.element, { click: a.proxy(this.show, this), keydown: a.proxy(this.keydown, this) }]], this._events.push([this.element, "*", { blur: a.proxy(function(a) { this._focused_from = a.target }, this) }], [this.element, { blur: a.proxy(function(a) { this._focused_from = a.target }, this) }]), this.o.immediateUpdates && this._events.push([this.element, { "changeYear changeMonth": a.proxy(function(a) { this.update(a.date) }, this) }]), this._secondaryEvents = [[this.picker, { click: a.proxy(this.click, this) }], [this.picker, ".prev, .next", { click: a.proxy(this.navArrowsClick, this) }], [this.picker, ".day:not(.disabled)", { click: a.proxy(this.dayCellClick, this) }], [a(window), { resize: a.proxy(this.place, this) }], [a(document), { "mousedown touchstart": a.proxy(function(a) { this.element.is(a.target) || this.element.find(a.target).length || this.picker.is(a.target) || this.picker.find(a.target).length || this.isInline || this.hide() }, this) }]] }, _attachEvents: function() { this._detachEvents(), this._applyEvents(this._events) }, _detachEvents: function() { this._unapplyEvents(this._events) }, _attachSecondaryEvents: function() { this._detachSecondaryEvents(), this._applyEvents(this._secondaryEvents) }, _detachSecondaryEvents: function() { this._unapplyEvents(this._secondaryEvents) }, _trigger: function(b, c) { var d = c || this.dates.get(-1), e = this._utc_to_local(d); this.element.trigger({ type: b, date: e, viewMode: this.viewMode, dates: a.map(this.dates, this._utc_to_local), format: a.proxy(function(a, b) { 0 === arguments.length ? (a = this.dates.length - 1, b = this.o.format) : "string" == typeof a && (b = a, a = this.dates.length - 1), b = b || this.o.format; var c = this.dates.get(a); return r.formatDate(c, b, this.o.language) }, this) }) }, show: function() { if (!(this.inputField.is(":disabled") || this.inputField.prop("readonly") && !1 === this.o.enableOnReadonly)) return this.isInline || this.picker.appendTo(this.o.container), this.place(), this.picker.show(), this._attachSecondaryEvents(), this._trigger("show"), (window.navigator.msMaxTouchPoints || "ontouchstart" in document) && this.o.disableTouchKeyboard && a(this.element).blur(), this }, hide: function() { return this.isInline || !this.picker.is(":visible") ? this : (this.focusDate = null, this.picker.hide().detach(), this._detachSecondaryEvents(), this.setViewMode(this.o.startView), this.o.forceParse && this.inputField.val() && this.setValue(), this._trigger("hide"), this) }, destroy: function() { return this.hide(), this._detachEvents(), this._detachSecondaryEvents(), this.picker.remove(), delete this.element.data().datepicker, this.isInput || delete this.element.data().date, this }, paste: function(b) { var c; if (b.originalEvent.clipboardData && b.originalEvent.clipboardData.types && -1 !== a.inArray("text/plain", b.originalEvent.clipboardData.types)) c = b.originalEvent.clipboardData.getData("text/plain"); else { if (!window.clipboardData) return; c = window.clipboardData.getData("Text") } this.setDate(c), this.update(), b.preventDefault() }, _utc_to_local: function(a) { if (!a) return a; var b = new Date(a.getTime() + 6e4 * a.getTimezoneOffset()); return b.getTimezoneOffset() !== a.getTimezoneOffset() && (b = new Date(a.getTime() + 6e4 * b.getTimezoneOffset())), b }, _local_to_utc: function(a) { return a && new Date(a.getTime() - 6e4 * a.getTimezoneOffset()) }, _zero_time: function(a) { return a && new Date(a.getFullYear(), a.getMonth(), a.getDate()) }, _zero_utc_time: function(a) { return a && c(a.getUTCFullYear(), a.getUTCMonth(), a.getUTCDate()) }, getDates: function() { return a.map(this.dates, this._utc_to_local) }, getUTCDates: function() { return a.map(this.dates, function(a) { return new Date(a) }) }, getDate: function() { return this._utc_to_local(this.getUTCDate()) }, getUTCDate: function() { var a = this.dates.get(-1); return a !== b ? new Date(a) : null }, clearDates: function() { this.inputField.val(""), this.update(), this._trigger("changeDate"), this.o.autoclose && this.hide() }, setDates: function() { var b = a.isArray(arguments[0]) ? arguments[0] : arguments; return this.update.apply(this, b), this._trigger("changeDate"), this.setValue(), this }, setUTCDates: function() { var b = a.isArray(arguments[0]) ? arguments[0] : arguments; return this.setDates.apply(this, a.map(b, this._utc_to_local)), this }, setDate: f("setDates"), setUTCDate: f("setUTCDates"), remove: f("destroy", "Method `remove` is deprecated and will be removed in version 2.0. Use `destroy` instead"), setValue: function() { var a = this.getFormattedDate(); return this.inputField.val(a), this }, getFormattedDate: function(c) { c === b && (c = this.o.format); var d = this.o.language; return a.map(this.dates, function(a) { return r.formatDate(a, c, d) }).join(this.o.multidateSeparator) }, getStartDate: function() { return this.o.startDate }, setStartDate: function(a) { return this._process_options({ startDate: a }), this.update(), this.updateNavArrows(), this }, getEndDate: function() { return this.o.endDate }, setEndDate: function(a) { return this._process_options({ endDate: a }), this.update(), this.updateNavArrows(), this }, setDaysOfWeekDisabled: function(a) { return this._process_options({ daysOfWeekDisabled: a }), this.update(), this }, setDaysOfWeekHighlighted: function(a) { return this._process_options({ daysOfWeekHighlighted: a }), this.update(), this }, setDatesDisabled: function(a) { return this._process_options({ datesDisabled: a }), this.update(), this }, place: function() { if (this.isInline) return this; var b = this.picker.outerWidth(), c = this.picker.outerHeight(), d = a(this.o.container), e = d.width(), f = "body" === this.o.container ? a(document).scrollTop() : d.scrollTop(), g = d.offset(), h = [0]; this.element.parents().each(function() { var b = a(this).css("z-index"); "auto" !== b && 0 !== Number(b) && h.push(Number(b)) }); var i = Math.max.apply(Math, h) + this.o.zIndexOffset, j = this.component ? this.component.parent().offset() : this.element.offset(), k = this.component ? this.component.outerHeight(!0) : this.element.outerHeight(!1), l = this.component ? this.component.outerWidth(!0) : this.element.outerWidth(!1), m = j.left - g.left, n = j.top - g.top; "body" !== this.o.container && (n += f), this.picker.removeClass("datepicker-orient-top datepicker-orient-bottom datepicker-orient-right datepicker-orient-left"), "auto" !== this.o.orientation.x ? (this.picker.addClass("datepicker-orient-" + this.o.orientation.x), "right" === this.o.orientation.x && (m -= b - l)) : j.left < 0 ? (this.picker.addClass("datepicker-orient-left"), m -= j.left - 10) : m + b > e ? (this.picker.addClass("datepicker-orient-right"), m += l - b) : this.o.rtl ? this.picker.addClass("datepicker-orient-right") : this.picker.addClass("datepicker-orient-left"); var o, p = this.o.orientation.y; if ("auto" === p && (o = -f + n - c, p = o < 0 ? "bottom" : "top"), this.picker.addClass("datepicker-orient-" + p), "top" === p ? n -= c + parseInt(this.picker.css("padding-top")) : n += k, this.o.rtl) { var q = e - (m + l); this.picker.css({ top: n, right: q, zIndex: i }) } else this.picker.css({ top: n, left: m, zIndex: i }); return this }, _allow_update: !0, update: function() { if (!this._allow_update) return this; var b = this.dates.copy(), c = [], d = !1; return arguments.length ? (a.each(arguments, a.proxy(function(a, b) { b instanceof Date && (b = this._local_to_utc(b)), c.push(b) }, this)), d = !0) : (c = this.isInput ? this.element.val() : this.element.data("date") || this.inputField.val(), c = c && this.o.multidate ? c.split(this.o.multidateSeparator) : [c], delete this.element.data().date), c = a.map(c, a.proxy(function(a) { return r.parseDate(a, this.o.format, this.o.language, this.o.assumeNearbyYear) }, this)), c = a.grep(c, a.proxy(function(a) { return !this.dateWithinRange(a) || !a }, this), !0), this.dates.replace(c), this.o.updateViewDate && (this.dates.length ? this.viewDate = new Date(this.dates.get(-1)) : this.viewDate < this.o.startDate ? this.viewDate = new Date(this.o.startDate) : this.viewDate > this.o.endDate ? this.viewDate = new Date(this.o.endDate) : this.viewDate = this.o.defaultViewDate), d ? (this.setValue(), this.element.change()) : this.dates.length && String(b) !== String(this.dates) && d && (this._trigger("changeDate"), this.element.change()), !this.dates.length && b.length && (this._trigger("clearDate"), this.element.change()), this.fill(), this }, fillDow: function() { if (this.o.showWeekDays) { var b = this.o.weekStart, c = ""; for (this.o.calendarWeeks && (c += ' '); b < this.o.weekStart + 7;)c += '"; c += "", this.picker.find(".datepicker-days thead").append(c) } }, fillMonths: function() { for (var a, b = this._utc_to_local(this.viewDate), c = "", d = 0; d < 12; d++)a = b && b.getMonth() === d ? " focused" : "", c += '' + q[this.o.language].monthsShort[d] + ""; this.picker.find(".datepicker-months td").html(c) }, setRange: function(b) { b && b.length ? this.range = a.map(b, function(a) { return a.valueOf() }) : delete this.range, this.fill() }, getClassNames: function(b) { var c = [], f = this.viewDate.getUTCFullYear(), g = this.viewDate.getUTCMonth(), h = d(); return b.getUTCFullYear() < f || b.getUTCFullYear() === f && b.getUTCMonth() < g ? c.push("old") : (b.getUTCFullYear() > f || b.getUTCFullYear() === f && b.getUTCMonth() > g) && c.push("new"), this.focusDate && b.valueOf() === this.focusDate.valueOf() && c.push("focused"), this.o.todayHighlight && e(b, h) && c.push("today"), -1 !== this.dates.contains(b) && c.push("active"), this.dateWithinRange(b) || c.push("disabled"), this.dateIsDisabled(b) && c.push("disabled", "disabled-date"), -1 !== a.inArray(b.getUTCDay(), this.o.daysOfWeekHighlighted) && c.push("highlighted"), this.range && (b > this.range[0] && b < this.range[this.range.length - 1] && c.push("range"), -1 !== a.inArray(b.valueOf(), this.range) && c.push("selected"), b.valueOf() === this.range[0] && c.push("range-start"), b.valueOf() === this.range[this.range.length - 1] && c.push("range-end")), c }, _fill_yearsView: function(c, d, e, f, g, h, i) { for (var j, k, l, m = "", n = e / 10, o = this.picker.find(c), p = Math.floor(f / e) * e, q = p + 9 * n, r = Math.floor(this.viewDate.getFullYear() / n) * n, s = a.map(this.dates, function(a) { return Math.floor(a.getUTCFullYear() / n) * n }), t = p - n; t <= q + n; t += n)j = [d], k = null, t === p - n ? j.push("old") : t === q + n && j.push("new"), -1 !== a.inArray(t, s) && j.push("active"), (t < g || t > h) && j.push("disabled"), t === r && j.push("focused"), i !== a.noop && (l = i(new Date(t, 0, 1)), l === b ? l = {} : "boolean" == typeof l ? l = { enabled: l } : "string" == typeof l && (l = { classes: l }), !1 === l.enabled && j.push("disabled"), l.classes && (j = j.concat(l.classes.split(/\s+/))), l.tooltip && (k = l.tooltip)), m += '" + t + ""; o.find(".datepicker-switch").text(p + "-" + q), o.find("td").html(m) }, fill: function() { var e, f, g = new Date(this.viewDate), h = g.getUTCFullYear(), i = g.getUTCMonth(), j = this.o.startDate !== -1 / 0 ? this.o.startDate.getUTCFullYear() : -1 / 0, k = this.o.startDate !== -1 / 0 ? this.o.startDate.getUTCMonth() : -1 / 0, l = this.o.endDate !== 1 / 0 ? this.o.endDate.getUTCFullYear() : 1 / 0, m = this.o.endDate !== 1 / 0 ? this.o.endDate.getUTCMonth() : 1 / 0, n = q[this.o.language].today || q.en.today || "", o = q[this.o.language].clear || q.en.clear || "", p = q[this.o.language].titleFormat || q.en.titleFormat, s = d(), t = (!0 === this.o.todayBtn || "linked" === this.o.todayBtn) && s >= this.o.startDate && s <= this.o.endDate && !this.weekOfDateIsDisabled(s); if (!isNaN(h) && !isNaN(i)) { this.picker.find(".datepicker-days .datepicker-switch").text(r.formatDate(g, p, this.o.language)), this.picker.find("tfoot .today").text(n).css("display", t ? "table-cell" : "none"), this.picker.find("tfoot .clear").text(o).css("display", !0 === this.o.clearBtn ? "table-cell" : "none"), this.picker.find("thead .datepicker-title").text(this.o.title).css("display", "string" == typeof this.o.title && "" !== this.o.title ? "table-cell" : "none"), this.updateNavArrows(), this.fillMonths(); var u = c(h, i, 0), v = u.getUTCDate(); u.setUTCDate(v - (u.getUTCDay() - this.o.weekStart + 7) % 7); var w = new Date(u); u.getUTCFullYear() < 100 && w.setUTCFullYear(u.getUTCFullYear()), w.setUTCDate(w.getUTCDate() + 42), w = w.valueOf(); for (var x, y, z = []; u.valueOf() < w;) { if ((x = u.getUTCDay()) === this.o.weekStart && (z.push(""), this.o.calendarWeeks)) { var A = new Date(+u + (this.o.weekStart - x - 7) % 7 * 864e5), B = new Date(Number(A) + (11 - A.getUTCDay()) % 7 * 864e5), C = new Date(Number(C = c(B.getUTCFullYear(), 0, 1)) + (11 - C.getUTCDay()) % 7 * 864e5), D = (B - C) / 864e5 / 7 + 1; z.push('' + D + "") } y = this.getClassNames(u), y.push("day"); var E = u.getUTCDate(); this.o.beforeShowDay !== a.noop && (f = this.o.beforeShowDay(this._utc_to_local(u)), f === b ? f = {} : "boolean" == typeof f ? f = { enabled: f } : "string" == typeof f && (f = { classes: f }), !1 === f.enabled && y.push("disabled"), f.classes && (y = y.concat(f.classes.split(/\s+/))), f.tooltip && (e = f.tooltip), f.content && (E = f.content)), y = a.isFunction(a.uniqueSort) ? a.uniqueSort(y) : a.unique(y), z.push('' + E + ""), e = null, x === this.o.weekEnd && z.push(""), u.setUTCDate(u.getUTCDate() + 1) } this.picker.find(".datepicker-days tbody").html(z.join("")); var F = q[this.o.language].monthsTitle || q.en.monthsTitle || "Months", G = this.picker.find(".datepicker-months").find(".datepicker-switch").text(this.o.maxViewMode < 2 ? F : h).end().find("tbody span").removeClass("active"); if (a.each(this.dates, function(a, b) { b.getUTCFullYear() === h && G.eq(b.getUTCMonth()).addClass("active") }), (h < j || h > l) && G.addClass("disabled"), h === j && G.slice(0, k).addClass("disabled"), h === l && G.slice(m + 1).addClass("disabled"), this.o.beforeShowMonth !== a.noop) { var H = this; a.each(G, function(c, d) { var e = new Date(h, c, 1), f = H.o.beforeShowMonth(e); f === b ? f = {} : "boolean" == typeof f ? f = { enabled: f } : "string" == typeof f && (f = { classes: f }), !1 !== f.enabled || a(d).hasClass("disabled") || a(d).addClass("disabled"), f.classes && a(d).addClass(f.classes), f.tooltip && a(d).prop("title", f.tooltip) }) } this._fill_yearsView(".datepicker-years", "year", 10, h, j, l, this.o.beforeShowYear), this._fill_yearsView(".datepicker-decades", "decade", 100, h, j, l, this.o.beforeShowDecade), this._fill_yearsView(".datepicker-centuries", "century", 1e3, h, j, l, this.o.beforeShowCentury) } }, updateNavArrows: function() { if (this._allow_update) { var a, b, c = new Date(this.viewDate), d = c.getUTCFullYear(), e = c.getUTCMonth(), f = this.o.startDate !== -1 / 0 ? this.o.startDate.getUTCFullYear() : -1 / 0, g = this.o.startDate !== -1 / 0 ? this.o.startDate.getUTCMonth() : -1 / 0, h = this.o.endDate !== 1 / 0 ? this.o.endDate.getUTCFullYear() : 1 / 0, i = this.o.endDate !== 1 / 0 ? this.o.endDate.getUTCMonth() : 1 / 0, j = 1; switch (this.viewMode) { case 4: j *= 10; case 3: j *= 10; case 2: j *= 10; case 1: a = Math.floor(d / j) * j <= f, b = Math.floor(d / j) * j + j > h; break; case 0: a = d <= f && e <= g, b = d >= h && e >= i }this.picker.find(".prev").toggleClass("disabled", a), this.picker.find(".next").toggleClass("disabled", b) } }, click: function(b) { b.preventDefault(), b.stopPropagation(); var e, f, g, h; e = a(b.target), e.hasClass("datepicker-switch") && this.viewMode !== this.o.maxViewMode && this.setViewMode(this.viewMode + 1), e.hasClass("today") && !e.hasClass("day") && (this.setViewMode(0), this._setDate(d(), "linked" === this.o.todayBtn ? null : "view")), e.hasClass("clear") && this.clearDates(), e.hasClass("disabled") || (e.hasClass("month") || e.hasClass("year") || e.hasClass("decade") || e.hasClass("century")) && (this.viewDate.setUTCDate(1), f = 1, 1 === this.viewMode ? (h = e.parent().find("span").index(e), g = this.viewDate.getUTCFullYear(), this.viewDate.setUTCMonth(h)) : (h = 0, g = Number(e.text()), this.viewDate.setUTCFullYear(g)), this._trigger(r.viewModes[this.viewMode - 1].e, this.viewDate), this.viewMode === this.o.minViewMode ? this._setDate(c(g, h, f)) : (this.setViewMode(this.viewMode - 1), this.fill())), this.picker.is(":visible") && this._focused_from && this._focused_from.focus(), delete this._focused_from }, dayCellClick: function(b) { var c = a(b.currentTarget), d = c.data("date"), e = new Date(d); this.o.updateViewDate && (e.getUTCFullYear() !== this.viewDate.getUTCFullYear() && this._trigger("changeYear", this.viewDate), e.getUTCMonth() !== this.viewDate.getUTCMonth() && this._trigger("changeMonth", this.viewDate)), this._setDate(e) }, navArrowsClick: function(b) { var c = a(b.currentTarget), d = c.hasClass("prev") ? -1 : 1; 0 !== this.viewMode && (d *= 12 * r.viewModes[this.viewMode].navStep), this.viewDate = this.moveMonth(this.viewDate, d), this._trigger(r.viewModes[this.viewMode].e, this.viewDate), this.fill() }, _toggle_multidate: function(a) { var b = this.dates.contains(a); if (a || this.dates.clear(), -1 !== b ? (!0 === this.o.multidate || this.o.multidate > 1 || this.o.toggleActive) && this.dates.remove(b) : !1 === this.o.multidate ? (this.dates.clear(), this.dates.push(a)) : this.dates.push(a), "number" == typeof this.o.multidate) for (; this.dates.length > this.o.multidate;)this.dates.remove(0) }, _setDate: function(a, b) { b && "date" !== b || this._toggle_multidate(a && new Date(a)), (!b && this.o.updateViewDate || "view" === b) && (this.viewDate = a && new Date(a)), this.fill(), this.setValue(), b && "view" === b || this._trigger("changeDate"), this.inputField.trigger("change"), !this.o.autoclose || b && "date" !== b || this.hide() }, moveDay: function(a, b) { var c = new Date(a); return c.setUTCDate(a.getUTCDate() + b), c }, moveWeek: function(a, b) { return this.moveDay(a, 7 * b) }, moveMonth: function(a, b) { if (!g(a)) return this.o.defaultViewDate; if (!b) return a; var c, d, e = new Date(a.valueOf()), f = e.getUTCDate(), h = e.getUTCMonth(), i = Math.abs(b); if (b = b > 0 ? 1 : -1, 1 === i) d = -1 === b ? function() { return e.getUTCMonth() === h } : function() { return e.getUTCMonth() !== c }, c = h + b, e.setUTCMonth(c), c = (c + 12) % 12; else { for (var j = 0; j < i; j++)e = this.moveMonth(e, b); c = e.getUTCMonth(), e.setUTCDate(f), d = function() { return c !== e.getUTCMonth() } } for (; d();)e.setUTCDate(--f), e.setUTCMonth(c); return e }, moveYear: function(a, b) { return this.moveMonth(a, 12 * b) }, moveAvailableDate: function(a, b, c) { do { if (a = this[c](a, b), !this.dateWithinRange(a)) return !1; c = "moveDay" } while (this.dateIsDisabled(a)); return a }, weekOfDateIsDisabled: function(b) { return -1 !== a.inArray(b.getUTCDay(), this.o.daysOfWeekDisabled) }, dateIsDisabled: function(b) { return this.weekOfDateIsDisabled(b) || a.grep(this.o.datesDisabled, function(a) { return e(b, a) }).length > 0 }, dateWithinRange: function(a) { return a >= this.o.startDate && a <= this.o.endDate }, keydown: function(a) { if (!this.picker.is(":visible")) return void (40 !== a.keyCode && 27 !== a.keyCode || (this.show(), a.stopPropagation())); var b, c, d = !1, e = this.focusDate || this.viewDate; switch (a.keyCode) { case 27: this.focusDate ? (this.focusDate = null, this.viewDate = this.dates.get(-1) || this.viewDate, this.fill()) : this.hide(), a.preventDefault(), a.stopPropagation(); break; case 37: case 38: case 39: case 40: if (!this.o.keyboardNavigation || 7 === this.o.daysOfWeekDisabled.length) break; b = 37 === a.keyCode || 38 === a.keyCode ? -1 : 1, 0 === this.viewMode ? a.ctrlKey ? (c = this.moveAvailableDate(e, b, "moveYear")) && this._trigger("changeYear", this.viewDate) : a.shiftKey ? (c = this.moveAvailableDate(e, b, "moveMonth")) && this._trigger("changeMonth", this.viewDate) : 37 === a.keyCode || 39 === a.keyCode ? c = this.moveAvailableDate(e, b, "moveDay") : this.weekOfDateIsDisabled(e) || (c = this.moveAvailableDate(e, b, "moveWeek")) : 1 === this.viewMode ? (38 !== a.keyCode && 40 !== a.keyCode || (b *= 4), c = this.moveAvailableDate(e, b, "moveMonth")) : 2 === this.viewMode && (38 !== a.keyCode && 40 !== a.keyCode || (b *= 4), c = this.moveAvailableDate(e, b, "moveYear")), c && (this.focusDate = this.viewDate = c, this.setValue(), this.fill(), a.preventDefault()); break; case 13: if (!this.o.forceParse) break; e = this.focusDate || this.dates.get(-1) || this.viewDate, this.o.keyboardNavigation && (this._toggle_multidate(e), d = !0), this.focusDate = null, this.viewDate = this.dates.get(-1) || this.viewDate, this.setValue(), this.fill(), this.picker.is(":visible") && (a.preventDefault(), a.stopPropagation(), this.o.autoclose && this.hide()); break; case 9: this.focusDate = null, this.viewDate = this.dates.get(-1) || this.viewDate, this.fill(), this.hide() }d && (this.dates.length ? this._trigger("changeDate") : this._trigger("clearDate"), this.inputField.trigger("change")) }, setViewMode: function(a) { this.viewMode = a, this.picker.children("div").hide().filter(".datepicker-" + r.viewModes[this.viewMode].clsName).show(), this.updateNavArrows(), this._trigger("changeViewMode", new Date(this.viewDate)) } }; var l = function(b, c) { a.data(b, "datepicker", this), this.element = a(b), this.inputs = a.map(c.inputs, function(a) { return a.jquery ? a[0] : a }), delete c.inputs, this.keepEmptyValues = c.keepEmptyValues, delete c.keepEmptyValues, n.call(a(this.inputs), c).on("changeDate", a.proxy(this.dateUpdated, this)), this.pickers = a.map(this.inputs, function(b) { return a.data(b, "datepicker") }), this.updateDates() }; l.prototype = { updateDates: function() { this.dates = a.map(this.pickers, function(a) { return a.getUTCDate() }), this.updateRanges() }, updateRanges: function() { var b = a.map(this.dates, function(a) { return a.valueOf() }); a.each(this.pickers, function(a, c) { c.setRange(b) }) }, clearDates: function() { a.each(this.pickers, function(a, b) { b.clearDates() }) }, dateUpdated: function(c) { if (!this.updating) { this.updating = !0; var d = a.data(c.target, "datepicker"); if (d !== b) { var e = d.getUTCDate(), f = this.keepEmptyValues, g = a.inArray(c.target, this.inputs), h = g - 1, i = g + 1, j = this.inputs.length; if (-1 !== g) { if (a.each(this.pickers, function(a, b) { b.getUTCDate() || b !== d && f || b.setUTCDate(e) }), e < this.dates[h]) for (; h >= 0 && e < this.dates[h];)this.pickers[h--].setUTCDate(e); else if (e > this.dates[i]) for (; i < j && e > this.dates[i];)this.pickers[i++].setUTCDate(e); this.updateDates(), delete this.updating } } } }, destroy: function() { a.map(this.pickers, function(a) { a.destroy() }), a(this.inputs).off("changeDate", this.dateUpdated), delete this.element.data().datepicker }, remove: f("destroy", "Method `remove` is deprecated and will be removed in version 2.0. Use `destroy` instead") }; var m = a.fn.datepicker, n = function(c) { var d = Array.apply(null, arguments); d.shift(); var e; if (this.each(function() { var b = a(this), f = b.data("datepicker"), g = "object" == typeof c && c; if (!f) { var j = h(this, "date"), m = a.extend({}, o, j, g), n = i(m.language), p = a.extend({}, o, n, j, g); b.hasClass("input-daterange") || p.inputs ? (a.extend(p, { inputs: p.inputs || b.find("input").toArray() }), f = new l(this, p)) : f = new k(this, p), b.data("datepicker", f) } "string" == typeof c && "function" == typeof f[c] && (e = f[c].apply(f, d)) }), e === b || e instanceof k || e instanceof l) return this; if (this.length > 1) throw new Error("Using only allowed for the collection of a single element (" + c + " function)"); return e }; a.fn.datepicker = n; var o = a.fn.datepicker.defaults = { assumeNearbyYear: !1, autoclose: !1, beforeShowDay: a.noop, beforeShowMonth: a.noop, beforeShowYear: a.noop, beforeShowDecade: a.noop, beforeShowCentury: a.noop, calendarWeeks: !1, clearBtn: !1, toggleActive: !1, daysOfWeekDisabled: [], daysOfWeekHighlighted: [], datesDisabled: [], endDate: 1 / 0, forceParse: !0, format: "mm/dd/yyyy", keepEmptyValues: !1, keyboardNavigation: !0, language: "en", minViewMode: 0, maxViewMode: 4, multidate: !1, multidateSeparator: ",", orientation: "auto", rtl: !1, startDate: -1 / 0, startView: 0, todayBtn: !1, todayHighlight: !1, updateViewDate: !0, weekStart: 0, disableTouchKeyboard: !1, enableOnReadonly: !0, showOnFocus: !0, zIndexOffset: 10, container: "body", immediateUpdates: !1, title: "", templates: { leftArrow: "«", rightArrow: "»" }, showWeekDays: !0 }, p = a.fn.datepicker.locale_opts = ["format", "rtl", "weekStart"]; a.fn.datepicker.Constructor = k; var q = a.fn.datepicker.dates = { en: { days: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], daysShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], daysMin: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], monthsShort: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], today: "Today", clear: "Clear", titleFormat: "MM yyyy" } }, r = { - viewModes: [{ names: ["days", "month"], clsName: "days", e: "changeMonth" }, { names: ["months", "year"], clsName: "months", e: "changeYear", navStep: 1 }, { names: ["years", "decade"], clsName: "years", e: "changeDecade", navStep: 10 }, { names: ["decades", "century"], clsName: "decades", e: "changeCentury", navStep: 100 }, { names: ["centuries", "millennium"], clsName: "centuries", e: "changeMillennium", navStep: 1e3 }], validParts: /dd?|DD?|mm?|MM?|yy(?:yy)?/g, nonpunctuation: /[^ -\/:-@\u5e74\u6708\u65e5\[-`{-~\t\n\r]+/g, parseFormat: function(a) { if ("function" == typeof a.toValue && "function" == typeof a.toDisplay) return a; var b = a.replace(this.validParts, "\0").split("\0"), c = a.match(this.validParts); if (!b || !b.length || !c || 0 === c.length) throw new Error("Invalid date format."); return { separators: b, parts: c } }, parseDate: function(c, e, f, g) { function h(a, b) { return !0 === b && (b = 10), a < 100 && (a += 2e3) > (new Date).getFullYear() + b && (a -= 100), a } function i() { var a = this.slice(0, j[n].length), b = j[n].slice(0, a.length); return a.toLowerCase() === b.toLowerCase() } if (!c) return b; if (c instanceof Date) return c; if ("string" == typeof e && (e = r.parseFormat(e)), e.toValue) return e.toValue(c, e, f); var j, l, m, n, o, p = { d: "moveDay", m: "moveMonth", w: "moveWeek", y: "moveYear" }, s = { yesterday: "-1d", today: "+0d", tomorrow: "+1d" }; if (c in s && (c = s[c]), /^[\-+]\d+[dmwy]([\s,]+[\-+]\d+[dmwy])*$/i.test(c)) { for (j = c.match(/([\-+]\d+)([dmwy])/gi), c = new Date, n = 0; n < j.length; n++)l = j[n].match(/([\-+]\d+)([dmwy])/i), m = Number(l[1]), o = p[l[2].toLowerCase()], c = k.prototype[o](c, m); return k.prototype._zero_utc_time(c) } j = c && c.match(this.nonpunctuation) || []; var t, u, v = {}, w = ["yyyy", "yy", "M", "MM", "m", "mm", "d", "dd"], x = { yyyy: function(a, b) { return a.setUTCFullYear(g ? h(b, g) : b) }, m: function(a, b) { if (isNaN(a)) return a; for (b -= 1; b < 0;)b += 12; for (b %= 12, a.setUTCMonth(b); a.getUTCMonth() !== b;)a.setUTCDate(a.getUTCDate() - 1); return a }, d: function(a, b) { return a.setUTCDate(b) } }; x.yy = x.yyyy, x.M = x.MM = x.mm = x.m, x.dd = x.d, c = d(); var y = e.parts.slice(); if (j.length !== y.length && (y = a(y).filter(function(b, c) { return -1 !== a.inArray(c, w) }).toArray()), j.length === y.length) { var z; for (n = 0, z = y.length; n < z; n++) { if (t = parseInt(j[n], 10), l = y[n], isNaN(t)) switch (l) { case "MM": u = a(q[f].months).filter(i), t = a.inArray(u[0], q[f].months) + 1; break; case "M": u = a(q[f].monthsShort).filter(i), t = a.inArray(u[0], q[f].monthsShort) + 1 }v[l] = t } var A, B; for (n = 0; n < w.length; n++)(B = w[n]) in v && !isNaN(v[B]) && (A = new Date(c), x[B](A, v[B]), isNaN(A) || (c = A)) } return c }, formatDate: function(b, c, d) { if (!b) return ""; if ("string" == typeof c && (c = r.parseFormat(c)), c.toDisplay) return c.toDisplay(b, c, d); var e = { d: b.getUTCDate(), D: q[d].daysShort[b.getUTCDay()], DD: q[d].days[b.getUTCDay()], m: b.getUTCMonth() + 1, M: q[d].monthsShort[b.getUTCMonth()], MM: q[d].months[b.getUTCMonth()], yy: b.getUTCFullYear().toString().substring(2), yyyy: b.getUTCFullYear() }; e.dd = (e.d < 10 ? "0" : "") + e.d, e.mm = (e.m < 10 ? "0" : "") + e.m, b = []; for (var f = a.extend([], c.separators), g = 0, h = c.parts.length; g <= h; g++)f.length && b.push(f.shift()), b.push(e[c.parts[g]]); return b.join("") }, - headTemplate: '' + o.templates.leftArrow + '' + o.templates.rightArrow + "", contTemplate: '', footTemplate: '' - }; r.template = '
' + r.headTemplate + "" + r.footTemplate + '
' + r.headTemplate + r.contTemplate + r.footTemplate + '
' + r.headTemplate + r.contTemplate + r.footTemplate + '
' + r.headTemplate + r.contTemplate + r.footTemplate + '
' + r.headTemplate + r.contTemplate + r.footTemplate + "
", a.fn.datepicker.DPGlobal = r, a.fn.datepicker.noConflict = function() { return a.fn.datepicker = m, this }, a.fn.datepicker.version = "1.9.0", a.fn.datepicker.deprecated = function(a) { var b = window.console; b && b.warn && b.warn("DEPRECATED: " + a) }, a(document).on("focus.datepicker.data-api click.datepicker.data-api", '[data-provide="datepicker"]', function(b) { var c = a(this); c.data("datepicker") || (b.preventDefault(), n.call(c, "show")) }), a(function() { n.call(a('[data-provide="datepicker-inline"]')) }) -}); diff --git a/packages/base-design/Resources/Public/JavaScript/Dist/jquery-3.7.1.min.js b/packages/base-design/Resources/Public/JavaScript/Dist/jquery-3.7.1.min.js deleted file mode 100644 index 7f37b5d..0000000 --- a/packages/base-design/Resources/Public/JavaScript/Dist/jquery-3.7.1.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */ -!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(ie,e){"use strict";var oe=[],r=Object.getPrototypeOf,ae=oe.slice,g=oe.flat?function(e){return oe.flat.call(e)}:function(e){return oe.concat.apply([],e)},s=oe.push,se=oe.indexOf,n={},i=n.toString,ue=n.hasOwnProperty,o=ue.toString,a=o.call(Object),le={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},C=ie.document,u={type:!0,src:!0,nonce:!0,noModule:!0};function m(e,t,n){var r,i,o=(n=n||C).createElement("script");if(o.text=e,t)for(r in u)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e}var t="3.7.1",l=/HTML$/i,ce=function(e,t){return new ce.fn.init(e,t)};function c(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+ge+")"+ge+"*"),x=new RegExp(ge+"|>"),j=new RegExp(g),A=new RegExp("^"+t+"$"),D={ID:new RegExp("^#("+t+")"),CLASS:new RegExp("^\\.("+t+")"),TAG:new RegExp("^("+t+"|[*])"),ATTR:new RegExp("^"+p),PSEUDO:new RegExp("^"+g),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ge+"*(even|odd|(([+-]|)(\\d*)n|)"+ge+"*(?:([+-]|)"+ge+"*(\\d+)|))"+ge+"*\\)|)","i"),bool:new RegExp("^(?:"+f+")$","i"),needsContext:new RegExp("^"+ge+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ge+"*((?:-\\d)?\\d*)"+ge+"*\\)|)(?=[^-]|$)","i")},N=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,L=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,H=/[+~]/,O=new RegExp("\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\([^\\r\\n\\f])","g"),P=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},M=function(){V()},R=J(function(e){return!0===e.disabled&&fe(e,"fieldset")},{dir:"parentNode",next:"legend"});try{k.apply(oe=ae.call(ye.childNodes),ye.childNodes),oe[ye.childNodes.length].nodeType}catch(e){k={apply:function(e,t){me.apply(e,ae.call(t))},call:function(e){me.apply(e,ae.call(arguments,1))}}}function I(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(V(e),e=e||T,C)){if(11!==p&&(u=L.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return k.call(n,a),n}else if(f&&(a=f.getElementById(i))&&I.contains(e,a)&&a.id===i)return k.call(n,a),n}else{if(u[2])return k.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&e.getElementsByClassName)return k.apply(n,e.getElementsByClassName(i)),n}if(!(h[t+" "]||d&&d.test(t))){if(c=t,f=e,1===p&&(x.test(t)||m.test(t))){(f=H.test(t)&&U(e.parentNode)||e)==e&&le.scope||((s=e.getAttribute("id"))?s=ce.escapeSelector(s):e.setAttribute("id",s=S)),o=(l=Y(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+Q(l[o]);c=l.join(",")}try{return k.apply(n,f.querySelectorAll(c)),n}catch(e){h(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return re(t.replace(ve,"$1"),e,n,r)}function W(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function F(e){return e[S]=!0,e}function $(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function B(t){return function(e){return fe(e,"input")&&e.type===t}}function _(t){return function(e){return(fe(e,"input")||fe(e,"button"))&&e.type===t}}function z(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&R(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function X(a){return F(function(o){return o=+o,F(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function U(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function V(e){var t,n=e?e.ownerDocument||e:ye;return n!=T&&9===n.nodeType&&n.documentElement&&(r=(T=n).documentElement,C=!ce.isXMLDoc(T),i=r.matches||r.webkitMatchesSelector||r.msMatchesSelector,r.msMatchesSelector&&ye!=T&&(t=T.defaultView)&&t.top!==t&&t.addEventListener("unload",M),le.getById=$(function(e){return r.appendChild(e).id=ce.expando,!T.getElementsByName||!T.getElementsByName(ce.expando).length}),le.disconnectedMatch=$(function(e){return i.call(e,"*")}),le.scope=$(function(){return T.querySelectorAll(":scope")}),le.cssHas=$(function(){try{return T.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),le.getById?(b.filter.ID=function(e){var t=e.replace(O,P);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(O,P);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},b.find.CLASS=function(e,t){if("undefined"!=typeof t.getElementsByClassName&&C)return t.getElementsByClassName(e)},d=[],$(function(e){var t;r.appendChild(e).innerHTML="",e.querySelectorAll("[selected]").length||d.push("\\["+ge+"*(?:value|"+f+")"),e.querySelectorAll("[id~="+S+"-]").length||d.push("~="),e.querySelectorAll("a#"+S+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=T.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),r.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=T.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+ge+"*name"+ge+"*="+ge+"*(?:''|\"\")")}),le.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),l=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!le.sortDetached&&t.compareDocumentPosition(e)===n?e===T||e.ownerDocument==ye&&I.contains(ye,e)?-1:t===T||t.ownerDocument==ye&&I.contains(ye,t)?1:o?se.call(o,e)-se.call(o,t):0:4&n?-1:1)}),T}for(e in I.matches=function(e,t){return I(e,null,null,t)},I.matchesSelector=function(e,t){if(V(e),C&&!h[t+" "]&&(!d||!d.test(t)))try{var n=i.call(e,t);if(n||le.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){h(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(O,P),e[3]=(e[3]||e[4]||e[5]||"").replace(O,P),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||I.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&I.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return D.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&j.test(n)&&(t=Y(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(O,P).toLowerCase();return"*"===e?function(){return!0}:function(e){return fe(e,t)}},CLASS:function(e){var t=s[e+" "];return t||(t=new RegExp("(^|"+ge+")"+e+"("+ge+"|$)"))&&s(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=I.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function T(e,n,r){return v(n)?ce.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?ce.grep(e,function(e){return e===n!==r}):"string"!=typeof n?ce.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(ce.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||k,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:S.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ce?t[0]:t,ce.merge(this,ce.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),w.test(r[1])&&ce.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=C.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(ce):ce.makeArray(e,this)}).prototype=ce.fn,k=ce(C);var E=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){while((e=e[t])&&1!==e.nodeType);return e}ce.fn.extend({has:function(e){var t=ce(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,Ce=/^$|^module$|\/(?:java|ecma)script/i;xe=C.createDocumentFragment().appendChild(C.createElement("div")),(be=C.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),xe.appendChild(be),le.checkClone=xe.cloneNode(!0).cloneNode(!0).lastChild.checked,xe.innerHTML="",le.noCloneChecked=!!xe.cloneNode(!0).lastChild.defaultValue,xe.innerHTML="",le.option=!!xe.lastChild;var ke={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function Se(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&fe(e,t)?ce.merge([e],n):n}function Ee(e,t){for(var n=0,r=e.length;n",""]);var je=/<|&#?\w+;/;function Ae(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function Re(e,t){return fe(e,"table")&&fe(11!==t.nodeType?t:t.firstChild,"tr")&&ce(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function We(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(_.hasData(e)&&(s=_.get(e).events))for(i in _.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(r[0])},abort:function(){i&&i()}}});var Jt,Kt=[],Zt=/(=)\?(?=&|$)|\?\?/;ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Kt.pop()||ce.expando+"_"+jt.guid++;return this[e]=!0,e}}),ce.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Zt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Zt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Zt,"$1"+r):!1!==e.jsonp&&(e.url+=(At.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||ce.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=ie[r],ie[r]=function(){o=arguments},n.always(function(){void 0===i?ce(ie).removeProp(r):ie[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Kt.push(r)),o&&v(i)&&i(o[0]),o=i=void 0}),"script"}),le.createHTMLDocument=((Jt=C.implementation.createHTMLDocument("").body).innerHTML="
",2===Jt.childNodes.length),ce.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(le.createHTMLDocument?((r=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(r)):t=C),o=!n&&[],(i=w.exec(e))?[t.createElement(i[1])]:(i=Ae([e],t,o),o&&o.length&&ce(o).remove(),ce.merge([],i.childNodes)));var r,i,o},ce.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(ce.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},ce.expr.pseudos.animated=function(t){return ce.grep(ce.timers,function(e){return t===e.elem}).length},ce.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=ce.css(e,"position"),c=ce(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=ce.css(e,"top"),u=ce.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),v(t)&&(t=t.call(e,n,ce.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},ce.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ce.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===ce.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===ce.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=ce(e).offset()).top+=ce.css(e,"borderTopWidth",!0),i.left+=ce.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-ce.css(r,"marginTop",!0),left:t.left-i.left-ce.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===ce.css(e,"position"))e=e.offsetParent;return e||J})}}),ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;ce.fn[t]=function(e){return M(this,function(e,t,n){var r;if(y(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),ce.each(["top","left"],function(e,n){ce.cssHooks[n]=Ye(le.pixelPosition,function(e,t){if(t)return t=Ge(e,n),_e.test(t)?ce(e).position()[n]+"px":t})}),ce.each({Height:"height",Width:"width"},function(a,s){ce.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){ce.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return M(this,function(e,t,n){var r;return y(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?ce.css(e,t,i):ce.style(e,t,n,i)},s,n?e:void 0,n)}})}),ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ce.fn[t]=function(e){return this.on(t,e)}}),ce.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),ce.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){ce.fn[n]=function(e,t){return 0', { id: options.popupId }); - // grab body element if it was not populated when the script loaded - // note: this hack exists solely for jsfiddle support - if ($body.length === 0) { - $body = $('body'); - } - $body.append(tipElement); - } - - // hook mousemove for cursor follow tooltips - if (options.followMouse) { - // only one positionTipOnCursor hook per tooltip element, please - if (!tipElement.data(DATA_HASMOUSEMOVE)) { - $document.on('mousemove', positionTipOnCursor); - $window.on('scroll', positionTipOnCursor); - tipElement.data(DATA_HASMOUSEMOVE, true); - } - } - - // if we want to be able to mouse onto the tooltip then we need to attach - // hover events to the tooltip that will cancel a close request on hover and - // start a new close request on mouseleave - if (options.mouseOnToPopup) { - tipElement.on({ - mouseenter: function tipMouseEnter() { - // we only let the mouse stay on the tooltip if it is set to let - // users interact with it - if (tipElement.data(DATA_MOUSEONTOTIP)) { - // check activeHover in case the mouse cursor entered the - // tooltip during the fadeOut and close cycle - if (session.activeHover) { - session.activeHover.data(DATA_DISPLAYCONTROLLER).cancel(); - } - } - }, - mouseleave: function tipMouseLeave() { - // check activeHover in case the mouse cursor entered the - // tooltip during the fadeOut and close cycle - if (session.activeHover) { - session.activeHover.data(DATA_DISPLAYCONTROLLER).hide(); - } - } - }); - } - - /** - * Gives the specified element the active-hover state and queues up the - * showTip function. - * @private - * @param {jQuery} element The element that the tooltip should target. - */ - function beginShowTip(element) { - element.data(DATA_HASACTIVEHOVER, true); - // show tooltip, asap - tipElement.queue(function queueTipInit(next) { - showTip(element); - next(); - }); - } - - /** - * Shows the tooltip, as soon as possible. - * @private - * @param {jQuery} element The element that the tooltip should target. - */ - function showTip(element) { - var tipContent; - - // it is possible, especially with keyboard navigation, to move on to - // another element with a tooltip during the queue to get to this point - // in the code. if that happens then we need to not proceed or we may - // have the fadeout callback for the last tooltip execute immediately - // after this code runs, causing bugs. - if (!element.data(DATA_HASACTIVEHOVER)) { - return; - } - - // if the tooltip is open and we got asked to open another one then the - // old one is still in its fadeOut cycle, so wait and try again - if (session.isTipOpen) { - if (!session.isClosing) { - hideTip(session.activeHover); - } - tipElement.delay(100).queue(function queueTipAgain(next) { - showTip(element); - next(); - }); - return; - } - - // trigger powerTipPreRender event - element.trigger('powerTipPreRender'); - - // set tooltip content - tipContent = getTooltipContent(element); - if (tipContent) { - tipElement.empty().append(tipContent); - } else { - // we have no content to display, give up - return; - } - - // trigger powerTipRender event - element.trigger('powerTipRender'); - - session.activeHover = element; - session.isTipOpen = true; - - tipElement.data(DATA_MOUSEONTOTIP, options.mouseOnToPopup); - - // set tooltip position - if (!options.followMouse) { - positionTipOnElement(element); - session.isFixedTipOpen = true; - } else { - positionTipOnCursor(); - } - - // fadein - tipElement.fadeIn(options.fadeInTime, function fadeInCallback() { - // start desync polling - if (!session.desyncTimeout) { - session.desyncTimeout = setInterval(closeDesyncedTip, 500); - } - - // trigger powerTipOpen event - element.trigger('powerTipOpen'); - }); - } - - /** - * Hides the tooltip. - * @private - * @param {jQuery} element The element that the tooltip should target. - */ - function hideTip(element) { - // reset session - session.isClosing = true; - session.activeHover = null; - session.isTipOpen = false; - - // stop desync polling - session.desyncTimeout = clearInterval(session.desyncTimeout); - - // reset element state - element.data(DATA_HASACTIVEHOVER, false); - element.data(DATA_FORCEDOPEN, false); - - // fade out - tipElement.fadeOut(options.fadeOutTime, function fadeOutCallback() { - var coords = new CSSCoordinates(); - - // reset session and tooltip element - session.isClosing = false; - session.isFixedTipOpen = false; - tipElement.removeClass(); - - // support mouse-follow and fixed position tips at the same time by - // moving the tooltip to the last cursor location after it is hidden - coords.set('top', session.currentY + options.offset); - coords.set('left', session.currentX + options.offset); - tipElement.css(coords); - - // trigger powerTipClose event - element.trigger('powerTipClose'); - }); - } - - /** - * Moves the tooltip to the users mouse cursor. - * @private - */ - function positionTipOnCursor() { - // to support having fixed tooltips on the same page as cursor tooltips, - // where both instances are referencing the same tooltip element, we - // need to keep track of the mouse position constantly, but we should - // only set the tip location if a fixed tip is not currently open, a tip - // open is imminent or active, and the tooltip element in question does - // have a mouse-follow using it. - if (!session.isFixedTipOpen && (session.isTipOpen || (session.tipOpenImminent && tipElement.data(DATA_HASMOUSEMOVE)))) { - // grab measurements - var tipWidth = tipElement.outerWidth(), - tipHeight = tipElement.outerHeight(), - coords = new CSSCoordinates(), - collisions, - collisionCount; - - // grab collisions - coords.set('top', session.currentY + options.offset); - coords.set('left', session.currentX + options.offset); - collisions = getViewportCollisions( - coords, - tipWidth, - tipHeight - ); - - // handle tooltip view port collisions - if (collisions !== Collision.none) { - collisionCount = countFlags(collisions); - if (collisionCount === 1) { - // if there is only one collision (bottom or right) then - // simply constrain the tooltip to the view port - if (collisions === Collision.right) { - coords.set('left', session.windowWidth - tipWidth); - } else if (collisions === Collision.bottom) { - coords.set('top', session.scrollTop + session.windowHeight - tipHeight); - } - } else { - // if the tooltip has more than one collision then it is - // trapped in the corner and should be flipped to get it out - // of the users way - coords.set('left', session.currentX - tipWidth - options.offset); - coords.set('top', session.currentY - tipHeight - options.offset); - } - } - - // position the tooltip - tipElement.css(coords); - } - } - - /** - * Sets the tooltip to the correct position relative to the specified target - * element. Based on options settings. - * @private - * @param {jQuery} element The element that the tooltip should target. - */ - function positionTipOnElement(element) { - var priorityList, - finalPlacement; - - if (options.smartPlacement) { - priorityList = $.fn.powerTip.smartPlacementLists[options.placement]; - - // iterate over the priority list and use the first placement option - // that does not collide with the view port. if they all collide - // then the last placement in the list will be used. - $.each(priorityList, function(idx, pos) { - // place tooltip and find collisions - var collisions = getViewportCollisions( - placeTooltip(element, pos), - tipElement.outerWidth(), - tipElement.outerHeight() - ); - - // update the final placement variable - finalPlacement = pos; - - // break if there were no collisions - if (collisions === Collision.none) { - return false; - } - }); - } else { - // if we're not going to use the smart placement feature then just - // compute the coordinates and do it - placeTooltip(element, options.placement); - finalPlacement = options.placement; - } - - // add placement as class for CSS arrows - tipElement.addClass(finalPlacement); - } - - /** - * Sets the tooltip position to the appropriate values to show the tip at - * the specified placement. This function will iterate and test the tooltip - * to support elastic tooltips. - * @private - * @param {jQuery} element The element that the tooltip should target. - * @param {string} placement The placement for the tooltip. - * @return {CSSCoordinates} A CSSCoordinates object with the top, left, and - * right position values. - */ - function placeTooltip(element, placement) { - var iterationCount = 0, - tipWidth, - tipHeight, - coords = new CSSCoordinates(); - - // set the tip to 0,0 to get the full expanded width - coords.set('top', 0); - coords.set('left', 0); - tipElement.css(coords); - - // to support elastic tooltips we need to check for a change in the - // rendered dimensions after the tooltip has been positioned - do { - // grab the current tip dimensions - tipWidth = tipElement.outerWidth(); - tipHeight = tipElement.outerHeight(); - - // get placement coordinates - coords = placementCalculator.compute( - element, - placement, - tipWidth, - tipHeight, - options.offset - ); - - // place the tooltip - tipElement.css(coords); - } while ( - // sanity check: limit to 5 iterations, and... - ++iterationCount <= 5 && - // try again if the dimensions changed after placement - (tipWidth !== tipElement.outerWidth() || tipHeight !== tipElement.outerHeight()) - ); - - return coords; - } - - /** - * Checks for a tooltip desync and closes the tooltip if one occurs. - * @private - */ - function closeDesyncedTip() { - var isDesynced = false; - // It is possible for the mouse cursor to leave an element without - // firing the mouseleave or blur event. This most commonly happens when - // the element is disabled under mouse cursor. If this happens it will - // result in a desynced tooltip because the tooltip was never asked to - // close. So we should periodically check for a desync situation and - // close the tip if such a situation arises. - if (session.isTipOpen && !session.isClosing && !session.delayInProgress) { - // user moused onto another tip or active hover is disabled - if (session.activeHover.data(DATA_HASACTIVEHOVER) === false || session.activeHover.is(':disabled')) { - isDesynced = true; - } else { - // hanging tip - have to test if mouse position is not over the - // active hover and not over a tooltip set to let the user - // interact with it. - // for keyboard navigation: this only counts if the element does - // not have focus. - // for tooltips opened via the api: we need to check if it has - // the forcedOpen flag. - if (!isMouseOver(session.activeHover) && !session.activeHover.is(':focus') && !session.activeHover.data(DATA_FORCEDOPEN)) { - if (tipElement.data(DATA_MOUSEONTOTIP)) { - if (!isMouseOver(tipElement)) { - isDesynced = true; - } - } else { - isDesynced = true; - } - } - } - - if (isDesynced) { - // close the desynced tip - hideTip(session.activeHover); - } - } - } - - // expose methods - this.showTip = beginShowTip; - this.hideTip = hideTip; - this.resetPosition = positionTipOnElement; - } - - /** - * Determine whether a jQuery object is an SVG element - * @private - * @param {jQuery} element The element to check - * @return {boolean} Whether this is an SVG element - */ - function isSvgElement(element) { - return window.SVGElement && element[0] instanceof SVGElement; - } - - /** - * Initializes the viewport dimension cache and hooks up the mouse position - * tracking and viewport dimension tracking events. - * Prevents attaching the events more than once. - * @private - */ - function initTracking() { - if (!session.mouseTrackingActive) { - session.mouseTrackingActive = true; - - // grab the current viewport dimensions on load - $(function getViewportDimensions() { - session.scrollLeft = $window.scrollLeft(); - session.scrollTop = $window.scrollTop(); - session.windowWidth = $window.width(); - session.windowHeight = $window.height(); - }); - - // hook mouse move tracking - $document.on('mousemove', trackMouse); - - // hook viewport dimensions tracking - $window.on({ - resize: function trackResize() { - session.windowWidth = $window.width(); - session.windowHeight = $window.height(); - }, - scroll: function trackScroll() { - var x = $window.scrollLeft(), - y = $window.scrollTop(); - if (x !== session.scrollLeft) { - session.currentX += x - session.scrollLeft; - session.scrollLeft = x; - } - if (y !== session.scrollTop) { - session.currentY += y - session.scrollTop; - session.scrollTop = y; - } - } - }); - } - } - - /** - * Saves the current mouse coordinates to the session object. - * @private - * @param {jQuery.Event} event The mousemove event for the document. - */ - function trackMouse(event) { - session.currentX = event.pageX; - session.currentY = event.pageY; - } - - /** - * Tests if the mouse is currently over the specified element. - * @private - * @param {jQuery} element The element to check for hover. - * @return {boolean} - */ - function isMouseOver(element) { - // use getBoundingClientRect() because jQuery's width() and height() - // methods do not work with SVG elements - // compute width/height because those properties do not exist on the object - // returned by getBoundingClientRect() in older versions of IE - var elementPosition = element.offset(), - elementBox = element[0].getBoundingClientRect(), - elementWidth = elementBox.right - elementBox.left, - elementHeight = elementBox.bottom - elementBox.top; - - return session.currentX >= elementPosition.left && - session.currentX <= elementPosition.left + elementWidth && - session.currentY >= elementPosition.top && - session.currentY <= elementPosition.top + elementHeight; - } - - /** - * Fetches the tooltip content from the specified element's data attributes. - * @private - * @param {jQuery} element The element to get the tooltip content for. - * @return {(string|jQuery|undefined)} The text/HTML string, jQuery object, or - * undefined if there was no tooltip content for the element. - */ - function getTooltipContent(element) { - var tipText = element.data(DATA_POWERTIP), - tipObject = element.data(DATA_POWERTIPJQ), - tipTarget = element.data(DATA_POWERTIPTARGET), - targetElement, - content; - - if (tipText) { - if ($.isFunction(tipText)) { - tipText = tipText.call(element[0]); - } - content = tipText; - } else if (tipObject) { - if ($.isFunction(tipObject)) { - tipObject = tipObject.call(element[0]); - } - if (tipObject.length > 0) { - content = tipObject.clone(true, true); - } - } else if (tipTarget) { - targetElement = $('#' + tipTarget); - if (targetElement.length > 0) { - content = targetElement.html(); - } - } - - return content; - } - - /** - * Finds any viewport collisions that an element (the tooltip) would have if it - * were absolutely positioned at the specified coordinates. - * @private - * @param {CSSCoordinates} coords Coordinates for the element. - * @param {number} elementWidth Width of the element in pixels. - * @param {number} elementHeight Height of the element in pixels. - * @return {number} Value with the collision flags. - */ - function getViewportCollisions(coords, elementWidth, elementHeight) { - var viewportTop = session.scrollTop, - viewportLeft = session.scrollLeft, - viewportBottom = viewportTop + session.windowHeight, - viewportRight = viewportLeft + session.windowWidth, - collisions = Collision.none; - - if (coords.top < viewportTop || Math.abs(coords.bottom - session.windowHeight) - elementHeight < viewportTop) { - collisions |= Collision.top; - } - if (coords.top + elementHeight > viewportBottom || Math.abs(coords.bottom - session.windowHeight) > viewportBottom) { - collisions |= Collision.bottom; - } - if (coords.left < viewportLeft || coords.right + elementWidth > viewportRight) { - collisions |= Collision.left; - } - if (coords.left + elementWidth > viewportRight || coords.right < viewportLeft) { - collisions |= Collision.right; - } - - return collisions; - } - - /** - * Counts the number of bits set on a flags value. - * @param {number} value The flags value. - * @return {number} The number of bits that have been set. - */ - function countFlags(value) { - var count = 0; - while (value) { - value &= value - 1; - count++; - } - return count; - } - -})); \ No newline at end of file diff --git a/packages/base-design/Resources/Public/JavaScript/matomo.js b/packages/base-design/Resources/Public/JavaScript/matomo.js deleted file mode 100644 index 7f8ee08..0000000 --- a/packages/base-design/Resources/Public/JavaScript/matomo.js +++ /dev/null @@ -1,11 +0,0 @@ -var _paq = window._paq = window._paq || []; -/* tracker methods like "setCustomDimension" should be called before "trackPageView" */ -_paq.push(['trackPageView']); -_paq.push(['enableLinkTracking']); -(function() { - var u="https://matomo.cloonar.com/"; - _paq.push(['setTrackerUrl', u+'matomo.php']); - _paq.push(['setSiteId', '6']); - var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; - g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s); -})(); diff --git a/packages/base-design/Resources/Public/JavaScript/meta-nav.js b/packages/base-design/Resources/Public/JavaScript/meta-nav.js deleted file mode 100644 index cb702e2..0000000 --- a/packages/base-design/Resources/Public/JavaScript/meta-nav.js +++ /dev/null @@ -1,7 +0,0 @@ -(function($) { - console.log("test"); - $('#meta_menu').click(function (e) { - console.log("test"); - $('#meta_menu').toggleClass('opened'); - }); -}(jQuery || $)); diff --git a/packages/base-design/Resources/Public/JavaScript/newsAjaxPagination.js b/packages/base-design/Resources/Public/JavaScript/newsAjaxPagination.js deleted file mode 100644 index 6cc4d0d..0000000 --- a/packages/base-design/Resources/Public/JavaScript/newsAjaxPagination.js +++ /dev/null @@ -1,31 +0,0 @@ -document.querySelectorAll('.f3-widget-paginator a').forEach(function (el) { - el.addEventListener('click', newsAjaxHandler); -}); - -function newsAjaxHandler(e) { - var ajaxUrl = e.target.getAttribute('href'); - if (ajaxUrl !== undefined && ajaxUrl !== '') { - e.preventDefault(); - history.pushState(null, '', ajaxUrl.split('?')[0]); - var container = e.target.closest('.frame').getAttribute('id'); - document.getElementById(container).classList.add('loading'); - var xhr = new XMLHttpRequest(); - xhr.open('GET', ajaxUrl, true); - xhr.onreadystatechange = function() { - if (xhr.readyState === 4 && xhr.status === 200) { - var parser = new DOMParser(); - var result = parser.parseFromString(xhr.responseText, 'text/html'); - var ajaxDom = result.getElementById(container); - ajaxDom.querySelectorAll('.f3-widget-paginator a').forEach(function (el) { - el.addEventListener('click', newsAjaxHandler); - }); - document.getElementById(container).replaceWith(ajaxDom); - window.scrollTo({ - top: document.getElementById(container).offsetTop - 111, - behavior: 'smooth' - }); - } - }; - xhr.send(); - } -} diff --git a/packages/base-design/Resources/Public/JavaScript/search.js b/packages/base-design/Resources/Public/JavaScript/search.js deleted file mode 100644 index 4681735..0000000 --- a/packages/base-design/Resources/Public/JavaScript/search.js +++ /dev/null @@ -1,15 +0,0 @@ -const searchButton = document.querySelector(".search-wrap button"); -searchButton.addEventListener("click", function (e) { - if(window.innerWidth < 992) return; - e.preventDefault(); - if (!searchButton.parentElement.parentElement.parentElement.classList.contains('opened')) { - searchButton.parentElement.parentElement.parentElement.classList.add('opened'); - searchButton.parentElement.previousElementSibling.focus(); - } else { - if (searchButton.parentElement.previousElementSibling.value != '') { - searchButton.closest('form').submit(); - } else { - searchButton.parentElement.parentElement.parentElement.classList.remove('opened'); - } - } -}); diff --git a/packages/base-design/Resources/Public/Scss/Layout/_fonts.scss b/packages/base-design/Resources/Public/Scss/Layout/_fonts.scss deleted file mode 100644 index fbacb6d..0000000 --- a/packages/base-design/Resources/Public/Scss/Layout/_fonts.scss +++ /dev/null @@ -1,3 +0,0 @@ -body { - font-family: 'sans-serif' -} diff --git a/packages/base-design/Resources/Public/Scss/Layout/_footer.scss b/packages/base-design/Resources/Public/Scss/Layout/_footer.scss deleted file mode 100644 index e69de29..0000000 diff --git a/packages/base-design/Resources/Public/Scss/Layout/_form.scss b/packages/base-design/Resources/Public/Scss/Layout/_form.scss deleted file mode 100644 index e69de29..0000000 diff --git a/packages/base-design/Resources/Public/Scss/Layout/_frame.scss b/packages/base-design/Resources/Public/Scss/Layout/_frame.scss deleted file mode 100644 index eeb90bb..0000000 --- a/packages/base-design/Resources/Public/Scss/Layout/_frame.scss +++ /dev/null @@ -1,21 +0,0 @@ -:root { - --frame-outer-spacing-variant-zero: 0; - --frame-outer-spacing-variant-none: 2rem; - --frame-outer-spacing-variant-extra-large: 10rem; -} - -.frame-space-after-none { - --frame-outer-spacing-after: var(--frame-outer-spacing-variant-none) !important; -} - -.frame-space-before-none { - --frame-outer-spacing-before: var(--frame-outer-spacing-variant-none) !important; -} - -.frame-space-after-zero { - --frame-outer-spacing-after: var(--frame-outer-spacing-variant-zero); -} - -.frame-space-before-zero { - --frame-outer-spacing-before: var(--frame-outer-spacing-variant-zero); -} diff --git a/packages/base-design/Resources/Public/Scss/Layout/_search.scss b/packages/base-design/Resources/Public/Scss/Layout/_search.scss deleted file mode 100644 index e69de29..0000000 diff --git a/packages/base-design/Resources/Public/Scss/Layout/_text.scss b/packages/base-design/Resources/Public/Scss/Layout/_text.scss deleted file mode 100644 index 720b471..0000000 --- a/packages/base-design/Resources/Public/Scss/Layout/_text.scss +++ /dev/null @@ -1,35 +0,0 @@ -h1, h2, h3, h4, h5, h6 { - font-weight: 500; - color: $primary; -} - -.frame-background-primary { - color: $white; - - .btn-primary { - background: $white; - color: $primary; - } - - h1, h2, h3, h4, h5, h6 { - color: $white; - } -} - -.frame-background-light { - -} - -a { - text-decoration: none; -} - -.btn { - border-radius: 0; - border: none; - box-shadow: none; -} - -.btn-primary { - color: $white; -} diff --git a/packages/base-design/Resources/Public/Scss/Layout/layout.scss b/packages/base-design/Resources/Public/Scss/Layout/layout.scss deleted file mode 100644 index da7c6f7..0000000 --- a/packages/base-design/Resources/Public/Scss/Layout/layout.scss +++ /dev/null @@ -1,6 +0,0 @@ -@import "fonts"; -@import "footer"; -@import "form"; -@import "frame"; -@import "search"; -@import "text"; diff --git a/packages/base-design/Resources/Public/Scss/main.scss b/packages/base-design/Resources/Public/Scss/main.scss deleted file mode 100644 index b86fbd3..0000000 --- a/packages/base-design/Resources/Public/Scss/main.scss +++ /dev/null @@ -1,22 +0,0 @@ -@import "../../../../../vendor/bk2k/bootstrap-package/Resources/Public/Scss/bootstrap5/theme.scss"; - -@import "Layout/layout"; -@import "Elements/elements"; - -.frame { - &.loading { - position: relative; - - &:before { - content: ' '; - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - z-index: 1; - background: rgba(255, 255, 255, .5); - } - } -} - diff --git a/packages/base-design/composer.json b/packages/base-design/composer.json deleted file mode 100644 index 2abfbb8..0000000 --- a/packages/base-design/composer.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "cloonar-typo3/base-design", - "authors": [ - { - "name": "Dominik Polakovics", - "role": "Developer", - "homepage": "https://www.cloonar.com" - } - ], - "type": "typo3-cms-extension", - "description": "Template for Typo3 extending bootstrap package", - "homepage": "https://www.cloonar.com", - "require": { - "bk2k/bootstrap-package": "^15.0" - }, - "autoload": { - "psr-4": { - "Cloonar\\BaseDesign\\": "Classes" - } - }, - "extra": { - "typo3/cms": { - "extension-key": "base_design" - } - }, - "config": { - "allow-plugins": { - "typo3/cms-composer-installers": true, - "typo3/class-alias-loader": true - } - } -} diff --git a/packages/base-design/ext_emconf.php b/packages/base-design/ext_emconf.php deleted file mode 100644 index 523be14..0000000 --- a/packages/base-design/ext_emconf.php +++ /dev/null @@ -1,20 +0,0 @@ - 'Base Design Package', - 'description' => 'Base Design Customization.', - 'category' => 'templates', - 'autoload' => [ - 'psr-4' => [ - 'Cloonar\\BaseDesign\\' => 'Classes' - ], - ], - 'state' => 'stable', - 'uploadfolder' => true, - 'createDirs' => '', - 'clearCacheOnLoad' => 1, - 'author' => 'Dominik Polakovics', - 'author_email' => 'dominik.polakovics@cloonar.com', - 'author_company' => 'private', - 'version' => '1.0.0', -); diff --git a/packages/base-design/ext_localconf.php b/packages/base-design/ext_localconf.php deleted file mode 100644 index 90f3981..0000000 --- a/packages/base-design/ext_localconf.php +++ /dev/null @@ -1,41 +0,0 @@ - +lib.contentElement { + layoutRootPaths { + 0 = EXT:base/Resources/Private/ContentElements/Layouts/ + } +} +lib.contentBlock { + partialRootPaths.0 < lib.contentElement.partialRootPaths.0 + layoutRootPaths.0 < lib.contentElement.layoutRootPaths.0 + + settings < lib.contentElement.settings +} diff --git a/packages/base/Configuration/Sets/SitePackage/config.yaml b/packages/base/Configuration/Sets/SitePackage/config.yaml new file mode 100644 index 0000000..826e2d7 --- /dev/null +++ b/packages/base/Configuration/Sets/SitePackage/config.yaml @@ -0,0 +1,5 @@ +name: cloonar-typo3/base +label: 'Base Design' +dependencies: + - typo3/fluid-styled-content + - typo3/fluid-styled-content-css diff --git a/packages/base/Configuration/Sets/SitePackage/page.tsconfig b/packages/base/Configuration/Sets/SitePackage/page.tsconfig new file mode 100644 index 0000000..f4d7048 --- /dev/null +++ b/packages/base/Configuration/Sets/SitePackage/page.tsconfig @@ -0,0 +1,21 @@ +@import './PageTsConfig/BackendLayouts/' + +RTE { + default { + preset = base + } +} + +TCEFORM { + pages { + + } + tt_content { + + } +} + +TCEMAIN { + +} + diff --git a/packages/base/Configuration/Sets/SitePackage/settings.yaml b/packages/base/Configuration/Sets/SitePackage/settings.yaml new file mode 100644 index 0000000..d488c4c --- /dev/null +++ b/packages/base/Configuration/Sets/SitePackage/settings.yaml @@ -0,0 +1,28 @@ +styles: + templates: + layoutRootPath: 'EXT:base/Resources/Private/ContentElements/Layouts/' + partialRootPath: 'EXT:base/Resources/Private/ContentElements/Partials/' + templateRootPath: 'EXT:base/Resources/Private/ContentElements/Templates/' + +page: + pageview: + paths: 'EXT:base/Resources/Private/PageView/' + + meta: + viewport: 'width=device-width, initial-scale=1' + robots: 'index,follow' + apple-mobile-web-app-capable: 'no' + compatible: 'IE=edge' + + tracking: + google: + trackingID: '' + anonymizeIp: '1' + +config: + no_cache: '0' + removeDefaultJS: '0' + admPanel: '1' + prefixLocalAnchors: 'all' + headerComment: 'build by get.typo3.org/sitepackage' + sendCacheHeaders: '1' diff --git a/packages/base/Configuration/Sets/SitePackage/setup.typoscript b/packages/base/Configuration/Sets/SitePackage/setup.typoscript new file mode 100644 index 0000000..5a93f26 --- /dev/null +++ b/packages/base/Configuration/Sets/SitePackage/setup.typoscript @@ -0,0 +1 @@ +@import './TypoScript/' diff --git a/packages/base/Configuration/TCA/Overrides/tt_content.php b/packages/base/Configuration/TCA/Overrides/tt_content.php new file mode 100644 index 0000000..77901df --- /dev/null +++ b/packages/base/Configuration/TCA/Overrides/tt_content.php @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/packages/base/ContentBlocks/ContentElements/hero/config.yaml b/packages/base/ContentBlocks/ContentElements/hero/config.yaml new file mode 100644 index 0000000..983d6a8 --- /dev/null +++ b/packages/base/ContentBlocks/ContentElements/hero/config.yaml @@ -0,0 +1,21 @@ +name: cloonar/hero +typeName: cloonar_hero +group: default +prefixFields: true +prefixType: full +fields: + - + identifier: header + useExistingField: true + - + identifier: bodytext + type: Textarea + enableRichtext: true + useExistingField: true + - identifier: image + type: File + properties: + allowed: [jpg, jpeg, png, gif] + useExistingField: true + - identifier: imageorient + useExistingField: true diff --git a/packages/base/ContentBlocks/ContentElements/hero/language/labels.xlf b/packages/base/ContentBlocks/ContentElements/hero/language/labels.xlf new file mode 100644 index 0000000..70d7ecb --- /dev/null +++ b/packages/base/ContentBlocks/ContentElements/hero/language/labels.xlf @@ -0,0 +1,14 @@ + + + +
+ + + Hero + + + Description for Content Element cloonar/hero + + + + diff --git a/packages/base/ContentBlocks/ContentElements/hero/templates/backend-preview.html b/packages/base/ContentBlocks/ContentElements/hero/templates/backend-preview.html new file mode 100644 index 0000000..c5bc350 --- /dev/null +++ b/packages/base/ContentBlocks/ContentElements/hero/templates/backend-preview.html @@ -0,0 +1,21 @@ + + + + + + {data.header} + + + + Preview for Content Block: cloonar/hero + + + + + + My custom Footer + + diff --git a/packages/base/ContentBlocks/ContentElements/hero/templates/frontend.html b/packages/base/ContentBlocks/ContentElements/hero/templates/frontend.html new file mode 100644 index 0000000..58d62d5 --- /dev/null +++ b/packages/base/ContentBlocks/ContentElements/hero/templates/frontend.html @@ -0,0 +1,18 @@ + + + + + + +
+ +
+ {data.bodytext} +
+
+
diff --git a/packages/base/README.md b/packages/base/README.md new file mode 100644 index 0000000..5d5f345 --- /dev/null +++ b/packages/base/README.md @@ -0,0 +1,4 @@ +Site Package for the project "Test" +============================================================== + +Add some explanation here. diff --git a/packages/base/Resources/Private/.htaccess b/packages/base/Resources/Private/.htaccess new file mode 100644 index 0000000..93169e4 --- /dev/null +++ b/packages/base/Resources/Private/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/packages/base/Resources/Private/ContentElements/Layouts/.gitkeep b/packages/base/Resources/Private/ContentElements/Layouts/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/packages/base/Resources/Private/ContentElements/Layouts/.gitkeep @@ -0,0 +1 @@ + diff --git a/packages/base/Resources/Private/ContentElements/Layouts/Default.html b/packages/base/Resources/Private/ContentElements/Layouts/Default.html new file mode 100644 index 0000000..1add022 --- /dev/null +++ b/packages/base/Resources/Private/ContentElements/Layouts/Default.html @@ -0,0 +1,8 @@ +
+
+
+

{data.header}

+
+ +
+
diff --git a/packages/base/Resources/Private/ContentElements/Partials/.gitkeep b/packages/base/Resources/Private/ContentElements/Partials/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/packages/base/Resources/Private/ContentElements/Partials/.gitkeep @@ -0,0 +1 @@ + diff --git a/packages/base/Resources/Private/ContentElements/Templates/.gitkeep b/packages/base/Resources/Private/ContentElements/Templates/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/packages/base/Resources/Private/ContentElements/Templates/.gitkeep @@ -0,0 +1 @@ + diff --git a/packages/base/Resources/Private/Language/locallang.xlf b/packages/base/Resources/Private/Language/locallang.xlf new file mode 100644 index 0000000..3a6225f --- /dev/null +++ b/packages/base/Resources/Private/Language/locallang.xlf @@ -0,0 +1,11 @@ + + + +
+ Test + test@test.at +
+ + +
+
diff --git a/packages/base/Resources/Private/Language/locallang_be.xlf b/packages/base/Resources/Private/Language/locallang_be.xlf new file mode 100644 index 0000000..81d9be7 --- /dev/null +++ b/packages/base/Resources/Private/Language/locallang_be.xlf @@ -0,0 +1,23 @@ + + + +
+ Test + test@test.at +
+ + + Default + + + Stage + + + Normal + + + Right + + +
+
diff --git a/packages/base/Resources/Private/Language/locallang_db.xlf b/packages/base/Resources/Private/Language/locallang_db.xlf new file mode 100644 index 0000000..3a6225f --- /dev/null +++ b/packages/base/Resources/Private/Language/locallang_db.xlf @@ -0,0 +1,11 @@ + + + +
+ Test + test@test.at +
+ + +
+
diff --git a/packages/base/Resources/Private/PageView/Layouts/Default.html b/packages/base/Resources/Private/PageView/Layouts/Default.html new file mode 100644 index 0000000..abe30d6 --- /dev/null +++ b/packages/base/Resources/Private/PageView/Layouts/Default.html @@ -0,0 +1,21 @@ +
+ + +
+ +
+ + +
+ +
+ + +

© {f:format.date(date: 'now', format: 'Y')} Your Company

+
diff --git a/packages/base/Resources/Private/PageView/Pages/Default.html b/packages/base/Resources/Private/PageView/Pages/Default.html new file mode 100644 index 0000000..7c90fce --- /dev/null +++ b/packages/base/Resources/Private/PageView/Pages/Default.html @@ -0,0 +1,6 @@ + + + + + + diff --git a/packages/base/Resources/Private/PageView/Partials/Content.html b/packages/base/Resources/Private/PageView/Partials/Content.html new file mode 100644 index 0000000..8ce7770 --- /dev/null +++ b/packages/base/Resources/Private/PageView/Partials/Content.html @@ -0,0 +1,7 @@ + + + diff --git a/packages/base/Resources/Private/PageView/Partials/Navigation/Main.html b/packages/base/Resources/Private/PageView/Partials/Navigation/Main.html new file mode 100644 index 0000000..9d5ee39 --- /dev/null +++ b/packages/base/Resources/Private/PageView/Partials/Navigation/Main.html @@ -0,0 +1,29 @@ + diff --git a/packages/base-design/Resources/Public/Scss/Elements/elements.scss b/packages/base/Resources/Public/Css/layout.css similarity index 100% rename from packages/base-design/Resources/Public/Scss/Elements/elements.scss rename to packages/base/Resources/Public/Css/layout.css diff --git a/packages/base/Resources/Public/Css/rte.css b/packages/base/Resources/Public/Css/rte.css new file mode 100644 index 0000000..0ad73c8 --- /dev/null +++ b/packages/base/Resources/Public/Css/rte.css @@ -0,0 +1,3 @@ +/** + * Created by get.typo3.org/sitepackage + */ diff --git a/packages/base/Resources/Public/Fonts/.gitkeep b/packages/base/Resources/Public/Fonts/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/packages/base/Resources/Public/Fonts/.gitkeep @@ -0,0 +1 @@ + diff --git a/packages/base/Resources/Public/Icons/Extension.svg b/packages/base/Resources/Public/Icons/Extension.svg new file mode 100644 index 0000000..d853637 --- /dev/null +++ b/packages/base/Resources/Public/Icons/Extension.svg @@ -0,0 +1,3 @@ + + + diff --git a/packages/base/Resources/Public/Icons/favicon.ico b/packages/base/Resources/Public/Icons/favicon.ico new file mode 100644 index 0000000..46d4c14 Binary files /dev/null and b/packages/base/Resources/Public/Icons/favicon.ico differ diff --git a/packages/base/Resources/Public/Images/BackendLayouts/default.png b/packages/base/Resources/Public/Images/BackendLayouts/default.png new file mode 100644 index 0000000..0bed870 Binary files /dev/null and b/packages/base/Resources/Public/Images/BackendLayouts/default.png differ diff --git a/packages/base/Resources/Public/JavaScript/main.js b/packages/base/Resources/Public/JavaScript/main.js new file mode 100644 index 0000000..a5e4902 --- /dev/null +++ b/packages/base/Resources/Public/JavaScript/main.js @@ -0,0 +1 @@ +console.log('WE LOVE TYPO3'); diff --git a/packages/base/Resources/Public/JavaScript/navigation.js b/packages/base/Resources/Public/JavaScript/navigation.js new file mode 100644 index 0000000..0aaa628 --- /dev/null +++ b/packages/base/Resources/Public/JavaScript/navigation.js @@ -0,0 +1,41 @@ +document.addEventListener('DOMContentLoaded', function () { + const nav = document.getElementById('mainNav'); + const toggle = document.getElementById('navToggle'); + const navLinks = document.getElementById('navLinks'); + let lastScrollTop = 0; + + // Toggle menu on mobile + toggle.addEventListener('click', function () { + nav.classList.toggle('open'); + toggle.classList.toggle('active'); + }); + + // Sticky on scroll + window.addEventListener('scroll', function () { + const currentScroll = window.pageYOffset || document.documentElement.scrollTop; + if (currentScroll > 0) { + nav.classList.add('sticky'); + } else { + nav.classList.remove('sticky'); + } + lastScrollTop = currentScroll <= 0 ? 0 : currentScroll; + }); + + // Optionally handle dropdowns on mobile (if desired) + // For example: + const submenuParents = document.querySelectorAll('.nav-item.has-submenu'); + submenuParents.forEach(parent => { + parent.addEventListener('click', (e) => { + if (window.innerWidth <= 992) { + e.preventDefault(); + const subMenu = parent.querySelector('.sub-menu'); + if (subMenu) { + const isOpen = subMenu.style.display === 'block'; + // Close all open submenus first (optional) + document.querySelectorAll('.sub-menu').forEach(sm => sm.style.display = 'none'); + subMenu.style.display = isOpen ? 'none' : 'block'; + } + } + }); + }); +}); diff --git a/packages/base/Resources/Public/Scss/abstracts/_mixins.scss b/packages/base/Resources/Public/Scss/abstracts/_mixins.scss new file mode 100644 index 0000000..31617f1 --- /dev/null +++ b/packages/base/Resources/Public/Scss/abstracts/_mixins.scss @@ -0,0 +1,10 @@ +// Example mixin for transitions +@mixin transition($property: all, $duration: 0.3s, $timing: ease-in-out) { + transition: $property $duration $timing; +} + +@mixin respond($breakpoint) { + @media (min-width: $breakpoint) { + @content; + } +} diff --git a/packages/base/Resources/Public/Scss/abstracts/_variables.scss b/packages/base/Resources/Public/Scss/abstracts/_variables.scss new file mode 100644 index 0000000..3912431 --- /dev/null +++ b/packages/base/Resources/Public/Scss/abstracts/_variables.scss @@ -0,0 +1,11 @@ +// Example variables, extend as needed +$primary-color: #4b4b4b; +$secondary-color: #ffffff; +$brand-color: #6B8E23; +$font-stack: 'Helvetica', sans-serif; + +// Breakpoints +$breakpoint-sm: 576px; +$breakpoint-md: 768px; +$breakpoint-lg: 992px; +$breakpoint-xl: 1200px; diff --git a/packages/base/Resources/Public/Scss/base/_container.scss b/packages/base/Resources/Public/Scss/base/_container.scss new file mode 100644 index 0000000..dc8a515 --- /dev/null +++ b/packages/base/Resources/Public/Scss/base/_container.scss @@ -0,0 +1,20 @@ +.container { + margin: auto; + padding: 3rem 1rem; + + @include respond($breakpoint-sm) { + max-width: 540px; + } + + @include respond($breakpoint-md) { + max-width: 720px; + } + + @include respond($breakpoint-lg) { + max-width: 960px; + } + + @include respond($breakpoint-xl) { + max-width: 1140px; + } +} diff --git a/packages/base/Resources/Public/Scss/base/_global.scss b/packages/base/Resources/Public/Scss/base/_global.scss new file mode 100644 index 0000000..2888d7a --- /dev/null +++ b/packages/base/Resources/Public/Scss/base/_global.scss @@ -0,0 +1,5 @@ +body { + font-family: $font-stack; + color: $primary-color; + line-height: 1.5; +} diff --git a/packages/base/Resources/Public/Scss/base/_reset.scss b/packages/base/Resources/Public/Scss/base/_reset.scss new file mode 100644 index 0000000..fb27c0f --- /dev/null +++ b/packages/base/Resources/Public/Scss/base/_reset.scss @@ -0,0 +1,6 @@ +// A simple CSS reset, adapt as needed +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} diff --git a/packages/base/Resources/Public/Scss/base/base.scss b/packages/base/Resources/Public/Scss/base/base.scss new file mode 100644 index 0000000..f76acd6 --- /dev/null +++ b/packages/base/Resources/Public/Scss/base/base.scss @@ -0,0 +1,3 @@ +@import 'reset'; +@import 'global'; +@import 'container'; diff --git a/packages/base/Resources/Public/Scss/components/_contentElements.scss b/packages/base/Resources/Public/Scss/components/_contentElements.scss new file mode 100644 index 0000000..61ebe9a --- /dev/null +++ b/packages/base/Resources/Public/Scss/components/_contentElements.scss @@ -0,0 +1,19 @@ +.content-element { + margin: 2rem auto; + padding: 2rem; + background-color: #f5f5f5; // default background + + // Apply responsive widths at breakpoints using the respond mixin + + &--blue { + background-color: #cceeff; + } + + &--gray { + background-color: #eeeeee; + } + + &--image { + background: url('EXT:my_sitepackage/Resources/Public/Images/background-image.jpg') no-repeat center/cover; + } +} diff --git a/packages/base/Resources/Public/Scss/components/_navigation.scss b/packages/base/Resources/Public/Scss/components/_navigation.scss new file mode 100644 index 0000000..6886b9a --- /dev/null +++ b/packages/base/Resources/Public/Scss/components/_navigation.scss @@ -0,0 +1,142 @@ +.main-nav { + width: 100%; + background: $secondary-color url('EXT:my_sitepackage/Resources/Public/Images/linen-texture.png') repeat; + position: relative; + z-index: 1000; + + &.sticky { + position: fixed; + top: 0; + left: 0; + right: 0; + box-shadow: 0 2px 5px rgba(0,0,0,0.1); + } + + .container { + display: flex; + align-items: center; + justify-content: space-between; + margin: 0 auto; + padding: 1rem; + } + + .nav-logo { + img { + display: block; + max-height: 50px; + height: auto; + width: auto; + } + } + + .nav-toggle { + background: none; + border: none; + cursor: pointer; + display: none; // hidden by default on desktop + position: relative; + width: 30px; + height: 30px; + + .nav-toggle-icon { + width: 100%; + height: 2px; + background: $primary-color; + display: block; + position: relative; + @include transition(all, 0.3s); + + &::before, + &::after { + content: ''; + width: 100%; + height: 2px; + background: $primary-color; + position: absolute; + left: 0; + @include transition(all, 0.3s); + } + + &::before { + top: -8px; + } + + &::after { + top: 8px; + } + } + + &.active .nav-toggle-icon { + background: transparent; + + &::before { + transform: rotate(45deg) translate(5px, 5px); + } + + &::after { + transform: rotate(-45deg) translate(5px, -5px); + } + } + } + + .nav-links { + display: flex; + list-style: none; + + .nav-item { + margin: 0 1rem; + + .nav-link { + text-decoration: none; + color: $primary-color; + font-weight: 700; + text-transform: uppercase; + letter-spacing: 0.05em; + font-size: 1rem; + @include transition(color); + + &:hover { + color: $brand-color; + } + } + } + } + + // Responsive: show hamburger and collapse menu on smaller screens + @media (max-width: $breakpoint-lg) { + .nav-toggle { + display: block; + } + + // Hide links by default on mobile and show only when toggled + .nav-links { + position: absolute; + top: 100%; + left: 0; + right: 0; + flex-direction: column; + background: $secondary-color url('EXT:my_sitepackage/Resources/Public/Images/linen-texture.png') repeat; + max-height: 0; + overflow: hidden; + @include transition(max-height, 0.4s); + + .nav-item { + margin: 0; + padding: 1rem; + border-top: 1px solid rgba(0,0,0,0.1); + + &:first-child { + border-top: none; + } + + .nav-link { + display: block; + } + } + } + + &.open .nav-links { + max-height: 500px; // Adjust to fit all items + } + } +} diff --git a/packages/base/Resources/Public/Scss/main.scss b/packages/base/Resources/Public/Scss/main.scss new file mode 100644 index 0000000..448d3d6 --- /dev/null +++ b/packages/base/Resources/Public/Scss/main.scss @@ -0,0 +1,4 @@ +@import 'abstracts/variables'; +@import 'abstracts/mixins'; +@import 'base/base'; +@import 'components/navigation'; diff --git a/packages/base/composer.json b/packages/base/composer.json new file mode 100644 index 0000000..4516e5f --- /dev/null +++ b/packages/base/composer.json @@ -0,0 +1,23 @@ +{ + "name": "cloonar-typo3/base", + "type": "typo3-cms-extension", + "description": "Base Design", + "homepage": "https://cloonar.com", + "license": ["GPL-2.0-or-later"], + "keywords": ["TYPO3 CMS"], + "require": { + "typo3/cms-core": "^13.4", + "typo3/cms-rte-ckeditor": "^13.4", + "typo3/cms-fluid-styled-content": "^13.4" + }, + "autoload": { + "psr-4": { + "Cloonar\\Base\\": "Classes/" + } + }, + "extra": { + "typo3/cms": { + "extension-key": "base" + } + } +} diff --git a/packages/base/ext_conf_template.txt b/packages/base/ext_conf_template.txt new file mode 100644 index 0000000..e87dc9c --- /dev/null +++ b/packages/base/ext_conf_template.txt @@ -0,0 +1,3 @@ +# +# Extension Configuration template +# diff --git a/packages/base/ext_emconf.php b/packages/base/ext_emconf.php new file mode 100644 index 0000000..12bd4b0 --- /dev/null +++ b/packages/base/ext_emconf.php @@ -0,0 +1,29 @@ + 'Test', + 'description' => 'Test', + 'category' => 'templates', + 'constraints' => [ + 'depends' => [ + 'typo3' => '13.4.0-13.4.99', + 'fluid_styled_content' => '13.4.0-13.4.99', + 'rte_ckeditor' => '13.4.0-13.4.99', + ], + 'conflicts' => [ + ], + ], + 'autoload' => [ + 'psr-4' => [ + 'Test\\Test\\' => 'Classes', + ], + ], + 'state' => 'stable', + 'uploadfolder' => 0, + 'createDirs' => '', + 'clearCacheOnLoad' => 1, + 'author' => 'Test', + 'author_email' => 'test@test.at', + 'author_company' => 'test', + 'version' => '1.0.0', +]; diff --git a/packages/base/ext_localconf.php b/packages/base/ext_localconf.php new file mode 100644 index 0000000..942c964 --- /dev/null +++ b/packages/base/ext_localconf.php @@ -0,0 +1,6 @@ +