Merge branch '4.x' into schema

This commit is contained in:
Dan Harrin
2024-03-25 09:17:32 +00:00
19 changed files with 817 additions and 22 deletions
+1 -1
View File
@@ -75,7 +75,7 @@
"pint",
"npm run prettier"
],
"pint": "pint",
"pint": "pint --config pint-strict-imports.json",
"test:pest": "pest --parallel",
"test:phpstan": "phpstan analyse",
"test": [
Generated
+1 -1
View File
@@ -12742,5 +12742,5 @@
"composer-runtime-api": "^2.1"
},
"platform-dev": [],
"plugin-api-version": "2.3.0"
"plugin-api-version": "2.6.0"
}
@@ -0,0 +1,77 @@
<?php
return [
'label' => '내보내기',
'modal' => [
'heading' => ':label 내보내기',
'form' => [
'columns' => [
'label' => '열',
'form' => [
'is_enabled' => [
'label' => ':column 활성화됨',
],
'label' => [
'label' => ':column 라벨',
],
],
],
],
'actions' => [
'export' => [
'label' => '내보내기',
],
],
],
'notifications' => [
'completed' => [
'title' => '내보내기 완료',
'actions' => [
'download_csv' => [
'label' => '.csv 다운로드',
],
'download_xlsx' => [
'label' => '.xlsx 다운로드',
],
],
],
'max_rows' => [
'title' => '내보내기가 너무 큽니다',
'body' => '한 번에 1개 이상의 행을 내보낼 수 없습니다.|한 번에 :count개 이상의 행을 내보낼 수 없습니다.',
],
'started' => [
'title' => '내보내기 시작됨',
'body' => '내보내기가 시작되었으며 1개의 행이 백그라운드에서 처리됩니다.|내보내기가 시작되었으며 :count개의 행이 백그라운드에서 처리됩니다.',
],
],
'file_name' => '내보내기-:export_id-:model',
];
@@ -0,0 +1,77 @@
<?php
return [
'label' => '가져오기',
'modal' => [
'heading' => ':label 가져오기',
'form' => [
'file' => [
'label' => '파일',
'placeholder' => 'CSV 파일 업로드',
],
'columns' => [
'label' => '열',
'placeholder' => '열을 선택하세요',
],
],
'actions' => [
'download_example' => [
'label' => '예시 CSV 파일 다운로드',
],
'import' => [
'label' => '가져오기',
],
],
],
'notifications' => [
'completed' => [
'title' => '가져오기 완료',
'actions' => [
'download_failed_rows_csv' => [
'label' => '실패한 행에 대한 정보 다운로드|실패한 행에 대한 정보 다운로드',
],
],
],
'max_rows' => [
'title' => '업로드된 CSV 파일이 너무 큽니다.',
'body' => '한 번에 1개 이상의 행을 가져올 수 없습니다.|한 번에 :count개 이상의 행을 가져올 수 없습니다.',
],
'started' => [
'title' => '가져오기가 시작되었습니다.',
'body' => '가져오기가 시작되었으며 1개의 행이 백그라운드에서 처리됩니다.|가져오기가 시작되었으며 :count개의 행이 백그라운드에서 처리됩니다.',
],
],
'example_csv' => [
'file_name' => ':importer-example',
],
'failure_csv' => [
'file_name' => 'import-:import_id-:csv_name-failed-rows',
'error_header' => '오류',
'system_error' => '시스템 오류입니다. 지원팀에 문의하세요.',
],
];
@@ -124,7 +124,7 @@ function removeListStyleWhenCheckbox(htmlText) {
listItemChild instanceof HTMLInputElement &&
listItemChild.type === 'checkbox'
) {
// From Github: margin: 0 .2em .25em -1.6em;
// From GitHub: margin: 0 .2em .25em -1.6em;
listItem.style.marginLeft = '-1.5em'
listItem.style.listStyleType = 'none'
}
@@ -185,6 +185,15 @@ return [
],
'svg' => [
'messages' => [
'confirmation' => 'SVG 파일을 편집하는 것은 크기 조정 시 품질 손실이 발생할 수 있으므로 권장되지 않습니다.\n 계속하시겠습니까?',
'disabled' => 'SVG 파일 편집은 크기 조정 시 품질 손실이 발생할 수 있으므로 비활성화되었습니다.',
],
],
],
],
@@ -241,6 +250,15 @@ return [
],
'radio' => [
'boolean' => [
'true' => '예',
'false' => '아니오',
],
],
'repeater' => [
'actions' => [
@@ -401,6 +419,31 @@ return [
'placeholder' => '새 태그',
],
'text_input' => [
'actions' => [
'hide_password' => [
'label' => '비밀번호 숨기기',
],
'show_password' => [
'label' => '비밀번호 표시',
],
],
],
'toggle_buttons' => [
'boolean' => [
'true' => '예',
'false' => '아니오',
],
],
'wizard' => [
'actions' => [
@@ -0,0 +1,10 @@
<?php
return [
'distinct' => [
'must_be_selected' => ':attribute 필드 중 하나 이상을 선택해야 합니다.',
'only_one_must_be_selected' => ':attribute 필드 중 하나만 선택해야 합니다.',
],
];
@@ -2,8 +2,37 @@
return [
'text_entry' => [
'more_list_items' => ':count 항목이 더 있습니다',
'entries' => [
'text' => [
'actions' => [
'collapse_list' => ':count 개 더 접기',
'expand_list' => ':count 개 더 펼치기',
],
'more_list_items' => '그리고 :count 개 더',
],
'key_value' => [
'columns' => [
'key' => [
'label' => '키',
],
'value' => [
'label' => '값',
],
],
'placeholder' => '항목 없음',
],
],
];
@@ -1,17 +1,25 @@
@php
use Filament\Notifications\Livewire\Notifications;
use Filament\Support\Enums\Alignment;
use Filament\Support\Enums\VerticalAlignment;
use Illuminate\Support\Arr;
$color = $getColor() ?? 'gray';
$isInline = $isInline();
$title = $getTitle();
$hasTitle = filled($title);
$date = $getDate();
$hasDate = filled($date);
$body = $getBody();
$hasBody = filled($body);
@endphp
<x-filament-notifications::notification
:notification="$notification"
:x-transition:enter-start="
\Illuminate\Support\Arr::toCssClasses([
Arr::toCssClasses([
'opacity-0',
($this instanceof \Filament\Notifications\Livewire\Notifications)
($this instanceof Notifications)
? match (static::$alignment) {
Alignment::Start, Alignment::Left => '-translate-x-12',
Alignment::End, Alignment::Right => 'translate-x-12',
@@ -26,7 +34,7 @@
])
"
:x-transition:leave-end="
\Illuminate\Support\Arr::toCssClasses([
Arr::toCssClasses([
'opacity-0',
'scale-95' => ! $isInline,
])
@@ -73,20 +81,22 @@
@endif
<div class="mt-0.5 grid flex-1">
@if (filled($title = $getTitle()))
@if ($hasTitle)
<x-filament-notifications::title>
{{ str($title)->sanitizeHtml()->toHtmlString() }}
</x-filament-notifications::title>
@endif
@if (filled($date = $getDate()))
<x-filament-notifications::date class="mt-1">
@if ($hasDate)
<x-filament-notifications::date @class(['mt-1' => $hasTitle])>
{{ $date }}
</x-filament-notifications::date>
@endif
@if (filled($body = $getBody()))
<x-filament-notifications::body class="mt-1">
@if ($hasBody)
<x-filament-notifications::body
@class(['mt-1' => $hasTitle || $hasDate])
>
{{ str($body)->sanitizeHtml()->toHtmlString() }}
</x-filament-notifications::body>
@endif
@@ -94,7 +104,7 @@
@if ($actions = $getActions())
<x-filament-notifications::actions
:actions="$actions"
class="mt-3"
@class(['mt-3' => $hasTitle || $hasDate || $hasBody])
/>
@endif
</div>
@@ -4,4 +4,30 @@ return [
'title' => '대시보드',
'actions' => [
'filter' => [
'label' => '필터',
'modal' => [
'heading' => '필터',
'actions' => [
'apply' => [
'label' => '적용',
],
],
],
],
],
];
@@ -30,8 +30,8 @@
<x-filament::dropdown
placement="bottom-start"
teleport
size
teleport
:attributes="
\Filament\Support\prepare_inherited_attributes($attributes)
->class(['fi-tenant-menu'])
+2 -2
View File
@@ -6,7 +6,7 @@ title: Contributing
## Reporting bugs
If you find a bug in Filament, please report it by opening an issue on our [GitHub repository](https://github.com/filamentphp/filament/issues/new/choose). Before opening an issue, please search the [existing issues](https://github.com/filamentphp/filament/issues?q=is%3Aissue) to see if the bug has already been reported.
If you find a bug in Filament, please report it by opening an issue on our [GitHub repository](https://github.com/filamentphp/filament/issues/new/choose). Before opening an issue, please search the [existing issues](https://github.com/filamentphp/filament/issues?q=is%3Aissue) to see if the bug has already been reported.
Please make sure to include as much information as possible, including the version of packages in your app. You can use this Artisan command in your app to open a new issue with all the correct versions pre-filled:
@@ -20,7 +20,7 @@ Remember, bug reports are created in the hope that others with the same problem
## Development of new features
If you would like to propose a new feature or improvement to Filament, you may use our [discussion form](https://github.com/filamentphp/filament/discussions) hosted on Github. If you are intending on implementing the feature yourself in a pull request, we advise you to `@danharrin` in your feature discussion beforehand and ask if it is suitable for the framework to prevent wasting your time.
If you would like to propose a new feature or improvement to Filament, you may use our [discussion form](https://github.com/filamentphp/filament/discussions) hosted on GitHub. If you are intending on implementing the feature yourself in a pull request, we advise you to `@danharrin` in your feature discussion beforehand and ask if it is suitable for the framework to prevent wasting your time.
## Development of plugins
@@ -22,10 +22,18 @@ return [
'actions' => [
'first' => [
'label' => '첫 페이지',
],
'go_to_page' => [
'label' => ':page 페이지로 이동',
],
'last' => [
'label' => '마지막 페이지',
],
'next' => [
'label' => '다음',
],
@@ -22,10 +22,18 @@ return [
'actions' => [
'first' => [
'label' => 'Đầu tiên',
],
'go_to_page' => [
'label' => 'Đi tới trang :page',
],
'last' => [
'label' => 'Cuối cùng',
],
'next' => [
'label' => 'Tiếp theo',
],
@@ -1,11 +1,11 @@
@props([
'availableHeight' => null,
'availableWidth' => null,
'maxHeight' => null,
'offset' => 8,
'placement' => null,
'shift' => false,
'size' => false,
'availableHeight' => null,
'availableWidth' => null,
'sizePadding' => 16,
'teleport' => false,
'trigger' => null,
@@ -0,0 +1,482 @@
<?php
return [
'label' => '쿼리 빌더',
'form' => [
'operator' => [
'label' => '연산자',
],
'or_groups' => [
'label' => '그룹',
'block' => [
'label' => '배타적 논리 (OR)',
'or' => '또는',
],
],
'rules' => [
'label' => '조건',
'item' => [
'and' => '그리고',
],
],
],
'no_rules' => '(조건 없음)',
'item_separators' => [
'and' => '그리고',
'or' => '또는',
],
'operators' => [
'is_filled' => [
'label' => [
'direct' => '채워짐',
'inverse' => '빈 값',
],
'summary' => [
'direct' => ':attribute이(가) 채워짐',
'inverse' => ':attribute이(가) 비어 있음',
],
],
'boolean' => [
'is_true' => [
'label' => [
'direct' => '참',
'inverse' => '거짓',
],
'summary' => [
'direct' => ':attribute이(가) 참',
'inverse' => ':attribute이(가) 거짓',
],
],
],
'date' => [
'is_after' => [
'label' => [
'direct' => '이후',
'inverse' => '이후가 아님',
],
'summary' => [
'direct' => ':attribute이(가) :date 이후',
'inverse' => ':attribute이(가) :date 이후가 아님',
],
],
'is_before' => [
'label' => [
'direct' => '이전',
'inverse' => '이전이 아님',
],
'summary' => [
'direct' => ':attribute이(가) :date 이전',
'inverse' => ':attribute이(가) :date 이전이 아님',
],
],
'is_date' => [
'label' => [
'direct' => '날짜임',
'inverse' => '날짜가 아님',
],
'summary' => [
'direct' => ':attribute이(가) :date임',
'inverse' => ':attribute이(가) :date가 아님',
],
],
'is_month' => [
'label' => [
'direct' => '월임',
'inverse' => '월이 아님',
],
'summary' => [
'direct' => ':attribute이(가) :month임',
'inverse' => ':attribute이(가) :month가 아님',
],
],
'is_year' => [
'label' => [
'direct' => '년도임',
'inverse' => '년도가 아님',
],
'summary' => [
'direct' => ':attribute이(가) :year임',
'inverse' => ':attribute이(가) :year가 아님',
],
],
'form' => [
'date' => [
'label' => '날짜',
],
'month' => [
'label' => '월',
],
'year' => [
'label' => '년도',
],
],
],
'number' => [
'equals' => [
'label' => [
'direct' => '같음',
'inverse' => '같지 않음',
],
'summary' => [
'direct' => ':attribute이(가) :number와 같음',
'inverse' => ':attribute이(가) :number와 같지 않음',
],
],
'is_max' => [
'label' => [
'direct' => '최대값임',
'inverse' => '보다 큼',
],
'summary' => [
'direct' => ':attribute이(가) 최대값 :number임',
'inverse' => ':attribute이(가) :number보다 큼',
],
],
'is_min' => [
'label' => [
'direct' => '최소값임',
'inverse' => '보다 작음',
],
'summary' => [
'direct' => ':attribute이(가) 최소값 :number임',
'inverse' => ':attribute이(가) :number보다 작음',
],
],
'aggregates' => [
'average' => [
'label' => '평균',
'summary' => ':attribute의 평균',
],
'max' => [
'label' => '최대값',
'summary' => ':attribute의 최대값',
],
'min' => [
'label' => '최소값',
'summary' => ':attribute의 최소값',
],
'sum' => [
'label' => '합계',
'summary' => ':attribute의 합계',
],
],
'form' => [
'aggregate' => [
'label' => '집계',
],
'number' => [
'label' => '숫자',
],
],
],
'relationship' => [
'equals' => [
'label' => [
'direct' => '포함함',
'inverse' => '포함하지 않음',
],
'summary' => [
'direct' => ':count :relationship을(를) 가짐',
'inverse' => ':count :relationship을(를) 가지지 않음',
],
],
'has_max' => [
'label' => [
'direct' => '최대값을 가짐',
'inverse' => '보다 많음',
],
'summary' => [
'direct' => '최대값 :count :relationship을(를) 가짐',
'inverse' => ':count보다 많은 :relationship을(를) 가짐',
],
],
'has_min' => [
'label' => [
'direct' => '최소값을 가짐',
'inverse' => '보다 작음',
],
'summary' => [
'direct' => '최소값 :count :relationship을(를) 가짐',
'inverse' => ':count보다 작은 :relationship을(를) 가짐',
],
],
'is_empty' => [
'label' => [
'direct' => '비어 있음',
'inverse' => '비어 있지 않음',
],
'summary' => [
'direct' => ':relationship이(가) 비어 있음',
'inverse' => ':relationship이(가) 비어 있지 않음',
],
],
'is_related_to' => [
'label' => [
'single' => [
'direct' => '일치함',
'inverse' => '일치하지 않음',
],
'multiple' => [
'direct' => '포함함',
'inverse' => '포함하지 않음',
],
],
'summary' => [
'single' => [
'direct' => ':relationship이(가) :values와 일치함',
'inverse' => ':relationship이(가) :values와 일치하지 않음',
],
'multiple' => [
'direct' => ':relationship이(가) :values를 포함함',
'inverse' => ':relationship이(가) :values를 포함하지 않음',
],
'values_glue' => [
0 => ', ',
'final' => ' 또는 ',
],
],
'form' => [
'value' => [
'label' => '값',
],
'values' => [
'label' => '값들',
],
],
],
'form' => [
'count' => [
'label' => '개수',
],
],
],
'select' => [
'is' => [
'label' => [
'direct' => '일치함',
'inverse' => '일치하지 않음',
],
'summary' => [
'direct' => ':attribute이(가) :values와 일치함',
'inverse' => ':attribute이(가) :values와 일치하지 않음',
'values_glue' => [
', ',
'final' => ' 또는 ',
],
],
'form' => [
'value' => [
'label' => '값',
],
'values' => [
'label' => '값들',
],
],
],
],
'text' => [
'contains' => [
'label' => [
'direct' => '포함함',
'inverse' => '포함하지 않음',
],
'summary' => [
'direct' => ':attribute이(가) :text를 포함함',
'inverse' => ':attribute이(가) :text를 포함하지 않음',
],
],
'ends_with' => [
'label' => [
'direct' => '끝이 일치함',
'inverse' => '끝이 일치하지 않음',
],
'summary' => [
'direct' => ':attribute이(가) :text로 끝남',
'inverse' => ':attribute이(가) :text로 끝나지 않음',
],
],
'equals' => [
'label' => [
'direct' => '같음',
'inverse' => '같지 않음',
],
'summary' => [
'direct' => ':attribute이(가) :text와 같음',
'inverse' => ':attribute이(가) :text와 같지 않음',
],
],
'starts_with' => [
'label' => [
'direct' => '시작함',
'inverse' => '시작하지 않음',
],
'summary' => [
'direct' => ':attribute이(가) :text로 시작함',
'inverse' => ':attribute이(가) :text로 시작하지 않음',
],
],
'form' => [
'text' => [
'label' => '텍스트',
],
],
],
],
'actions' => [
'add_rule' => [
'label' => '조건 추가',
],
'add_rule_group' => [
'label' => '조건 그룹 추가',
],
],
];
@@ -11,7 +11,14 @@ return [
'columns' => [
'text' => [
'actions' => [
'collapse_list' => ':count 개 더 접기',
'expand_list' => ':count 개 더 펼치기',
],
'more_list_items' => ':count 항목이 더 있습니다',
],
],
@@ -106,6 +113,10 @@ return [
'actions' => [
'apply' => [
'label' => '필터 적용',
],
'remove' => [
'label' => '필터 삭제',
],
+17
View File
@@ -0,0 +1,17 @@
{
"preset": "laravel",
"rules": {
"blank_line_before_statement": true,
"concat_space": {
"spacing": "one"
},
"fully_qualified_strict_types": {
"import_symbols": true
},
"method_argument_space": true,
"single_trait_insert_per_statement": true,
"types_spaces": {
"space": "single"
}
}
}
-3
View File
@@ -5,9 +5,6 @@
"concat_space": {
"spacing": "one"
},
"fully_qualified_strict_types": {
"import_symbols": true
},
"method_argument_space": true,
"single_trait_insert_per_statement": true,
"types_spaces": {