Backup
This commit is contained in:
parent
5440fdd48e
commit
d19e04a984
@ -22,8 +22,11 @@ services:
|
||||
- "SYS_PTRACE"
|
||||
security_opt:
|
||||
- "seccomp=unconfined"
|
||||
volumes:
|
||||
- ${APP_CODE_PATH_HOST?}:${APP_CODE_PATH_CONTAINER?}
|
||||
x-develop:
|
||||
watch:
|
||||
- action: sync
|
||||
path: "${APP_CODE_PATH_HOST?}"
|
||||
target: "${APP_CODE_PATH_CONTAINER?}"
|
||||
networks:
|
||||
- network
|
||||
extra_hosts:
|
||||
@ -31,8 +34,11 @@ services:
|
||||
php-cron:
|
||||
environment:
|
||||
- PHP_IDE_CONFIG=${PHP_IDE_CONFIG?}
|
||||
volumes:
|
||||
- ${APP_CODE_PATH_HOST?}:${APP_CODE_PATH_CONTAINER?}
|
||||
x-develop:
|
||||
watch:
|
||||
- action: sync
|
||||
path: "${APP_CODE_PATH_HOST?}"
|
||||
target: "${APP_CODE_PATH_CONTAINER?}"
|
||||
networks:
|
||||
- network
|
||||
cap_add:
|
||||
@ -43,8 +49,11 @@ services:
|
||||
- host.docker.internal:host-gateway
|
||||
|
||||
web:
|
||||
volumes:
|
||||
- ${APP_CODE_PATH_HOST?}:${APP_CODE_PATH_CONTAINER?}
|
||||
x-develop:
|
||||
watch:
|
||||
- action: sync
|
||||
path: "${APP_CODE_PATH_HOST?}"
|
||||
target: "${APP_CODE_PATH_CONTAINER?}"
|
||||
ports:
|
||||
- "${NGINX_HOST_HTTP_PORT:-80}:80"
|
||||
- "${NGINX_HOST_HTTPS_PORT:-443}:443"
|
||||
@ -76,8 +85,11 @@ services:
|
||||
- "SYS_PTRACE"
|
||||
security_opt:
|
||||
- "seccomp=unconfined"
|
||||
volumes:
|
||||
- ${APP_CODE_PATH_HOST?}:${APP_CODE_PATH_CONTAINER?}
|
||||
x-develop:
|
||||
watch:
|
||||
- action: sync
|
||||
path: "${APP_CODE_PATH_HOST?}"
|
||||
target: "${APP_CODE_PATH_CONTAINER?}"
|
||||
ports:
|
||||
- "${APPLICATION_SSH_HOST_PORT:-2222}:22"
|
||||
tty: true
|
||||
|
||||
@ -12,4 +12,9 @@ FROM base as prod
|
||||
COPY ./src/old/public /data/www/old/public
|
||||
COPY ./src/new/web /data/www/new/web
|
||||
|
||||
FROM base as local
|
||||
FROM base as local
|
||||
|
||||
COPY ./src/old/public /data/www/old/public
|
||||
COPY ./src/new/web /data/www/new/web
|
||||
|
||||
|
||||
|
||||
@ -159,6 +159,7 @@ COPY --from=codebase --chown=$APP_USER_NAME:$APP_GROUP_NAME /codebase $APP_CODE_
|
||||
|
||||
FROM base as local
|
||||
|
||||
COPY --from=codebase --chown=$APP_USER_NAME:$APP_GROUP_NAME /codebase $APP_CODE_PATH
|
||||
# add app user to sudoers
|
||||
# see https://ostechnix.com/add-delete-and-grant-sudo-privileges-to-users-in-alpine-linux/ for adding sudo
|
||||
# see https://askubuntu.com/a/340669 for not requiring a sudo pw
|
||||
|
||||
2
.gitignore
vendored
2
.gitignore
vendored
@ -2,7 +2,7 @@
|
||||
.env
|
||||
.idea
|
||||
/phpstorm.yml
|
||||
|
||||
.DS_Store
|
||||
|
||||
src/new/web/bundles/
|
||||
src/new/web/css/
|
||||
|
||||
@ -124,6 +124,10 @@ docker-compose-down: validate-docker-compose-variables ## Stop and remove all do
|
||||
docker-compose-restart: validate-docker-compose-variables ## Restart all docker containers.
|
||||
@$(DOCKER_COMPOSE) restart
|
||||
|
||||
.PHONY: docker-compose-watch
|
||||
docker-compose-watch: validate-docker-compose-variables ## Restart all docker containers.
|
||||
@$(DOCKER_COMPOSE) watch
|
||||
|
||||
.PHONY: docker-compose-config
|
||||
docker-compose-config: validate-docker-compose-variables ## List the configuration
|
||||
@$(DOCKER_COMPOSE) config
|
||||
|
||||
@ -3,4 +3,5 @@ MAILER_DSN=smtp://192.168.188.136:2500
|
||||
PDFLIB_LIC=L900202-010091-135115-PPD3D2-EHE432
|
||||
CORS_ALLOW_ORIGIN=*
|
||||
DATABASE_URL=sqlite:///%kernel.project_dir%/var/test.sqlite
|
||||
MONGODB_DB=psc_test
|
||||
MONGODB_DB=psc_test
|
||||
|
||||
|
||||
@ -1,12 +1,6 @@
|
||||
import Bs5Utils from "bs5-utils";
|
||||
import { startStimulusApp } from '@symfony/stimulus-bridge';
|
||||
|
||||
export const app = startStimulusApp(require.context(
|
||||
'@symfony/stimulus-bridge/lazy-controller-loader!./../../controllers',
|
||||
true,
|
||||
/\.[jt]sx?$/
|
||||
));
|
||||
|
||||
global.$ = global.jQuery = window.jQuery = require('jquery');
|
||||
require('@popperjs/core/dist/cjs/popper');
|
||||
global.bootstrap = require('bootstrap/dist/js/bootstrap');
|
||||
@ -47,4 +41,4 @@ import './css/tools/cargobay.toogle.min.css';
|
||||
import './less/base.less';
|
||||
import 'summernote/dist/summernote-bs4.min.css';
|
||||
//import 'multiselect/css/multi-select.css';
|
||||
import 'bootstrap-toggle/css/bootstrap-toggle.min.css';
|
||||
import 'bootstrap-toggle/css/bootstrap-toggle.min.css';
|
||||
|
||||
1086
src/new/composer.lock
generated
1086
src/new/composer.lock
generated
File diff suppressed because it is too large
Load Diff
@ -1,16 +1,5 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PrintshopCreator Suite
|
||||
*
|
||||
* PHP Version 5.3
|
||||
*
|
||||
* @author Thomas Peterson <info@thomas-peterson.de>
|
||||
* @copyright 2012-2013 PrintshopCreator GmbH
|
||||
* @license Private
|
||||
* @link http://www.printshopcreator.de
|
||||
*/
|
||||
|
||||
namespace PSC\Component\SteplayouterBundle\Config\Converter;
|
||||
|
||||
use Doctrine\ODM\MongoDB\DocumentManager;
|
||||
@ -30,7 +19,7 @@ use Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface;
|
||||
* @package PSC\Component\Steplayouter
|
||||
* @subpackage Controller
|
||||
*/
|
||||
class ToArray
|
||||
class Arr
|
||||
{
|
||||
/** @var AuthorizationChecker */
|
||||
protected $authChecker = null;
|
||||
@ -38,4 +38,4 @@ services:
|
||||
# psc.component.steplayouter.converter.toArray:
|
||||
# class: PSC\Component\SteplayouterBundle\Config\Converter\ToArray
|
||||
# arguments: ['@PSC\\System\\SettingsBundle\\Service\\Color', '@security.authorization_checker', '@security.token_storage', '@doctrine_mongodb']
|
||||
#
|
||||
#
|
||||
|
||||
@ -10,7 +10,7 @@ use PSC\Component\SteplayouterBundle\Calendar\Generator;
|
||||
use PSC\Component\SteplayouterBundle\Calendar\Type\Hoch;
|
||||
use PSC\Component\SteplayouterBundle\Calendar\Type\Hochvariable;
|
||||
use PSC\Component\SteplayouterBundle\Calendar\Type\Quer;
|
||||
use PSC\Component\SteplayouterBundle\Config\Converter\ToArray;
|
||||
use PSC\Component\SteplayouterBundle\Config\Converter\Arr;
|
||||
use PSC\Shop\EntityBundle\Document\Motiv;
|
||||
use PSC\Shop\EntityBundle\Entity\Layoutdesigndata;
|
||||
use Symfony\Component\HttpKernel\KernelInterface;
|
||||
@ -30,7 +30,7 @@ class Pdf
|
||||
protected $converter;
|
||||
protected $twig;
|
||||
|
||||
public function __construct(EntityManagerInterface $em, $pdflib_lic, KernelInterface $kernel, ToArray $converter, DocumentManager $mongoDb, Environment $twig)
|
||||
public function __construct(EntityManagerInterface $em, $pdflib_lic, KernelInterface $kernel, Arr $converter, DocumentManager $mongoDb, Environment $twig)
|
||||
{
|
||||
$this->entityManager = $em;
|
||||
$this->pdf_lic = $pdflib_lic;
|
||||
|
||||
@ -1,28 +0,0 @@
|
||||
|
||||
<div class="panel">
|
||||
<div class="header">
|
||||
<h4>Details</h4>
|
||||
</div>
|
||||
<div class="body">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="form-group row">
|
||||
<label class="col-md-1 form-control-label">{{ form_label(form.file) }}</label>
|
||||
<div class="col-md-11">
|
||||
{{ form_widget(form.file) }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="form-group row">
|
||||
<label class="col-md-1 form-control-label">{{ form_label(form.shop) }}</label>
|
||||
<div class="col-md-11">
|
||||
{{ form_widget(form.shop) }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -1,38 +0,0 @@
|
||||
|
||||
<div class="panel">
|
||||
<div class="header">
|
||||
<h4>Details</h4>
|
||||
</div>
|
||||
<div class="body">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="form-group row">
|
||||
<label class="col-md-1 form-control-label">{{ form_label(form.file) }}</label>
|
||||
<div class="col-md-11">
|
||||
{{ form_widget(form.file) }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="form-group row">
|
||||
<label class="col-md-1 form-control-label">{{ form_label(form.account) }}</label>
|
||||
<div class="col-md-11">
|
||||
{{ form_widget(form.account) }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="form-group row">
|
||||
<label class="col-md-1 form-control-label">{{ form_label(form.shop) }}</label>
|
||||
<div class="col-md-11">
|
||||
{{ form_widget(form.shop) }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -1,13 +0,0 @@
|
||||
|
||||
<div class="panel">
|
||||
<div class="header">
|
||||
<h4>Details</h4>
|
||||
</div>
|
||||
<div class="body">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -1,13 +0,0 @@
|
||||
|
||||
<div class="panel">
|
||||
<div class="header">
|
||||
<h4>Details</h4>
|
||||
</div>
|
||||
<div class="body">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -1 +0,0 @@
|
||||
{{ output }}
|
||||
Binary file not shown.
@ -818,6 +818,11 @@ fraction.js@^4.3.7:
|
||||
resolved "https://registry.npmjs.org/fraction.js/-/fraction.js-4.3.7.tgz"
|
||||
integrity sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==
|
||||
|
||||
fsevents@~2.3.2:
|
||||
version "2.3.3"
|
||||
resolved "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz"
|
||||
integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==
|
||||
|
||||
function-bind@^1.1.1:
|
||||
version "1.1.1"
|
||||
resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz"
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,71 +0,0 @@
|
||||
/*
|
||||
* @license
|
||||
*
|
||||
* Multiselect v2.5.6
|
||||
* http://crlcu.github.io/multiselect/
|
||||
*
|
||||
* Copyright (c) 2016-2020 Adrian Crisan
|
||||
* Licensed under the MIT license (https://github.com/crlcu/multiselect/blob/master/LICENSE)
|
||||
*/
|
||||
|
||||
/* @license
|
||||
morris.js v0.5.0
|
||||
Copyright 2014 Olly Smith All rights reserved.
|
||||
Licensed under the BSD-2-Clause License.
|
||||
*/
|
||||
|
||||
/*!
|
||||
* Bootstrap v5.1.0 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
*/
|
||||
|
||||
/*!
|
||||
*
|
||||
* Super simple wysiwyg editor v0.8.18
|
||||
* https://summernote.org
|
||||
*
|
||||
*
|
||||
* Copyright 2013- Alan Hong. and other contributors
|
||||
* summernote may be freely distributed under the MIT license.
|
||||
*
|
||||
* Date: 2020-05-20T16:47Z
|
||||
*
|
||||
*/
|
||||
|
||||
/*!
|
||||
* Sizzle CSS Selector Engine v2.3.6
|
||||
* https://sizzlejs.com/
|
||||
*
|
||||
* Copyright JS Foundation and other contributors
|
||||
* Released under the MIT license
|
||||
* https://js.foundation/
|
||||
*
|
||||
* Date: 2021-02-16
|
||||
*/
|
||||
|
||||
/*!
|
||||
* jQuery JavaScript Library v3.6.0
|
||||
* https://jquery.com/
|
||||
*
|
||||
* Includes Sizzle.js
|
||||
* https://sizzlejs.com/
|
||||
*
|
||||
* Copyright OpenJS Foundation and other contributors
|
||||
* Released under the MIT license
|
||||
* https://jquery.org/license
|
||||
*
|
||||
* Date: 2021-03-02T17:08Z
|
||||
*/
|
||||
|
||||
/*! ========================================================================
|
||||
* Bootstrap Toggle: bootstrap-toggle.js v2.2.0
|
||||
* http://www.bootstraptoggle.com
|
||||
* ========================================================================
|
||||
* Copyright 2014 Min Hur, The New York Times Company
|
||||
* Licensed under MIT
|
||||
* ======================================================================== */
|
||||
|
||||
/*! @orchidjs/unicode-variants | https://github.com/orchidjs/unicode-variants | Apache License (v2) */
|
||||
|
||||
/*! sifter.js | https://github.com/orchidjs/sifter.js | Apache License (v2) */
|
||||
File diff suppressed because one or more lines are too long
@ -1,134 +0,0 @@
|
||||
/*!
|
||||
Copyright (c) 2018 Jed Watson.
|
||||
Licensed under the MIT License (MIT), see
|
||||
http://jedwatson.github.io/classnames
|
||||
*/
|
||||
|
||||
/*!
|
||||
* tabbable 6.2.0
|
||||
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
/*! *****************************************************************************
|
||||
Copyright (C) Microsoft. All rights reserved.
|
||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||||
this file except in compliance with the License. You may obtain a copy of the
|
||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||||
|
||||
See the Apache Version 2.0 License for specific language governing permissions
|
||||
and limitations under the License.
|
||||
***************************************************************************** */
|
||||
|
||||
/*! *****************************************************************************
|
||||
Copyright (c) Microsoft Corporation.
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for any
|
||||
purpose with or without fee is hereby granted.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||||
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||||
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
PERFORMANCE OF THIS SOFTWARE.
|
||||
***************************************************************************** */
|
||||
|
||||
/**
|
||||
* @license React
|
||||
* react-dom.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @license React
|
||||
* react-is.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @license React
|
||||
* react-jsx-runtime.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @license React
|
||||
* react.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @license React
|
||||
* scheduler.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @remix-run/router v1.16.0
|
||||
*
|
||||
* Copyright (c) Remix Software Inc.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE.md file in the root directory of this source tree.
|
||||
*
|
||||
* @license MIT
|
||||
*/
|
||||
|
||||
/**
|
||||
* React Router DOM v6.23.0
|
||||
*
|
||||
* Copyright (c) Remix Software Inc.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE.md file in the root directory of this source tree.
|
||||
*
|
||||
* @license MIT
|
||||
*/
|
||||
|
||||
/**
|
||||
* React Router v6.23.0
|
||||
*
|
||||
* Copyright (c) Remix Software Inc.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE.md file in the root directory of this source tree.
|
||||
*
|
||||
* @license MIT
|
||||
*/
|
||||
|
||||
/** @license React v16.13.1
|
||||
* react-is.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */
|
||||
@ -1 +0,0 @@
|
||||
[data-loading=""],[data-loading="delay|show"],[data-loading=show]{display:none}.toggle-btn{cursor:pointer;margin:0}.toggle-btn__icon--show{display:inline-block}.toggle-btn--active .toggle-btn__icon--show,.toggle-btn__icon--hide{display:none}.toggle-btn--active .toggle-btn__icon--hide{display:inline-block}.toggle-item{height:0;overflow:hidden}.toggle-item--active{height:auto}body,html{background:#f0f3f4;height:100%}body>div,html>div{padding:0!important}body>#overlay_loading,html>#overlay_loading{background:#fff;color:#666;float:left;height:100%;left:0;opacity:.8;padding-top:25%;position:fixed;text-align:center;top:0;width:100%;z-index:5000}body>#overlay_loading>.spinner,html>#overlay_loading>.spinner{animation:rotate .8s linear infinite;border:5px solid #b22222;border-radius:50%;border-right-color:transparent;height:64px;margin:0 auto;width:64px}@keyframes rotate{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}i.fa.fa-lg.fa-fw.fa-question-circle{color:#007bff;font-size:1.6em}.toast-container{z-index:999999}.toast-container .toast-body{background:#fff}body>header>.header{background:#ea641b;box-shadow:0 2px 2px rgba(0,0,0,.05),0 1px 0 rgba(0,0,0,.05);color:#fff;left:0;margin:0;padding:10px;position:fixed;right:0;top:0;z-index:990}body>header>.header #help a{color:#fff;font-size:1.5em}body>header>.header>h4{margin:0}body>header>.header .form-group{margin-bottom:0}body>header>.header .btnLogout{background:#343a40!important;border:1px solid #fff}body>header>.header .btnTicket,body>header>.header .btnWiki{background:#343a40!important;border-bottom:1px solid #fff;border-left:1px solid #fff;border-top:1px solid #fff}.sideMenu{bottom:0;color:#aeb1bc;left:0;overflow-x:hidden;overflow-y:auto;padding:60px 0 0;position:fixed;top:0;z-index:100}.sideMenu h5{color:#fff}.sideMenu .collapse-menu{float:right;margin-right:10px;margin-top:5px}.sideMenu .nav{flex-wrap:nowrap!important}.sideMenu .nav>li{cursor:pointer}.sideMenu .nav>li>a{display:block;padding:5px}.sideMenu .nav>li>a:hover{background:#555;color:#fff;text-decoration:none}.sideMenu .nav>li>a:hover i{color:#fff}.sideMenu .nav>li>ul{display:none;margin-left:10px}.sideMenu .nav>li.open>ul{display:block}.sideMenu .nav li.active a,.sideMenu .nav li.active a i{color:#fff}.sideMenu a{color:#b4b6bd}.sideMenu a i{color:#898ba3}.content{margin-top:50px;padding:0 10px}.content h3,.content h4{margin:0}.content .header{background:#f6f8f8;border-bottom:1px solid #dee5e7;color:#373a3c;padding:10px}.content .body{padding:10px}.content .body .btn-default{background-color:#fff;border-color:#ccc;color:#333}.content .body .searchForm{margin-bottom:10px}.content .body .panel{background:#fff;border:1px solid #dee5e7;border-radius:2px;box-shadow:0 1px 1px rgba(0,0,0,.05);margin-top:10px}.content .body .panel>.header{background:#f6f8f8;border-bottom:1px solid #edf1f2;color:#333;padding:10px}.content .body .panel>.body{padding:10px}.content .body .panel>.body .tab-content{margin-top:10px}.content .body .panel>.body .nav-tabs .nav-item.open .nav-link,.content .body .panel>.body .nav-tabs .nav-item.open .nav-link:focus,.content .body .panel>.body .nav-tabs .nav-item.open .nav-link:hover,.content .body .panel>.body .nav-tabs .nav-link.active,.content .body .panel>.body .nav-tabs .nav-link.active:focus,.content .body .panel>.body .nav-tabs .nav-link.active:hover{background-color:#0275d8;border:1px solid;border-radius:4px;color:#fff}.content .body .panel>.body .overlay{background:rgba(234,100,27,.75);color:#444;font-size:xx-large;height:100%;margin:-5px;padding-top:150px;position:absolute;text-align:center;vertical-align:middle;width:100%;z-index:1}.content .body .panel>.body .table>tbody>tr.divider>td{background:#ea641b;height:2px;padding:0}.content .body .panel>.body .table .thead-dark th{background-color:#343a40}.content .body .panel>.body .table .thead-dark a{color:#fff;text-decoration:underline}.ajax-modal__body{height:80vh;padding:0}.no-margin-top{margin-top:0}.modal-lg{max-width:none;width:90vw}.bg-lightdanger{background-color:#ffcece}.bg-lightsuccess{background-color:#dbffdb}.bg-lightdark{background-color:#d3d3d3}.form-check{margin-bottom:12px}.thead-dark{color:#fff}.btn-group-xs>.btn,.btn-xs{border-radius:3px;font-size:12px;line-height:1.5;padding:1px 5px}
|
||||
285
src/new/web/build/backend/dashboard.css
Normal file
285
src/new/web/build/backend/dashboard.css
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
||||
8194
src/new/web/build/backend/dashboard.js
Normal file
8194
src/new/web/build/backend/dashboard.js
Normal file
File diff suppressed because one or more lines are too long
@ -2,25 +2,25 @@
|
||||
"entrypoints": {
|
||||
"backend/dashboard": {
|
||||
"js": [
|
||||
"/apps/build/runtime.9f422cb9.js",
|
||||
"/apps/build/560.268023de.js",
|
||||
"/apps/build/858.8dae100c.js",
|
||||
"/apps/build/backend/dashboard.e01d5ec9.js"
|
||||
"/apps/build/runtime.js",
|
||||
"/apps/build/vendors-node_modules_core-js_modules_es_array_concat_js-node_modules_core-js_modules_es_array-fb37e9.js",
|
||||
"/apps/build/vendors-node_modules_popperjs_core_dist_cjs_popper_js-node_modules_symfony_stimulus-bridge_di-6b5b46.js",
|
||||
"/apps/build/backend/dashboard.js"
|
||||
],
|
||||
"css": [
|
||||
"/apps/build/858.29b73cf7.css",
|
||||
"/apps/build/backend/dashboard.1bdabc5b.css"
|
||||
"/apps/build/vendors-node_modules_popperjs_core_dist_cjs_popper_js-node_modules_symfony_stimulus-bridge_di-6b5b46.css",
|
||||
"/apps/build/backend/dashboard.css"
|
||||
]
|
||||
},
|
||||
"plugins/system/psc/invoice": {
|
||||
"js": [
|
||||
"/apps/build/runtime.9f422cb9.js",
|
||||
"/apps/build/560.268023de.js",
|
||||
"/apps/build/881.ec863007.js",
|
||||
"/apps/build/plugins/system/psc/invoice.23427dd3.js"
|
||||
"/apps/build/runtime.js",
|
||||
"/apps/build/vendors-node_modules_core-js_modules_es_array_concat_js-node_modules_core-js_modules_es_array-fb37e9.js",
|
||||
"/apps/build/vendors-var_plugins_System_PSC_Invoice_Webpack_node_modules_ebay_nice-modal-react_lib_esm_ind-73e7df.js",
|
||||
"/apps/build/plugins/system/psc/invoice.js"
|
||||
],
|
||||
"css": [
|
||||
"/apps/build/plugins/system/psc/invoice.19592370.css"
|
||||
"/apps/build/plugins/system/psc/invoice.css"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,13 +1,13 @@
|
||||
{
|
||||
"/apps/backend/dashboard.css": "/apps/build/backend/dashboard.1bdabc5b.css",
|
||||
"/apps/backend/dashboard.js": "/apps/build/backend/dashboard.e01d5ec9.js",
|
||||
"/apps/plugins/system/psc/invoice.css": "/apps/build/plugins/system/psc/invoice.19592370.css",
|
||||
"/apps/plugins/system/psc/invoice.js": "/apps/build/plugins/system/psc/invoice.23427dd3.js",
|
||||
"/apps/runtime.js": "/apps/build/runtime.9f422cb9.js",
|
||||
"/apps/560.268023de.js": "/apps/build/560.268023de.js",
|
||||
"/apps/881.ec863007.js": "/apps/build/881.ec863007.js",
|
||||
"/apps/858.29b73cf7.css": "/apps/build/858.29b73cf7.css",
|
||||
"/apps/858.8dae100c.js": "/apps/build/858.8dae100c.js",
|
||||
"/apps/backend/dashboard.css": "/apps/build/backend/dashboard.css",
|
||||
"/apps/backend/dashboard.js": "/apps/build/backend/dashboard.js",
|
||||
"/apps/plugins/system/psc/invoice.css": "/apps/build/plugins/system/psc/invoice.css",
|
||||
"/apps/plugins/system/psc/invoice.js": "/apps/build/plugins/system/psc/invoice.js",
|
||||
"/apps/runtime.js": "/apps/build/runtime.js",
|
||||
"/apps/vendors-node_modules_core-js_modules_es_array_concat_js-node_modules_core-js_modules_es_array-fb37e9.js": "/apps/build/vendors-node_modules_core-js_modules_es_array_concat_js-node_modules_core-js_modules_es_array-fb37e9.js",
|
||||
"/apps/vendors-var_plugins_System_PSC_Invoice_Webpack_node_modules_ebay_nice-modal-react_lib_esm_ind-73e7df.js": "/apps/build/vendors-var_plugins_System_PSC_Invoice_Webpack_node_modules_ebay_nice-modal-react_lib_esm_ind-73e7df.js",
|
||||
"/apps/vendors-node_modules_popperjs_core_dist_cjs_popper_js-node_modules_symfony_stimulus-bridge_di-6b5b46.css": "/apps/build/vendors-node_modules_popperjs_core_dist_cjs_popper_js-node_modules_symfony_stimulus-bridge_di-6b5b46.css",
|
||||
"/apps/vendors-node_modules_popperjs_core_dist_cjs_popper_js-node_modules_symfony_stimulus-bridge_di-6b5b46.js": "/apps/build/vendors-node_modules_popperjs_core_dist_cjs_popper_js-node_modules_symfony_stimulus-bridge_di-6b5b46.js",
|
||||
"/apps/fonts/summernote.eot": "/apps/build/fonts/summernote.bd0d8be1.eot",
|
||||
"/apps/fonts/summernote.ttf": "/apps/build/fonts/summernote.b293d601.ttf",
|
||||
"/apps/fonts/summernote.woff": "/apps/build/fonts/summernote.08c343ff.woff",
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
6022
src/new/web/build/plugins/system/psc/invoice.css
Normal file
6022
src/new/web/build/plugins/system/psc/invoice.css
Normal file
File diff suppressed because one or more lines are too long
7072
src/new/web/build/plugins/system/psc/invoice.js
Normal file
7072
src/new/web/build/plugins/system/psc/invoice.js
Normal file
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
(()=>{"use strict";var e,r,t,o={},n={};function i(e){var r=n[e];if(void 0!==r)return r.exports;var t=n[e]={id:e,loaded:!1,exports:{}};return o[e].call(t.exports,t,t.exports,i),t.loaded=!0,t.exports}i.m=o,i.amdD=function(){throw new Error("define cannot be used indirect")},e=[],i.O=(r,t,o,n)=>{if(!t){var f=1/0;for(c=0;c<e.length;c++){for(var[t,o,n]=e[c],a=!0,l=0;l<t.length;l++)(!1&n||f>=n)&&Object.keys(i.O).every((e=>i.O[e](t[l])))?t.splice(l--,1):(a=!1,n<f&&(f=n));if(a){e.splice(c--,1);var u=o();void 0!==u&&(r=u)}}return r}n=n||0;for(var c=e.length;c>0&&e[c-1][2]>n;c--)e[c]=e[c-1];e[c]=[t,o,n]},i.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return i.d(r,{a:r}),r},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(e,o){if(1&o&&(e=this(e)),8&o)return e;if("object"==typeof e&&e){if(4&o&&e.__esModule)return e;if(16&o&&"function"==typeof e.then)return e}var n=Object.create(null);i.r(n);var f={};r=r||[null,t({}),t([]),t(t)];for(var a=2&o&&e;"object"==typeof a&&!~r.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((r=>f[r]=()=>e[r]));return f.default=()=>e,i.d(n,f),n},i.d=(e,r)=>{for(var t in r)i.o(r,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e={666:0};i.O.j=r=>0===e[r];var r=(r,t)=>{var o,n,[f,a,l]=t,u=0;if(f.some((r=>0!==e[r]))){for(o in a)i.o(a,o)&&(i.m[o]=a[o]);if(l)var c=l(i)}for(r&&r(t);u<f.length;u++)n=f[u],i.o(e,n)&&e[n]&&e[n][0](),e[n]=0;return i.O(c)},t=self.webpackChunk=self.webpackChunk||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),i.nc=void 0})();
|
||||
229
src/new/web/build/runtime.js
Normal file
229
src/new/web/build/runtime.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -917,10 +917,10 @@
|
||||
resolved "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz"
|
||||
integrity sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==
|
||||
|
||||
"@esbuild/linux-x64@0.19.12":
|
||||
"@esbuild/darwin-x64@0.19.12":
|
||||
version "0.19.12"
|
||||
resolved "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.12.tgz"
|
||||
integrity sha512-B71g1QpxfwBvNrfyJdVDexenDIt1CiDN1TIXLbhOw0KhJzE78KIFGX6OJ9MrtC0oOqMWf+0xop4qEU8JrJTwCg==
|
||||
resolved "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.12.tgz"
|
||||
integrity sha512-hKoVkKzFiToTgn+41qGhsUJXFlIjxI/jSYeZf3ugemDYZldIXIxhvwN6erJGlX4t5h417iFuheZ7l+YVn05N3A==
|
||||
|
||||
"@hotwired/stimulus-webpack-helpers@^1.0.1":
|
||||
version "1.0.1"
|
||||
@ -1056,15 +1056,10 @@
|
||||
resolved "https://registry.npmjs.org/@popperjs/core/-/core-2.9.3.tgz"
|
||||
integrity sha512-xDu17cEfh7Kid/d95kB6tZsLOmSWKCZKtprnhVepjsSaCij+lM3mItSJDuuHDMbCWTh8Ejmebwb+KONcCJ0eXQ==
|
||||
|
||||
"@rollup/rollup-linux-x64-gnu@4.10.0":
|
||||
"@rollup/rollup-darwin-x64@4.10.0":
|
||||
version "4.10.0"
|
||||
resolved "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.10.0.tgz"
|
||||
integrity sha512-w/5OpT2EnI/Xvypw4FIhV34jmNqU5PZjZue2l2Y3ty1Ootm3SqhI+AmfhlUYGBTd9JnpneZCDnt3uNOiOBkMyw==
|
||||
|
||||
"@rollup/rollup-linux-x64-musl@4.10.0":
|
||||
version "4.10.0"
|
||||
resolved "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.10.0.tgz"
|
||||
integrity sha512-q/meftEe3QlwQiGYxD9rWwB21DoKQ9Q8wA40of/of6yGHhZuGfZO0c3WYkN9dNlopHlNT3mf5BPsUSxoPuVQaw==
|
||||
resolved "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.10.0.tgz"
|
||||
integrity sha512-nIdCX03qFKoR/MwQegQBK+qZoSpO3LESurVAC6s6jazLA1Mpmgzo3Nj3H1vydXp/JM29bkCiuF7tDuToj4+U9Q==
|
||||
|
||||
"@sinclair/typebox@^0.27.8":
|
||||
version "0.27.8"
|
||||
@ -1090,7 +1085,7 @@
|
||||
version "1.0.0"
|
||||
resolved "file:vendor/symfony/ux-live-component/assets"
|
||||
dependencies:
|
||||
morphdom "^2.6.1"
|
||||
idiomorph "^0.3.0"
|
||||
|
||||
"@symfony/webpack-encore@4.2.0":
|
||||
version "4.2.0"
|
||||
@ -2768,6 +2763,11 @@ fs.realpath@^1.0.0:
|
||||
resolved "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz"
|
||||
integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8=
|
||||
|
||||
fsevents@~2.3.2, fsevents@~2.3.3:
|
||||
version "2.3.3"
|
||||
resolved "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz"
|
||||
integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==
|
||||
|
||||
function-bind@^1.1.1:
|
||||
version "1.1.1"
|
||||
resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz"
|
||||
|
||||
@ -32,7 +32,7 @@ class Zend_Application_Resource_UserAgent extends Zend_Application_Resource_Reso
|
||||
* @var Zend_Http_UserAgent
|
||||
*/
|
||||
protected $_userAgent;
|
||||
|
||||
|
||||
/**
|
||||
* Intialize resource
|
||||
*
|
||||
@ -54,7 +54,7 @@ class Zend_Application_Resource_UserAgent extends Zend_Application_Resource_Reso
|
||||
|
||||
return $userAgent;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Get UserAgent instance
|
||||
*
|
||||
@ -66,7 +66,5 @@ class Zend_Application_Resource_UserAgent extends Zend_Application_Resource_Reso
|
||||
$options = $this->getOptions();
|
||||
$this->_userAgent = new Zend_Http_UserAgent($options);
|
||||
}
|
||||
|
||||
return $this->_userAgent;
|
||||
}
|
||||
}
|
||||
|
||||
return $this->_userAg
|
||||
@ -1,70 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Application
|
||||
* @subpackage Resource
|
||||
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Application
|
||||
* @subpackage Resource
|
||||
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Application_Resource_UserAgent extends Zend_Application_Resource_ResourceAbstract
|
||||
{
|
||||
/**
|
||||
* @var Zend_Http_UserAgent
|
||||
*/
|
||||
protected $_userAgent;
|
||||
|
||||
/**
|
||||
* Intialize resource
|
||||
*
|
||||
* @return Zend_Http_UserAgent
|
||||
*/
|
||||
public function init()
|
||||
{
|
||||
$userAgent = $this->getUserAgent();
|
||||
|
||||
// Optionally seed the UserAgent view helper
|
||||
$bootstrap = $this->getBootstrap();
|
||||
if ($bootstrap->hasResource('view') || $bootstrap->hasPluginResource('view')) {
|
||||
$bootstrap->bootstrap('view');
|
||||
$view = $bootstrap->getResource('view');
|
||||
if (null !== $view) {
|
||||
$view->userAgent($userAgent);
|
||||
}
|
||||
}
|
||||
|
||||
return $userAgent;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get UserAgent instance
|
||||
*
|
||||
* @return Zend_Http_UserAgent
|
||||
*/
|
||||
public function getUserAgent()
|
||||
{
|
||||
if (null === $this->_userAgent) {
|
||||
$options = $this->getOptions();
|
||||
$this->_userAgent = new Zend_Http_UserAgent($options);
|
||||
}
|
||||
|
||||
return $this->_userAg
|
||||
@ -1,56 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Validate
|
||||
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Validate_Barcode_AdapterAbstract
|
||||
*/
|
||||
require_once 'Zend/Validate/Barcode/AdapterAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Validate
|
||||
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Validate_Barcode_IntelligentMail extends Zend_Validate_Barcode_AdapterAbstract
|
||||
{
|
||||
/**
|
||||
* Allowed barcode lengths
|
||||
* @var integer
|
||||
*/
|
||||
protected $_length = [20, 25, 29, 31];
|
||||
|
||||
/**
|
||||
* Allowed barcode characters
|
||||
* @var string
|
||||
*/
|
||||
protected $_characters = '0123456789';
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* Sets check flag to false.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$this->setCheck(false);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user