<?php 
/**
	Admin Page Framework v3.8.15 by Michael Uno 
	Generated by PHP Class Files Script Generator <https://github.com/michaeluno/PHP-Class-Files-Script-Generator>
	<http://en.michaeluno.jp/cs-tmc>
	Copyright (c) 2013-2017, Michael Uno; Licensed under MIT <http://opensource.org/licenses/MIT> */
class cs_tmc_AdminPageFramework_FieldType__nested extends cs_tmc_AdminPageFramework_FieldType {
    public $aFieldTypeSlugs = array('_nested');
    protected $aDefaultKeys = array();
    protected function getStyles() {
        return ".cs-tmc-fieldset > .cs-tmc-fields > .cs-tmc-field.with-nested-fields > .cs-tmc-fieldset.multiple-nesting {margin-left: 2em;}.cs-tmc-fieldset > .cs-tmc-fields > .cs-tmc-field.with-nested-fields > .cs-tmc-fieldset {margin-bottom: 1em;}.with-nested-fields > .cs-tmc-fieldset.child-fieldset > .cs-tmc-child-field-title {display: inline-block;padding: 0 0 0.4em 0;}.cs-tmc-fieldset.child-fieldset > label.cs-tmc-child-field-title {display: table-row; white-space: nowrap;}";
    }
    protected function getField($aField) {
        $_oCallerForm = $aField['_caller_object'];
        $_aInlineMixedOutput = array();
        foreach ($this->getAsArray($aField['content']) as $_aChildFieldset) {
            if (is_scalar($_aChildFieldset)) {
                continue;
            }
            if (!$this->isNormalPlacement($_aChildFieldset)) {
                continue;
            }
            $_aChildFieldset = $this->getFieldsetReformattedBySubFieldIndex($_aChildFieldset, ( integer )$aField['_index'], $aField['_is_multiple_fields'], $aField);
            $_oFieldset = new cs_tmc_AdminPageFramework_Form_View___Fieldset($_aChildFieldset, $_oCallerForm->aSavedData, $_oCallerForm->getFieldErrors(), $_oCallerForm->aFieldTypeDefinitions, $_oCallerForm->oMsg, $_oCallerForm->aCallbacks);
            $_aInlineMixedOutput[] = $_oFieldset->get();
        }
        return implode('', $_aInlineMixedOutput);
    }
}
class cs_tmc_AdminPageFramework_FieldType_inline_mixed extends cs_tmc_AdminPageFramework_FieldType__nested {
    public $aFieldTypeSlugs = array('inline_mixed');
    protected $aDefaultKeys = array('label_min_width' => '', 'show_debug_info' => false,);
    protected function getStyles() {
        return ".cs-tmc-field-inline_mixed {width: 98%;}.cs-tmc-field-inline_mixed > fieldset {display: inline-block;overflow-x: visible;padding-right: 0.4em;}.cs-tmc-field-inline_mixed > fieldset > .cs-tmc-fields{display: inline;width: auto;table-layout: auto;margin: 0;padding: 0;vertical-align: middle;white-space: nowrap;}.cs-tmc-field-inline_mixed > fieldset > .cs-tmc-fields > .cs-tmc-field {float: none;clear: none;width: 100%;display: inline-block;margin-right: auto;vertical-align: middle; }.with-mixed-fields > fieldset > label {width: auto;padding: 0;}.cs-tmc-field-inline_mixed > fieldset > .cs-tmc-fields > .cs-tmc-field .cs-tmc-input-label-string {padding: 0;}.cs-tmc-field-inline_mixed > fieldset > .cs-tmc-fields > .cs-tmc-field > .cs-tmc-input-label-container,.cs-tmc-field-inline_mixed > fieldset > .cs-tmc-fields > .cs-tmc-field > * > .cs-tmc-input-label-container{padding: 0;display: inline-block;width: 100%;}.cs-tmc-field-inline_mixed > fieldset > .cs-tmc-fields > .cs-tmc-field > .cs-tmc-input-label-container > label,.cs-tmc-field-inline_mixed > fieldset > .cs-tmc-fields > .cs-tmc-field > * > .cs-tmc-input-label-container > label{display: inline-block;}.cs-tmc-field-inline_mixed > fieldset > .cs-tmc-fields > .cs-tmc-field > .cs-tmc-input-label-container > label > input,.cs-tmc-field-inline_mixed > fieldset > .cs-tmc-fields > .cs-tmc-field > * > .cs-tmc-input-label-container > label > input{display: inline-block;min-width: 100%;margin-right: auto;margin-left: auto;}.cs-tmc-field-inline_mixed .cs-tmc-input-label-container,.cs-tmc-field-inline_mixed .cs-tmc-input-label-string{min-width: 0;}";
    }
}
