初始化仓库

This commit is contained in:
2024-09-19 11:32:39 +08:00
commit 8f5315e936
921 changed files with 76455 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
<?php
namespace admin\components\UI\Table\Column;
/**
* Class Progress
*/
class Progress implements Component
{
private string $color;
/**
* @param string $color
*/
public function __construct(string $color = 'default')
{
$this->color = $color;
}
/**
* @param $label
* @return array
*/
public function render($label): array
{
return (new \backend\components\UI\Widget\Progress("rowData.record['$label']"))->color($this->color)->render();
}
}