IMPR: Idea annotator

This commit is contained in:
Tony Air 2022-05-10 13:08:53 +02:00
parent a96505fb7c
commit af6711e040
17 changed files with 165 additions and 0 deletions

View File

@ -11,6 +11,12 @@ namespace A2nt\ElementalBasics\Elements;
use DNADesign\ElementalList\Model\ElementList;
use SilverStripe\Forms\CheckboxField;
/**
* Class \A2nt\ElementalBasics\Elements\AccordionElement
*
* @property boolean $OpenFirst
* @property boolean $KeepOpenned
*/
class AccordionElement extends ElementList
{
private static $icon = 'font-icon-block-file-list';

View File

@ -13,6 +13,10 @@ use SilverStripe\AssetAdmin\Forms\UploadField;
use SilverStripe\Assets\Image;
use SilverStripe\Forms\TextareaField;
/**
* Class \A2nt\ElementalBasics\Elements\CustomSnippetElement
*
*/
class CustomSnippetElement extends ElementContent
{
private static $icon = 'font-icon-external-link';

View File

@ -11,6 +11,16 @@ namespace A2nt\ElementalBasics\Elements;
use DNADesign\Elemental\Models\BaseElement;
use SilverStripe\Core\Convert;
/**
* Class \A2nt\ElementalBasics\Elements\InstagramElement
*
* @property string $Username
* @property string $Tag
* @property boolean $DisplayProfile
* @property boolean $DisplayBiography
* @property boolean $DisplayGallery
* @property boolean $DisplayCaptions
*/
class InstagramElement extends BaseElement
{
private static $icon = 'font-icon-menu-files';

View File

@ -22,6 +22,13 @@ use A2nt\ElementalBasics\Controllers\MapElementController;
use A2nt\ElementalBasics\Extensions\MapExtension;
use SilverStripe\Forms\GridField\GridFieldDataColumns;
/**
* Class \A2nt\ElementalBasics\Elements\MapElement
*
* @property int $MapZoom
* @method \SilverStripe\ORM\ManyManyList|\A2nt\ElementalBasics\Models\MapPin[] Locations()
* @mixin \A2nt\ElementalBasics\Extensions\MapExtension
*/
class MapElement extends ElementContent
{
private static $icon = 'font-icon-globe-1';

View File

@ -20,6 +20,25 @@ use SilverStripe\Forms\NumericField;
use SilverStripe\Forms\ReadonlyField;
use Symbiote\GridFieldExtensions\GridFieldEditableColumns;
/**
* Class \A2nt\ElementalBasics\Elements\SliderElement
*
* @property string $Animation
* @property boolean $Loop
* @property boolean $Animate
* @property boolean $ThumbnailNav
* @property boolean $SliderControlNav
* @property boolean $SliderDirectionNav
* @property boolean $CarouselControlNav
* @property boolean $CarouselDirectionNav
* @property int $CarouselThumbnailCt
* @property float $FlexSliderSpeed
* @property int $Interval
* @property int $SlidesInRow
* @property boolean $ImageOriginalSize
* @method \SilverStripe\ORM\DataList|\Dynamic\FlexSlider\Model\SlideImage[] Slides()
* @mixin \Dynamic\FlexSlider\ORM\FlexSlider
*/
class SliderElement extends ElementSlideshow
{
private static $singular_name = 'Slider';

View File

@ -11,6 +11,10 @@ namespace A2nt\ElementalBasics\Elements;
use DNADesign\Elemental\Models\BaseElement;
use A2nt\ElementalBasics\Models\TeamMember;
/**
* Class \A2nt\ElementalBasics\Elements\TeamMembersElement
*
*/
class TeamMembersElement extends BaseElement
{
private static $table_name = 'A2nt_ElementalBasics_Elements_TeamMembersElement';

View File

@ -15,6 +15,11 @@ use SilverStripe\ORM\DataExtension;
use SilverStripe\Forms\FieldList;
use SilverStripe\Forms\LiteralField;
/**
* Class \A2nt\ElementalBasics\Extensions\BaseElementEx
*
* @property \A2nt\ElementalBasics\Extensions\BaseElementEx $owner
*/
class BaseElementEx extends DataExtension
{

View File

@ -10,6 +10,11 @@ namespace A2nt\ElementalBasics\Extensions;
use SilverStripe\ORM\DataExtension;
/**
* Class \A2nt\ElementalBasics\Extensions\ElementContentWidget
*
* @property \A2nt\ElementalBasics\Extensions\ElementContentWidget $owner
*/
class ElementContentWidget extends DataExtension
{
}

View File

@ -18,6 +18,19 @@ use SilverStripe\Forms\DropdownField;
use SilverStripe\Forms\FieldList;
use SilverStripe\ORM\DataExtension;
/**
* Class \A2nt\ElementalBasics\Extensions\ElementImageWidget
*
* @property \A2nt\ElementalBasics\Extensions\ElementImageWidget $owner
* @property boolean $Resize
* @property boolean $ManualWidth
* @property float $ImageHeight
* @property float $ImageWidth
* @property string $ImageAspectRatio
* @property string $Content
* @property int $ImageLinkID
* @method \Sheadawson\Linkable\Models\Link ImageLink()
*/
class ElementImageWidget extends DataExtension
{
private static $available_heights = [

View File

@ -5,6 +5,11 @@ namespace A2nt\ElementalBasics\Extensions;
use SilverStripe\ORM\DataExtension;
use A2nt\ElementalBasics\Elements\EmptyPageController;
/**
* Class \A2nt\ElementalBasics\Extensions\ElementListExtension
*
* @property \A2nt\ElementalBasics\Extensions\ElementListExtension $owner
*/
class ElementListExtension extends DataExtension
{
public function getControllerName()

View File

@ -17,6 +17,13 @@ use SilverStripe\ORM\DataExtension;
use SilverStripe\Forms\FieldList;
use A2nt\ElementalBasics\Elements\AccordionElement;
/**
* Class \A2nt\ElementalBasics\Extensions\ElementRows
*
* @property \A2nt\ElementalBasics\Extensions\ElementRows $owner
* @property string $ContainerType
* @property string $Size
*/
class ElementRows extends DataExtension
{
private static $container_max_width = 1140;

View File

@ -14,6 +14,11 @@ use SilverStripe\ORM\DataExtension;
use SilverStripe\ORM\HasManyList;
use SilverStripe\ORM\UnsavedRelationList;
/**
* Class \A2nt\ElementalBasics\Extensions\ElementalArea
*
* @property \A2nt\ElementalBasics\Extensions\ElementalArea $owner
*/
class ElementalArea extends DataExtension
{
public function ElementFilteredControllers()

View File

@ -18,6 +18,13 @@ use SilverStripe\Forms\NumericField;
use SilverStripe\ORM\DataExtension;
use A2nt\ElementalBasics\Models\MapPin;
/**
* Class \A2nt\ElementalBasics\Extensions\MapExtension
*
* @property \A2nt\ElementalBasics\Elements\MapElement|\A2nt\ElementalBasics\Extensions\MapExtension $owner
* @property int $MapZoom
* @method \SilverStripe\ORM\ManyManyList|\A2nt\ElementalBasics\Models\MapPin[] Locations()
*/
class MapExtension extends DataExtension
{
private static $db = [

View File

@ -20,6 +20,14 @@ use SilverStripe\Forms\FieldList;
use SilverStripe\Forms\LiteralField;
use SilverStripe\ORM\ValidationResult;
/**
* Class \A2nt\ElementalBasics\Extensions\SlideImageEx
*
* @property \A2nt\ElementalBasics\Extensions\SlideImageEx $owner
* @property boolean $Hide
* @property string $DateOn
* @property string $DateOff
*/
class SlideImageEx extends DataExtension
{
private static $db = [

View File

@ -10,6 +10,12 @@ use SilverStripe\Forms\TextareaField;
use SilverStripe\ORM\DataExtension;
use SilverStripe\UserForms\Model\EditableFormField;
/**
* Class \A2nt\ElementalBasics\Extensions\UserDefinedFormExtension
*
* @property \A2nt\ElementalBasics\Extensions\UserDefinedFormExtension $owner
* @method \SilverStripe\ORM\ManyManyList|\SilverStripe\UserForms\Model\EditableFormField[] SubmissionColumns()
*/
class UserDefinedFormExtension extends DataExtension
{
/*private static $db = [

View File

@ -18,6 +18,30 @@ use SilverStripe\Versioned\Versioned;
use A2nt\ElementalBasics\Elements\MapElement;
use Symbiote\Addressable\Addressable;
/**
* Class \A2nt\ElementalBasics\Models\MapPin
*
* @property int $Version
* @property boolean $DirectionsByAddress
* @property boolean $LatLngOverride
* @property float $Lat
* @property float $Lng
* @property string $Address
* @property string $Suburb
* @property string $State
* @property string $Postcode
* @property string $Country
* @property string $Title
* @property boolean $ShowAtMap
* @property int $PhoneNumberID
* @property int $FaxID
* @method \Sheadawson\Linkable\Models\Link PhoneNumber()
* @method \Sheadawson\Linkable\Models\Link Fax()
* @method \SilverStripe\ORM\ManyManyList|\A2nt\ElementalBasics\Elements\MapElement[] MapElements()
* @mixin \Symbiote\Addressable\Addressable
* @mixin \A2nt\SilverStripeMapboxField\MarkerExtension
* @mixin \SilverStripe\Versioned\Versioned
*/
class MapPin extends DataObject
{
private static $table_name = 'MapPin';

View File

@ -13,6 +13,36 @@ use SilverStripe\ORM\DataObject;
use SilverStripe\Versioned\Versioned;
use A2nt\CMSNiceties\Extensions\SocialExtension;
/**
* Class \A2nt\ElementalBasics\Models\TeamMember
*
* @property int $Version
* @property string $FirstName
* @property string $LastName
* @property string $Company
* @property string $Position
* @property string $Content
* @property int $FacebookID
* @property int $LinkedInID
* @property int $PinterestID
* @property int $InstagramID
* @property int $TwitterID
* @property int $YouTubeID
* @property int $PublicEmailID
* @property int $PhoneNumberID
* @property int $PhotoID
* @method \Sheadawson\Linkable\Models\Link Facebook()
* @method \Sheadawson\Linkable\Models\Link LinkedIn()
* @method \Sheadawson\Linkable\Models\Link Pinterest()
* @method \Sheadawson\Linkable\Models\Link Instagram()
* @method \Sheadawson\Linkable\Models\Link Twitter()
* @method \Sheadawson\Linkable\Models\Link YouTube()
* @method \Sheadawson\Linkable\Models\Link PublicEmail()
* @method \Sheadawson\Linkable\Models\Link PhoneNumber()
* @method \SilverStripe\Assets\Image Photo()
* @mixin \A2nt\CMSNiceties\Extensions\SocialExtension
* @mixin \SilverStripe\Versioned\Versioned
*/
class TeamMember extends DataObject
{
private static $table_name = 'TeamMember';