Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
atmonshi committed Feb 9, 2024
1 parent 5da3470 commit e4faf66
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 31 deletions.
30 changes: 15 additions & 15 deletions app/Filament/Pages/Quantity.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
use App\Filament\Clusters\ComponentsDemo;
use Filament\Forms\Components\Section;
use Filament\Forms\Form;
use Filament\Forms\Get;
use Filament\Pages\Page;
use LaraZeus\Quantity\Components\Quantity as QuantityAlias;
use Filament\Forms\Components\Actions\Action;

class Quantity extends Page
{
Expand Down Expand Up @@ -47,37 +49,37 @@ public function form(Form $form): Form
->label('select quantity')
->default(3)
->required()
//->inlineLabel()
//->disabled()
//->heading('select quantity')
->helperText('between 2 and 10')
->maxValue(10)
->minValue(2)
->hiddenLabel()
->live()
//->stacked()
->prefix(fn (Get $get) => 'stop at 0')
->suffix(fn (Get $get) => 'stop at 10')
->columnSpanFull(),

QuantityAlias::make('name2')
->label('select quantity')
->default(10)
->required()
//->inlineLabel()
//->disabled()
->prefix(fn (Get $get) => 'stop at 0')

->heading('select quantity')
->hiddenLabel()
->live()
//->stacked()
,
->live(),

QuantityAlias::make('name3')
->label('select quantity')
->default(100)
->required()
//->inlineLabel()
//->disabled()
//->heading('select quantity')
//->hiddenLabel()
->suffix(fn (Get $get) => 'stop at 0')
->suffixAction(
Action::make('copyCostToPrice')
->icon('heroicon-m-clipboard')
->requiresConfirmation()
->modalHeading('nothing will happen after ...')
->modalDescription('just want to let you know')
)
->live()
->stacked()
->columnSpanFull(),
Expand All @@ -87,9 +89,7 @@ public function form(Form $form): Form
->default(404)
->required()
->inlineLabel()
//->disabled()
->heading('select quantity')
//->hiddenLabel()
->live()
->stacked()
->columnSpanFull(),
Expand Down
18 changes: 15 additions & 3 deletions composer-prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,46 +9,57 @@
"alperenersoy/filament-export": "dev-fix-there",
"andreiio/blade-iconoir": "^2.5",
"andreiio/blade-remix-icon": "^2.3",
"archilex/filament-filter-sets": "^3.1",
"archilex/filament-filter-sets": "^3.5",
"archtechx/laravel-seo": "^0.7",
"awcodes/filament-quick-create": "^3.0",
"awcodes/filament-versions": "^2.0",
"awcodes/light-switch": "^1.0",
"awcodes/overlook": "^2.0",
"bezhansalleh/filament-panel-switch": "^1.0",
"codeat3/blade-akar-icons": "^1.21",
"codeat3/blade-carbon-icons": "^2.13",
"codeat3/blade-clarity-icons": "^1.8",
"codeat3/blade-game-icons": "^1.3",
"codeat3/blade-grommet-icons": "^1.8",
"codeat3/blade-iconpark": "^1.5",
"codeat3/blade-rpg-awesome-icons": "^1.4",
"codeat3/blade-vaadin-icons": "^1.4",
"codewithdennis/filament-select-tree": "^3.1",
"davidhsianturi/blade-bootstrap-icons": "^1.4",
"doctrine/dbal": "^3.0",
"garygreen/pretty-routes": "^1.0",
"graham-campbell/github": "^12.2",
"guzzlehttp/guzzle": "^7.5",
"jaocero/activity-timeline": "^1.1",
"jaocero/radio-deck": "^1.1",
"jeremykenedy/laravel-packagist": "^1.0",
"lara-zeus/accordion": "^1.0",
"filament/filament": "3.2.27",
"lara-zeus/artemis": "^1.0",
"lara-zeus/bolt": "^3.0",
"lara-zeus/bolt-pro": "^3.0",
"lara-zeus/boredom": "^1.0",
"lara-zeus/dynamic-dashboard": "^3.0",
"lara-zeus/helen": "^2.0",
"lara-zeus/hera": "^1.0",
"lara-zeus/hermes": "^2.0",
"lara-zeus/inline-chart": "^1.0",
"lara-zeus/matrix-choice": "^3.2",
"lara-zeus/popover": "^1.0",
"lara-zeus/qr": "^1.0",
"lara-zeus/quantity": "^1.0",
"lara-zeus/rhea": "^2.0",
"lara-zeus/sky": "^3.4",
"lara-zeus/thunder": "^3.0",
"lara-zeus/thunder": "^3.1",
"lara-zeus/wind": "^3.2",
"laravel/framework": "^10.0",
"laravel/prompts": "^0.1.15",
"laravel/sanctum": "^3.2",
"njxqlus/filament-progressbar": "dev-main",
"postare/blade-mdi": "^1.1",
"pxlrbt/filament-spotlight": "^1.0",
"ryangjchandler/blade-tabler-icons": "^2.0",
"saade/blade-iconsax": "^1.1",
"sentry/sentry-laravel": "^3.3",
"stechstudio/filament-impersonate": "^3.5",
"swisnl/filament-backgrounds": "^1.1",
Expand All @@ -64,7 +75,8 @@
"laravel/tinker": "^2.7",
"mockery/mockery": "^1.4.4",
"nunomaduro/collision": "^7.2",
"nunomaduro/larastan": "^2.0",
"larastan/larastan": "^2.0",
"orangehill/iseed": "^3.0",
"pestphp/pest": "^2.0",
"pestphp/pest-plugin-laravel": "^2.0",
"pestphp/pest-plugin-livewire": "^2.x-dev",
Expand Down
10 changes: 5 additions & 5 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion public/css/app.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions public/css/filament-guests.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions public/css/filament-zeus.css

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions public/mix-manifest.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"/js/another-portfolio.js": "/js/another-portfolio.js?id=310f6363b62387f70d4f10ba6c4a2d8c",
"/js/app.js": "/js/app.js?id=d41d8cd98f00b204e9800998ecf8427e",
"/css/filament-zeus.css": "/css/filament-zeus.css?id=403ff141491c51e59bf05b48c4e3181f",
"/css/filament-guests.css": "/css/filament-guests.css?id=f869e7c3811a84c915a9f748c92b22dc",
"/css/filament-zeus.css": "/css/filament-zeus.css?id=a9a9d904374a74036d013968b0a3a6ce",
"/css/filament-guests.css": "/css/filament-guests.css?id=23e41c6583e4d0ff315cb4ed561756c1",
"/css/another-portfolio.css": "/css/another-portfolio.css?id=0d8d54d95bfbd5ace26dc904362ae827",
"/css/app.css": "/css/app.css?id=f61f950d7df74fa9f219cf9e195be741",
"/css/app.css": "/css/app.css?id=2c0da301f14fcf16673947b6cc60a5fd",
"/css/daisy.css": "/css/daisy.css?id=9e13f3408c4f8cbae09fc0f5a45f6b83",
"/css/flag-icons.css": "/css/flag-icons.css?id=b25f918b02d08796bc5624f273d84778"
}

0 comments on commit e4faf66

Please sign in to comment.