mirror of
https://github.com/Karaka-Management/oms-Attribute.git
synced 2026-01-11 00:28:40 +00:00
started with template fixes
This commit is contained in:
parent
9722d6ad0d
commit
20e330a825
59
Theme/Backend/Components/AttributeTypeListView.php
Normal file
59
Theme/Backend/Components/AttributeTypeListView.php
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.2
|
||||
*
|
||||
* @package Modules\Attribute
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Modules\Attribute\Theme\Backend\Components;
|
||||
|
||||
use Modules\Attribute\Models\AttributeType;
|
||||
use phpOMS\Localization\L11nManager;
|
||||
use phpOMS\Message\RequestAbstract;
|
||||
use phpOMS\Message\ResponseAbstract;
|
||||
use phpOMS\Views\View;
|
||||
use Web\Backend\Views\L11nView;
|
||||
|
||||
/**
|
||||
* Component view.
|
||||
*
|
||||
* @package Modules\Attribute
|
||||
* @license OMS License 2.0
|
||||
* @link https://jingga.app
|
||||
* @since 1.0.0
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
class AttributeTypeListView extends View
|
||||
{
|
||||
/**
|
||||
* Attributes
|
||||
*
|
||||
* @var \Modules\Attribute\Models\AttributeType[]
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public array $attributes;
|
||||
|
||||
/**
|
||||
* API Uri for attribute actions
|
||||
*
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public string $path = '';
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function __construct(L11nManager $l11n, RequestAbstract $request, ResponseAbstract $response)
|
||||
{
|
||||
parent::__construct($l11n, $request, $response);
|
||||
$this->setTemplate('/Modules/Attribute/Theme/Backend/Components/type-list');
|
||||
}
|
||||
}
|
||||
65
Theme/Backend/Components/AttributeTypeView.php
Normal file
65
Theme/Backend/Components/AttributeTypeView.php
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.2
|
||||
*
|
||||
* @package Modules\Attribute
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Modules\Attribute\Theme\Backend\Components;
|
||||
|
||||
use Modules\Attribute\Models\AttributeType;
|
||||
use phpOMS\Localization\L11nManager;
|
||||
use phpOMS\Message\RequestAbstract;
|
||||
use phpOMS\Message\ResponseAbstract;
|
||||
use phpOMS\Views\View;
|
||||
use Web\Backend\Views\L11nView;
|
||||
|
||||
/**
|
||||
* Component view.
|
||||
*
|
||||
* @package Modules\Attribute
|
||||
* @license OMS License 2.0
|
||||
* @link https://jingga.app
|
||||
* @since 1.0.0
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
class AttributeTypeView extends View
|
||||
{
|
||||
/**
|
||||
* Attributes
|
||||
*
|
||||
* @var \Modules\Attribute\Models\AttributeType
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public AttributeType $attribute;
|
||||
|
||||
/**
|
||||
* API Uri for attribute actions
|
||||
*
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public string $path = '';
|
||||
|
||||
public L11nView $l11nView;
|
||||
|
||||
public array $l11ns = [];
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function __construct(L11nManager $l11n, RequestAbstract $request, ResponseAbstract $response)
|
||||
{
|
||||
parent::__construct($l11n, $request, $response);
|
||||
$this->setTemplate('/Modules/Attribute/Theme/Backend/Components/type-view');
|
||||
|
||||
$this->l11nView = new L11nView($l11n, $request, $response);
|
||||
}
|
||||
}
|
||||
65
Theme/Backend/Components/AttributeValueView.php
Normal file
65
Theme/Backend/Components/AttributeValueView.php
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.2
|
||||
*
|
||||
* @package Modules\Attribute
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Modules\Attribute\Theme\Backend\Components;
|
||||
|
||||
use Modules\Attribute\Models\AttributeValue;
|
||||
use phpOMS\Localization\L11nManager;
|
||||
use phpOMS\Message\RequestAbstract;
|
||||
use phpOMS\Message\ResponseAbstract;
|
||||
use phpOMS\Views\View;
|
||||
use Web\Backend\Views\L11nView;
|
||||
|
||||
/**
|
||||
* Component view.
|
||||
*
|
||||
* @package Modules\Attribute
|
||||
* @license OMS License 2.0
|
||||
* @link https://jingga.app
|
||||
* @since 1.0.0
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
class AttributeValueView extends View
|
||||
{
|
||||
/**
|
||||
* Attributes
|
||||
*
|
||||
* @var \Modules\Attribute\Models\AttributeValue
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public AttributeValue $attribute;
|
||||
|
||||
/**
|
||||
* API Uri for attribute actions
|
||||
*
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public string $path = '';
|
||||
|
||||
public L11nView $l11nView;
|
||||
|
||||
public array $l11ns = [];
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function __construct(L11nManager $l11n, RequestAbstract $request, ResponseAbstract $response)
|
||||
{
|
||||
parent::__construct($l11n, $request, $response);
|
||||
$this->setTemplate('/Modules/Attribute/Theme/Backend/Components/value-view');
|
||||
|
||||
$this->l11nView = new L11nView($l11n, $request, $response);
|
||||
}
|
||||
}
|
||||
|
|
@ -59,6 +59,7 @@ $units = $this->units;
|
|||
</div>
|
||||
-->
|
||||
|
||||
<!-- @todo If only default values are allowed -> only show drop down with values -->
|
||||
<div class="form-group">
|
||||
<label for="iAttributeValue"><?= $this->getHtml('Value', 'Attribute', 'Backend'); ?></label>
|
||||
<pre class="textarea contenteditable" id="iAttributeValue" data-name="value" data-tpl-value="/value" contenteditable></pre>
|
||||
|
|
|
|||
69
Theme/Backend/Components/type-list.tpl.php
Normal file
69
Theme/Backend/Components/type-list.tpl.php
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.2
|
||||
*
|
||||
* @package Modules\ItemManagement
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
use phpOMS\Uri\UriFactory;
|
||||
|
||||
/** @var AttributeTypeListView $this */
|
||||
echo $this->data['nav']->render(); ?>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<section class="portlet">
|
||||
<div class="portlet-head"><?= $this->getHtml('AttributeTypes'); ?><i class="g-icon download btn end-xs">download</i></div>
|
||||
<div class="slider">
|
||||
<table id="iAttributeTypeList" class="default sticky">
|
||||
<thead>
|
||||
<tr>
|
||||
<td><?= $this->getHtml('ID', '0', '0'); ?>
|
||||
<label for="iAttributeTypeList-sort-1">
|
||||
<input type="radio" name="iAttributeTypeList-sort" id="iAttributeTypeList-sort-1">
|
||||
<i class="sort-asc g-icon">expand_less</i>
|
||||
</label>
|
||||
<label for="iAttributeTypeList-sort-2">
|
||||
<input type="radio" name="iAttributeTypeList-sort" id="iAttributeTypeList-sort-2">
|
||||
<i class="sort-desc g-icon">expand_more</i>
|
||||
</label>
|
||||
<label>
|
||||
<i class="filter g-icon">filter_alt</i>
|
||||
</label>
|
||||
<td class="wf-100"><?= $this->getHtml('Name'); ?>
|
||||
<label for="iAttributeTypeList-sort-2">
|
||||
<input type="radio" name="iAttributeTypeList-sort" id="iAttributeTypeList-sort-2">
|
||||
<i class="sort-asc g-icon">expand_less</i>
|
||||
</label>
|
||||
<label for="iAttributeTypeList-sort-3">
|
||||
<input type="radio" name="iAttributeTypeList-sort" id="iAttributeTypeList-sort-3">
|
||||
<i class="sort-desc g-icon">expand_more</i>
|
||||
</label>
|
||||
<label>
|
||||
<i class="filter g-icon">filter_alt</i>
|
||||
</label>
|
||||
<tbody>
|
||||
<?php
|
||||
$count = 0;
|
||||
foreach ($this->attributes as $key => $value) : ++$count;
|
||||
$url = UriFactory::build('{/base}/' . $this->path . '/attribute/type/view?{?}&id=' . $value->id);
|
||||
?>
|
||||
<tr data-href="<?= $url; ?>">
|
||||
<td><a href="<?= $url; ?>"><?= $value->id; ?></a>
|
||||
<td><a href="<?= $url; ?>"><?= $this->printHtml($value->getL11n()); ?></a>
|
||||
<?php endforeach; ?>
|
||||
<?php if ($count === 0) : ?>
|
||||
<tr><td colspan="2" class="empty"><?= $this->getHtml('Empty', '0', '0'); ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
170
Theme/Backend/Components/type-view.tpl.php
Normal file
170
Theme/Backend/Components/type-view.tpl.php
Normal file
|
|
@ -0,0 +1,170 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.2
|
||||
*
|
||||
* @package Modules\Tasks
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
use Modules\Attribute\Models\AttributeValueType;
|
||||
use phpOMS\Uri\UriFactory;
|
||||
|
||||
$types = AttributeValueType::getConstants();
|
||||
|
||||
$isNew = $this->attribute->id === 0;
|
||||
$path = $this->path;
|
||||
|
||||
echo $this->data['nav']->render(); ?>
|
||||
|
||||
<div class="tabview tab-2">
|
||||
<div class="box">
|
||||
<ul class="tab-links">
|
||||
<li><label for="c-tab-1"><?= $this->getHtml('Type', 'Attribute', 'Backend'); ?></label>
|
||||
<li><label for="c-tab-2"><?= $this->getHtml('Defaults', 'Attribute', 'Backend'); ?></label>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="tab-content">
|
||||
<input type="radio" id="c-tab-1" name="tabular-2"<?= $this->request->uri->fragment === 'c-tab-1' ? ' checked' : ''; ?>>
|
||||
<div class="tab">
|
||||
<div class="row">
|
||||
<div class="col-md-6 col-xs-12">
|
||||
<section id="task" class="portlet">
|
||||
<form id="attributeForm" method="<?= $isNew ? 'PUT' : 'POST'; ?>" action="<?= UriFactory::build('{/api}' . $path . '/attribute/type?csrf={$CSRF}'); ?>">
|
||||
<div class="portlet-head"><?= $this->getHtml('Attribute', 'Attribute', 'Backend'); ?></div>
|
||||
<div class="portlet-body">
|
||||
<div class="form-group">
|
||||
<label for="iId"><?= $this->getHtml('ID', '0', '0'); ?></label>
|
||||
<input type="text" value="<?= $this->attribute->id; ?>" disabled>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="iName"><?= $this->getHtml('Name', 'Attribute', 'Backend'); ?></label>
|
||||
<input id="iNAme" type="text" value="<?= $this->printHtml($this->attribute->name); ?>" disabled>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="iType"><?= $this->getHtml('Datatype', 'Attribute', 'Backend'); ?></label>
|
||||
<select id="iType" name="type" disabled>
|
||||
<?php foreach ($types as $key => $type) : ?>
|
||||
<option value="<?= $type; ?>"<?= $type === $this->attribute->datatype ? ' selected' : ''; ?>><?= $this->getHtml($key, 'Attribute', 'Backend'); ?>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="iPattern"><?= $this->getHtml('Pattern', 'Attribute', 'Backend'); ?></label>
|
||||
<input id="iPattern" type="text" value="<?= $this->printHtml($this->attribute->validationPattern); ?>">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="checkbox" for="iRequired">
|
||||
<input id="iRequired" type="checkbox" name="required" value="1"<?= $this->attribute->isRequired ? ' checked' : ''; ?>>
|
||||
<span class="checkmark"></span>
|
||||
<?= $this->getHtml('IsRequired', 'Attribute', 'Backend'); ?>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="checkbox" for="iCustom">
|
||||
<input id="iCustom" type="checkbox" name="custom" value="1" <?= $this->attribute->custom ? ' checked' : ''; ?>>
|
||||
<span class="checkmark"></span>
|
||||
<?= $this->getHtml('CustomValue', 'Attribute', 'Backend'); ?>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="portlet-foot">
|
||||
<?php if ($isNew) : ?>
|
||||
<input id="iCreateSubmit" type="Submit" value="<?= $this->getHtml('Create', '0', '0'); ?>">
|
||||
<?php else : ?>
|
||||
<input id="iSaveSubmit" type="Submit" value="<?= $this->getHtml('Save', '0', '0'); ?>">
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</form>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<?= $this->l11nView->render(
|
||||
$this->l11ns,
|
||||
[],
|
||||
'{/api}' . $path . '/attribute/type/l11n?csrf={$CSRF}'
|
||||
);
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<input type="radio" id="c-tab-2" name="tabular-2"<?= $this->request->uri->fragment === 'c-tab-2' ? ' checked' : ''; ?>>
|
||||
<div class="tab">
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<section class="portlet">
|
||||
<div class="portlet-head"><?= $this->getHtml('Defaults'); ?><i class="g-icon download btn end-xs">download</i></div>
|
||||
<div class="slider">
|
||||
<table id="iAttributeValueList" class="default sticky">
|
||||
<thead>
|
||||
<tr>
|
||||
<td><?= $this->getHtml('ID', '0', '0'); ?>
|
||||
<label for="iAttributeValueList-sort-1">
|
||||
<input type="radio" name="iAttributeValueList-sort" id="iAttributeValueList-sort-1">
|
||||
<i class="sort-asc g-icon">expand_less</i>
|
||||
</label>
|
||||
<label for="iAttributeValueList-sort-2">
|
||||
<input type="radio" name="iAttributeValueList-sort" id="iAttributeValueList-sort-2">
|
||||
<i class="sort-desc g-icon">expand_more</i>
|
||||
</label>
|
||||
<label>
|
||||
<i class="filter g-icon">filter_alt</i>
|
||||
</label>
|
||||
<td><?= $this->getHtml('Name'); ?>
|
||||
<label for="iAttributeValueList-sort-2">
|
||||
<input type="radio" name="iAttributeValueList-sort" id="iAttributeValueList-sort-2">
|
||||
<i class="sort-asc g-icon">expand_less</i>
|
||||
</label>
|
||||
<label for="iAttributeValueList-sort-3">
|
||||
<input type="radio" name="iAttributeValueList-sort" id="iAttributeValueList-sort-3">
|
||||
<i class="sort-desc g-icon">expand_more</i>
|
||||
</label>
|
||||
<label>
|
||||
<i class="filter g-icon">filter_alt</i>
|
||||
</label>
|
||||
<td class="wf-100"><?= $this->getHtml('Value'); ?>
|
||||
<label for="iAttributeValueList-sort-2">
|
||||
<input type="radio" name="iAttributeValueList-sort" id="iAttributeValueList-sort-2">
|
||||
<i class="sort-asc g-icon">expand_less</i>
|
||||
</label>
|
||||
<label for="iAttributeValueList-sort-3">
|
||||
<input type="radio" name="iAttributeValueList-sort" id="iAttributeValueList-sort-3">
|
||||
<i class="sort-desc g-icon">expand_more</i>
|
||||
</label>
|
||||
<label>
|
||||
<i class="filter g-icon">filter_alt</i>
|
||||
</label>
|
||||
<tbody>
|
||||
<?php
|
||||
$count = 0;
|
||||
foreach ($this->attribute->defaults as $key => $value) : ++$count;
|
||||
$url = UriFactory::build('{/base}/' . $path . '/attribute/value/view?{?}&id=' . $value->id);
|
||||
?>
|
||||
<tr data-href="<?= $url; ?>">
|
||||
<td><a href="<?= $url; ?>"><?= $value->id; ?></a>
|
||||
<td><a href="<?= $url; ?>"><?= $this->printHtml($value->getL11n()); ?></a>
|
||||
<td><a href="<?= $url; ?>"><?= $this->printHtml((string) $value->getValue()); ?></a>
|
||||
<?php endforeach; ?>
|
||||
<?php if ($count === 0) : ?>
|
||||
<tr><td colspan="3" class="empty"><?= $this->getHtml('Empty', '0', '0'); ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
71
Theme/Backend/Components/value-view.tpl.php
Normal file
71
Theme/Backend/Components/value-view.tpl.php
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.2
|
||||
*
|
||||
* @package Modules\Tasks
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
use Modules\Attribute\Models\AttributeValueType;
|
||||
use phpOMS\Uri\UriFactory;
|
||||
|
||||
$types = AttributeValueType::getConstants();
|
||||
|
||||
$isNew = $this->attribute->id === 0;
|
||||
|
||||
echo $this->data['nav']->render(); ?>
|
||||
<div class="row">
|
||||
<div class="col-md-6 col-xs-12">
|
||||
<section id="task" class="portlet">
|
||||
<form id="attributeForm" method="<?= $isNew ? 'PUT' : 'POST'; ?>" action="<?= UriFactory::build('{/api}' . $this->path . '/attribute/value?csrf={$CSRF}'); ?>">
|
||||
<div class="portlet-head"><?= $this->getHtml('Attribute', 'Attribute', 'Backend'); ?></div>
|
||||
<div class="portlet-body">
|
||||
<div class="form-group">
|
||||
<label for="iId"><?= $this->getHtml('ID', '0', '0'); ?></label>
|
||||
<input type="text" value="<?= $this->attribute->id; ?>" disabled>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="iName"><?= $this->getHtml('Name', 'Attribute', 'Backend'); ?></label>
|
||||
<input id="iName" type="text" value="<?= $this->printHtml($this->attribute->getL11n()); ?>" disabled>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="iValue"><?= $this->getHtml('Value', 'Attribute', 'Backend'); ?></label>
|
||||
<?php if ($this->attribute->valueInt !== null) : ?>
|
||||
<input id="iValue" type="number" name="value" value="<?= $this->attribute->valueInt; ?>">
|
||||
<?php elseif ($this->attribute->valueDec !== null) : ?>
|
||||
<input id="iValue" type="number" name="value" step="any" value="<?= $this->attribute->valueDec; ?>">
|
||||
<?php elseif ($this->attribute->valueStr !== null) : ?>
|
||||
<input id="iValue" type="text" name="value" value="<?= $this->printHtml($this->attribute->valueStr); ?>">
|
||||
<?php elseif ($this->attribute->valueDat !== null) : ?>
|
||||
<input id="iValue" type="text" name="value" value="<?= $this->attribute->valueDat->format('Y-m-d\TH:i'); ?>">
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="portlet-foot">
|
||||
<?php if ($isNew) : ?>
|
||||
<input id="iCreateSubmit" type="Submit" value="<?= $this->getHtml('Create', '0', '0'); ?>">
|
||||
<?php else : ?>
|
||||
<input id="iSaveSubmit" type="Submit" value="<?= $this->getHtml('Save', '0', '0'); ?>">
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</form>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<?= $this->l11nView->render(
|
||||
$this->l11ns,
|
||||
[],
|
||||
'{/api}' . $this->path . '/attribute/value/l11n?csrf={$CSRF}'
|
||||
);
|
||||
?>
|
||||
</div>
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.2
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Attribute' => [
|
||||
'Attribute' => '',
|
||||
'AttributeTypes' => '',
|
||||
'Attributes' => '',
|
||||
'CustomValue' => '',
|
||||
'Datatype' => '',
|
||||
'DefaultValues' => '',
|
||||
'IsRequired' => '',
|
||||
'Name' => '',
|
||||
'Pattern' => '',
|
||||
'Status' => '',
|
||||
'Title' => '',
|
||||
'Type' => '',
|
||||
'Unit' => '',
|
||||
'Value' => '',
|
||||
]];
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.2
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Attribute' => [
|
||||
'Attribute' => '',
|
||||
'AttributeTypes' => '',
|
||||
'Attributes' => '',
|
||||
'CustomValue' => '',
|
||||
'Datatype' => '',
|
||||
'DefaultValues' => '',
|
||||
'IsRequired' => '',
|
||||
'Name' => '',
|
||||
'Pattern' => '',
|
||||
'Status' => '',
|
||||
'Title' => '',
|
||||
'Type' => '',
|
||||
'Unit' => '',
|
||||
'Value' => '',
|
||||
]];
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.2
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Attribute' => [
|
||||
'Attribute' => '',
|
||||
'AttributeTypes' => '',
|
||||
'Attributes' => '',
|
||||
'CustomValue' => '',
|
||||
'Datatype' => '',
|
||||
'DefaultValues' => '',
|
||||
'IsRequired' => '',
|
||||
'Name' => '',
|
||||
'Pattern' => '',
|
||||
'Status' => '',
|
||||
'Title' => '',
|
||||
'Type' => '',
|
||||
'Unit' => '',
|
||||
'Value' => '',
|
||||
]];
|
||||
|
|
@ -27,4 +27,11 @@ return ['Attribute' => [
|
|||
'Type' => 'Type',
|
||||
'Unit' => 'Unit',
|
||||
'Value' => 'Value',
|
||||
'_INT' => 'INTEGER',
|
||||
'_STRING' => 'STRING',
|
||||
'_FLOAT' => 'FLOAT',
|
||||
'_FLOAT_INT' => 'FLOAT_INT',
|
||||
'_DATETIME' => 'DATETIME',
|
||||
'_BOOL' => 'BOOL',
|
||||
'Defaults' => 'Standards',
|
||||
]];
|
||||
|
|
|
|||
|
|
@ -1,30 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.2
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Attribute' => [
|
||||
'Attribute' => '',
|
||||
'AttributeTypes' => '',
|
||||
'Attributes' => '',
|
||||
'CustomValue' => '',
|
||||
'Datatype' => '',
|
||||
'DefaultValues' => '',
|
||||
'IsRequired' => '',
|
||||
'Name' => '',
|
||||
'Pattern' => '',
|
||||
'Status' => '',
|
||||
'Title' => '',
|
||||
'Type' => '',
|
||||
'Unit' => '',
|
||||
'Value' => '',
|
||||
]];
|
||||
|
|
@ -27,4 +27,11 @@ return ['Attribute' => [
|
|||
'Type' => 'Type',
|
||||
'Unit' => 'Unit',
|
||||
'Value' => 'Value',
|
||||
'_INT' => 'INTEGER',
|
||||
'_FLOAT_INT' => 'FLOAT_INT',
|
||||
'_STRING' => 'STRING',
|
||||
'_FLOAT' => 'FLOAT',
|
||||
'_DATETIME' => 'DATETIME',
|
||||
'_BOOL' => 'BOOL',
|
||||
'Defaults' => 'Defaults',
|
||||
]];
|
||||
|
|
|
|||
|
|
@ -1,30 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.2
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Attribute' => [
|
||||
'Attribute' => '',
|
||||
'AttributeTypes' => '',
|
||||
'Attributes' => '',
|
||||
'CustomValue' => '',
|
||||
'Datatype' => '',
|
||||
'DefaultValues' => '',
|
||||
'IsRequired' => '',
|
||||
'Name' => '',
|
||||
'Pattern' => '',
|
||||
'Status' => '',
|
||||
'Title' => '',
|
||||
'Type' => '',
|
||||
'Unit' => '',
|
||||
'Value' => '',
|
||||
]];
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.2
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Attribute' => [
|
||||
'Attribute' => '',
|
||||
'AttributeTypes' => '',
|
||||
'Attributes' => '',
|
||||
'CustomValue' => '',
|
||||
'Datatype' => '',
|
||||
'DefaultValues' => '',
|
||||
'IsRequired' => '',
|
||||
'Name' => '',
|
||||
'Pattern' => '',
|
||||
'Status' => '',
|
||||
'Title' => '',
|
||||
'Type' => '',
|
||||
'Unit' => '',
|
||||
'Value' => '',
|
||||
]];
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.2
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Attribute' => [
|
||||
'Attribute' => '',
|
||||
'AttributeTypes' => '',
|
||||
'Attributes' => '',
|
||||
'CustomValue' => '',
|
||||
'Datatype' => '',
|
||||
'DefaultValues' => '',
|
||||
'IsRequired' => '',
|
||||
'Name' => '',
|
||||
'Pattern' => '',
|
||||
'Status' => '',
|
||||
'Title' => '',
|
||||
'Type' => '',
|
||||
'Unit' => '',
|
||||
'Value' => '',
|
||||
]];
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.2
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Attribute' => [
|
||||
'Attribute' => '',
|
||||
'AttributeTypes' => '',
|
||||
'Attributes' => '',
|
||||
'CustomValue' => '',
|
||||
'Datatype' => '',
|
||||
'DefaultValues' => '',
|
||||
'IsRequired' => '',
|
||||
'Name' => '',
|
||||
'Pattern' => '',
|
||||
'Status' => '',
|
||||
'Title' => '',
|
||||
'Type' => '',
|
||||
'Unit' => '',
|
||||
'Value' => '',
|
||||
]];
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.2
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Attribute' => [
|
||||
'Attribute' => '',
|
||||
'AttributeTypes' => '',
|
||||
'Attributes' => '',
|
||||
'CustomValue' => '',
|
||||
'Datatype' => '',
|
||||
'DefaultValues' => '',
|
||||
'IsRequired' => '',
|
||||
'Name' => '',
|
||||
'Pattern' => '',
|
||||
'Status' => '',
|
||||
'Title' => '',
|
||||
'Type' => '',
|
||||
'Unit' => '',
|
||||
'Value' => '',
|
||||
]];
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.2
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Attribute' => [
|
||||
'Attribute' => '',
|
||||
'AttributeTypes' => '',
|
||||
'Attributes' => '',
|
||||
'CustomValue' => '',
|
||||
'Datatype' => '',
|
||||
'DefaultValues' => '',
|
||||
'IsRequired' => '',
|
||||
'Name' => '',
|
||||
'Pattern' => '',
|
||||
'Status' => '',
|
||||
'Title' => '',
|
||||
'Type' => '',
|
||||
'Unit' => '',
|
||||
'Value' => '',
|
||||
]];
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.2
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Attribute' => [
|
||||
'Attribute' => '',
|
||||
'AttributeTypes' => '',
|
||||
'Attributes' => '',
|
||||
'CustomValue' => '',
|
||||
'Datatype' => '',
|
||||
'DefaultValues' => '',
|
||||
'IsRequired' => '',
|
||||
'Name' => '',
|
||||
'Pattern' => '',
|
||||
'Status' => '',
|
||||
'Title' => '',
|
||||
'Type' => '',
|
||||
'Unit' => '',
|
||||
'Value' => '',
|
||||
]];
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.2
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Attribute' => [
|
||||
'Attribute' => '',
|
||||
'AttributeTypes' => '',
|
||||
'Attributes' => '',
|
||||
'CustomValue' => '',
|
||||
'Datatype' => '',
|
||||
'DefaultValues' => '',
|
||||
'IsRequired' => '',
|
||||
'Name' => '',
|
||||
'Pattern' => '',
|
||||
'Status' => '',
|
||||
'Title' => '',
|
||||
'Type' => '',
|
||||
'Unit' => '',
|
||||
'Value' => '',
|
||||
]];
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.2
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Attribute' => [
|
||||
'Attribute' => '',
|
||||
'AttributeTypes' => '',
|
||||
'Attributes' => '',
|
||||
'CustomValue' => '',
|
||||
'Datatype' => '',
|
||||
'DefaultValues' => '',
|
||||
'IsRequired' => '',
|
||||
'Name' => '',
|
||||
'Pattern' => '',
|
||||
'Status' => '',
|
||||
'Title' => '',
|
||||
'Type' => '',
|
||||
'Unit' => '',
|
||||
'Value' => '',
|
||||
]];
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.2
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Attribute' => [
|
||||
'Attribute' => '',
|
||||
'AttributeTypes' => '',
|
||||
'Attributes' => '',
|
||||
'CustomValue' => '',
|
||||
'Datatype' => '',
|
||||
'DefaultValues' => '',
|
||||
'IsRequired' => '',
|
||||
'Name' => '',
|
||||
'Pattern' => '',
|
||||
'Status' => '',
|
||||
'Title' => '',
|
||||
'Type' => '',
|
||||
'Unit' => '',
|
||||
'Value' => '',
|
||||
]];
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.2
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Attribute' => [
|
||||
'Attribute' => '',
|
||||
'AttributeTypes' => '',
|
||||
'Attributes' => '',
|
||||
'CustomValue' => '',
|
||||
'Datatype' => '',
|
||||
'DefaultValues' => '',
|
||||
'IsRequired' => '',
|
||||
'Name' => '',
|
||||
'Pattern' => '',
|
||||
'Status' => '',
|
||||
'Title' => '',
|
||||
'Type' => '',
|
||||
'Unit' => '',
|
||||
'Value' => '',
|
||||
]];
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.2
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Attribute' => [
|
||||
'Attribute' => '',
|
||||
'AttributeTypes' => '',
|
||||
'Attributes' => '',
|
||||
'CustomValue' => '',
|
||||
'Datatype' => '',
|
||||
'DefaultValues' => '',
|
||||
'IsRequired' => '',
|
||||
'Name' => '',
|
||||
'Pattern' => '',
|
||||
'Status' => '',
|
||||
'Title' => '',
|
||||
'Type' => '',
|
||||
'Unit' => '',
|
||||
'Value' => '',
|
||||
]];
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.2
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Attribute' => [
|
||||
'Attribute' => '',
|
||||
'AttributeTypes' => '',
|
||||
'Attributes' => '',
|
||||
'CustomValue' => '',
|
||||
'Datatype' => '',
|
||||
'DefaultValues' => '',
|
||||
'IsRequired' => '',
|
||||
'Name' => '',
|
||||
'Pattern' => '',
|
||||
'Status' => '',
|
||||
'Title' => '',
|
||||
'Type' => '',
|
||||
'Unit' => '',
|
||||
'Value' => '',
|
||||
]];
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.2
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Attribute' => [
|
||||
'Attribute' => '',
|
||||
'AttributeTypes' => '',
|
||||
'Attributes' => '',
|
||||
'CustomValue' => '',
|
||||
'Datatype' => '',
|
||||
'DefaultValues' => '',
|
||||
'IsRequired' => '',
|
||||
'Name' => '',
|
||||
'Pattern' => '',
|
||||
'Status' => '',
|
||||
'Title' => '',
|
||||
'Type' => '',
|
||||
'Unit' => '',
|
||||
'Value' => '',
|
||||
]];
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.2
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Attribute' => [
|
||||
'Attribute' => '',
|
||||
'AttributeTypes' => '',
|
||||
'Attributes' => '',
|
||||
'CustomValue' => '',
|
||||
'Datatype' => '',
|
||||
'DefaultValues' => '',
|
||||
'IsRequired' => '',
|
||||
'Name' => '',
|
||||
'Pattern' => '',
|
||||
'Status' => '',
|
||||
'Title' => '',
|
||||
'Type' => '',
|
||||
'Unit' => '',
|
||||
'Value' => '',
|
||||
]];
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.2
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Attribute' => [
|
||||
'Attribute' => '',
|
||||
'AttributeTypes' => '',
|
||||
'Attributes' => '',
|
||||
'CustomValue' => '',
|
||||
'Datatype' => '',
|
||||
'DefaultValues' => '',
|
||||
'IsRequired' => '',
|
||||
'Name' => '',
|
||||
'Pattern' => '',
|
||||
'Status' => '',
|
||||
'Title' => '',
|
||||
'Type' => '',
|
||||
'Unit' => '',
|
||||
'Value' => '',
|
||||
]];
|
||||
Loading…
Reference in New Issue
Block a user