diff --git a/packages/admin/resources/views/partials/products/editing/associations.blade.php b/packages/admin/resources/views/partials/products/editing/associations.blade.php index 83c85b891b..a331c399be 100644 --- a/packages/admin/resources/views/partials/products/editing/associations.blade.php +++ b/packages/admin/resources/views/partials/products/editing/associations.blade.php @@ -61,17 +61,17 @@ @foreach($associations->filter(fn($product) => $product['inverse'] == $showInverseAssociations) as $index => $product) - + - + - + {{ $product['name'] }} - + - + - + - + - + @endforeach diff --git a/packages/admin/tests/Unit/Http/Livewire/Components/Orders/OrdersTableTest.php b/packages/admin/tests/Unit/Http/Livewire/Components/Orders/OrdersTableTest.php index 5d49e701c1..d43e6925d7 100644 --- a/packages/admin/tests/Unit/Http/Livewire/Components/Orders/OrdersTableTest.php +++ b/packages/admin/tests/Unit/Http/Livewire/Components/Orders/OrdersTableTest.php @@ -42,7 +42,7 @@ public function can_mount_component() ]); Livewire::actingAs($staff, 'staff')->test(OrdersTable::class) - ->assertViewIs('tables::index'); + ->assertViewIs('l-tables::index'); } /** @test */ @@ -57,7 +57,7 @@ public function can_see_columns() $orders = Order::factory(5)->create(); $component = Livewire::actingAs($staff, 'staff')->test(OrdersTable::class) - ->assertViewIs('tables::index'); + ->assertViewIs('l-tables::index'); foreach ($columns as $column) { $component->assertSee($column->getHeading()); diff --git a/packages/admin/tests/Unit/Http/Livewire/Components/Settings/Tables/ActivityLogTableTest.php b/packages/admin/tests/Unit/Http/Livewire/Components/Settings/Tables/ActivityLogTableTest.php index dd806a3b0e..2889f61413 100644 --- a/packages/admin/tests/Unit/Http/Livewire/Components/Settings/Tables/ActivityLogTableTest.php +++ b/packages/admin/tests/Unit/Http/Livewire/Components/Settings/Tables/ActivityLogTableTest.php @@ -26,7 +26,7 @@ public function can_mount_component() ]); Livewire::actingAs($staff, 'staff')->test(ActivityLogTable::class) - ->assertViewIs('tables::index'); + ->assertViewIs('l-tables::index'); } /** @test */ @@ -41,7 +41,7 @@ public function can_see_columns_and_data() $channels = Channel::factory(5)->create(); $component = Livewire::actingAs($staff, 'staff')->test(ActivityLogTable::class) - ->assertViewIs('tables::index'); + ->assertViewIs('l-tables::index'); foreach ($component->get('columns') as $column) { $component->assertSee($column->getHeading()); diff --git a/packages/admin/tests/Unit/Http/Livewire/Components/Settings/Tables/AttributesTableTest.php b/packages/admin/tests/Unit/Http/Livewire/Components/Settings/Tables/AttributesTableTest.php index 3c1bc6ba10..3f07f37ba2 100644 --- a/packages/admin/tests/Unit/Http/Livewire/Components/Settings/Tables/AttributesTableTest.php +++ b/packages/admin/tests/Unit/Http/Livewire/Components/Settings/Tables/AttributesTableTest.php @@ -28,7 +28,7 @@ public function can_mount_component() ]); Livewire::actingAs($staff, 'staff')->test(AttributesTable::class) - ->assertViewIs('tables::index'); + ->assertViewIs('l-tables::index'); } /** @test */ @@ -41,7 +41,7 @@ public function can_see_columns_and_data() $types = AttributeManifest::getTypes(); $component = Livewire::actingAs($staff, 'staff')->test(AttributesTable::class) - ->assertViewIs('tables::index'); + ->assertViewIs('l-tables::index'); foreach ($component->get('columns') as $column) { $component->assertSee($column->getHeading()); diff --git a/packages/admin/tests/Unit/Http/Livewire/Components/Settings/Tables/ChannelsTableTest.php b/packages/admin/tests/Unit/Http/Livewire/Components/Settings/Tables/ChannelsTableTest.php index 02e7ac314c..b7468819c9 100644 --- a/packages/admin/tests/Unit/Http/Livewire/Components/Settings/Tables/ChannelsTableTest.php +++ b/packages/admin/tests/Unit/Http/Livewire/Components/Settings/Tables/ChannelsTableTest.php @@ -25,7 +25,7 @@ public function can_mount_component() ]); Livewire::actingAs($staff, 'staff')->test(ChannelsTable::class) - ->assertViewIs('tables::index'); + ->assertViewIs('l-tables::index'); } /** @test */ @@ -38,7 +38,7 @@ public function can_see_columns_and_data() $records = Channel::factory(5)->create(); $component = Livewire::actingAs($staff, 'staff')->test(ChannelsTable::class) - ->assertViewIs('tables::index'); + ->assertViewIs('l-tables::index'); foreach ($component->get('columns') as $column) { $component->assertSee($column->getHeading()); diff --git a/packages/admin/tests/Unit/Http/Livewire/Components/Settings/Tables/CurrenciesTableTest.php b/packages/admin/tests/Unit/Http/Livewire/Components/Settings/Tables/CurrenciesTableTest.php index 3e26bb9a35..f1aab88bd8 100644 --- a/packages/admin/tests/Unit/Http/Livewire/Components/Settings/Tables/CurrenciesTableTest.php +++ b/packages/admin/tests/Unit/Http/Livewire/Components/Settings/Tables/CurrenciesTableTest.php @@ -25,7 +25,7 @@ public function can_mount_component() ]); Livewire::actingAs($staff, 'staff')->test(CurrenciesTable::class) - ->assertViewIs('tables::index'); + ->assertViewIs('l-tables::index'); } /** @test */ @@ -38,7 +38,7 @@ public function can_see_columns_and_data() $records = Currency::factory(5)->create(); $component = Livewire::actingAs($staff, 'staff')->test(CurrenciesTable::class) - ->assertViewIs('tables::index'); + ->assertViewIs('l-tables::index'); foreach ($component->get('columns') as $column) { $component->assertSee($column->getHeading()); diff --git a/packages/admin/tests/Unit/Http/Livewire/Components/Settings/Tables/LanguagesTableTest.php b/packages/admin/tests/Unit/Http/Livewire/Components/Settings/Tables/LanguagesTableTest.php index 58ff1684f0..5e3d266576 100644 --- a/packages/admin/tests/Unit/Http/Livewire/Components/Settings/Tables/LanguagesTableTest.php +++ b/packages/admin/tests/Unit/Http/Livewire/Components/Settings/Tables/LanguagesTableTest.php @@ -25,7 +25,7 @@ public function can_mount_component() ]); Livewire::actingAs($staff, 'staff')->test(LanguagesTable::class) - ->assertViewIs('tables::index'); + ->assertViewIs('l-tables::index'); } /** @test */ @@ -38,7 +38,7 @@ public function can_see_columns_and_data() $records = Language::factory(5)->create(); $component = Livewire::actingAs($staff, 'staff')->test(LanguagesTable::class) - ->assertViewIs('tables::index'); + ->assertViewIs('l-tables::index'); foreach ($component->get('columns') as $column) { $component->assertSee($column->getHeading()); diff --git a/packages/admin/tests/Unit/Http/Livewire/Components/Settings/Tables/StaffTableTest.php b/packages/admin/tests/Unit/Http/Livewire/Components/Settings/Tables/StaffTableTest.php index 129accbdf6..43c0690603 100644 --- a/packages/admin/tests/Unit/Http/Livewire/Components/Settings/Tables/StaffTableTest.php +++ b/packages/admin/tests/Unit/Http/Livewire/Components/Settings/Tables/StaffTableTest.php @@ -24,7 +24,7 @@ public function can_mount_component() ]); Livewire::actingAs($staff, 'staff')->test(StaffTable::class) - ->assertViewIs('tables::index'); + ->assertViewIs('l-tables::index'); } /** @test */ @@ -37,7 +37,7 @@ public function can_see_columns_and_data() $records = Staff::factory(5)->create(); $component = Livewire::actingAs($staff, 'staff')->test(StaffTable::class) - ->assertViewIs('tables::index'); + ->assertViewIs('l-tables::index'); foreach ($component->get('columns') as $column) { $component->assertSee($column->getHeading()); diff --git a/packages/admin/tests/Unit/Http/Livewire/Components/Settings/Tables/TagsTableTest.php b/packages/admin/tests/Unit/Http/Livewire/Components/Settings/Tables/TagsTableTest.php index 13b54dfd86..1adea7d63a 100644 --- a/packages/admin/tests/Unit/Http/Livewire/Components/Settings/Tables/TagsTableTest.php +++ b/packages/admin/tests/Unit/Http/Livewire/Components/Settings/Tables/TagsTableTest.php @@ -26,7 +26,7 @@ public function can_mount_component() ]); Livewire::actingAs($staff, 'staff')->test(TagsTable::class) - ->assertViewIs('tables::index'); + ->assertViewIs('l-tables::index'); } /** @test */ @@ -39,7 +39,7 @@ public function can_see_columns_and_data() Tag::factory(5)->create(); $component = Livewire::actingAs($staff, 'staff')->test(TagsTable::class) - ->assertViewIs('tables::index'); + ->assertViewIs('l-tables::index'); foreach ($component->get('columns') as $column) { $component->assertSee($column->getHeading()); diff --git a/packages/admin/tests/Unit/Http/Livewire/Components/Settings/Tables/TaxZonesTableTest.php b/packages/admin/tests/Unit/Http/Livewire/Components/Settings/Tables/TaxZonesTableTest.php index fcf3d90455..877e0278c9 100644 --- a/packages/admin/tests/Unit/Http/Livewire/Components/Settings/Tables/TaxZonesTableTest.php +++ b/packages/admin/tests/Unit/Http/Livewire/Components/Settings/Tables/TaxZonesTableTest.php @@ -25,7 +25,7 @@ public function can_mount_component() ]); Livewire::actingAs($staff, 'staff')->test(TaxZonesTable::class) - ->assertViewIs('tables::index'); + ->assertViewIs('l-tables::index'); } /** @test */ @@ -38,7 +38,7 @@ public function can_see_columns_and_data() TaxZone::factory(5)->create(); $component = Livewire::actingAs($staff, 'staff')->test(TaxZonesTable::class) - ->assertViewIs('tables::index'); + ->assertViewIs('l-tables::index'); foreach ($component->get('columns') as $column) { $component->assertSee($column->getHeading()); diff --git a/packages/core/database/migrations/2022_08_09_100002_add_brand_id_to_products_table.php b/packages/core/database/migrations/2022_08_09_100002_add_brand_id_to_products_table.php index ccaf189410..c8c48ad0b4 100644 --- a/packages/core/database/migrations/2022_08_09_100002_add_brand_id_to_products_table.php +++ b/packages/core/database/migrations/2022_08_09_100002_add_brand_id_to_products_table.php @@ -25,7 +25,7 @@ public function down() Schema::table($this->prefix.'products', function ($table) { if (DB::getDriverName() !== 'sqlite') { $table->dropForeign(['brand_id']); - }; + } $table->dropColumn('brand_id'); }); } diff --git a/utils/livewire-tables/CHANGELOG.md b/utils/livewire-tables/CHANGELOG.md new file mode 100644 index 0000000000..3d484d6001 --- /dev/null +++ b/utils/livewire-tables/CHANGELOG.md @@ -0,0 +1,15 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). + +# [Unreleased] + +## Changed + +- Updated `tables` view namespace to `l-tables` + +# 0.1.0-rc.1 + +Initial release. diff --git a/utils/livewire-tables/dist/livewire-tables/app.css b/utils/livewire-tables/dist/livewire-tables/app.css index 47c2cda521..aa9d255a1e 100644 --- a/utils/livewire-tables/dist/livewire-tables/app.css +++ b/utils/livewire-tables/dist/livewire-tables/app.css @@ -1 +1 @@ -/*! tailwindcss v3.1.8 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::-webkit-backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.lt-form-input,.lt-form-multiselect,.lt-form-select,.lt-form-textarea{--tw-shadow:0 0 #0000;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}.lt-form-input:focus,.lt-form-multiselect:focus,.lt-form-select:focus,.lt-form-textarea:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}.lt-form-input::-moz-placeholder,.lt-form-textarea::-moz-placeholder{color:#6b7280;opacity:1}.lt-form-input::placeholder,.lt-form-textarea::placeholder{color:#6b7280;opacity:1}.lt-form-input::-webkit-datetime-edit-fields-wrapper{padding:0}.lt-form-input::-webkit-date-and-time-value{min-height:1.5em}.lt-form-input::-webkit-datetime-edit,.lt-form-input::-webkit-datetime-edit-day-field,.lt-form-input::-webkit-datetime-edit-hour-field,.lt-form-input::-webkit-datetime-edit-meridiem-field,.lt-form-input::-webkit-datetime-edit-millisecond-field,.lt-form-input::-webkit-datetime-edit-minute-field,.lt-form-input::-webkit-datetime-edit-month-field,.lt-form-input::-webkit-datetime-edit-second-field,.lt-form-input::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}.lt-form-select{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem}.lt-form-checkbox,.lt-form-radio,.lt-form-select{-webkit-print-color-adjust:exact;print-color-adjust:exact}.lt-form-checkbox,.lt-form-radio{--tw-shadow:0 0 #0000;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;width:1rem}.lt-form-checkbox{border-radius:0}.lt-form-checkbox:focus,.lt-form-radio:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}.lt-form-checkbox:checked,.lt-form-radio:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}.lt-form-checkbox:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E")}.lt-form-checkbox:checked:focus,.lt-form-checkbox:checked:hover,.lt-form-radio:checked:focus,.lt-form-radio:checked:hover{background-color:currentColor;border-color:transparent}.lt-form-checkbox:indeterminate{background-color:currentColor;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}.lt-form-checkbox:indeterminate:focus,.lt-form-checkbox:indeterminate:hover{background-color:currentColor;border-color:transparent}.lt-button{align-items:center;border-radius:.375rem;border-width:1px;display:inline-flex;font-weight:500;gap:.5rem;justify-content:center;transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.lt-button:hover{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.lt-button:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(219 234 254/var(--tw-ring-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid transparent;outline-offset:2px}.lt-button:disabled{cursor:not-allowed;opacity:.5}.lt-button-gray{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));color:rgb(75 85 99/var(--tw-text-opacity))}.lt-button-gray:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.lt-button-success{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 163 74/var(--tw-bg-opacity));border-color:rgb(22 163 74/var(--tw-border-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.lt-button-success:hover{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.lt-button-primary{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(37 99 235/var(--tw-bg-opacity));border-color:rgb(37 99 235/var(--tw-border-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.lt-button-primary:hover{--tw-bg-opacity:1;background-color:rgb(29 78 216/var(--tw-bg-opacity))}.lt-button-danger{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(220 38 38/var(--tw-bg-opacity));border-color:rgb(220 38 38/var(--tw-border-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.lt-button-danger:hover{--tw-bg-opacity:1;background-color:rgb(185 28 28/var(--tw-bg-opacity))}.lt-sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.lt-fixed{position:fixed}.lt-absolute{position:absolute}.lt-relative{position:relative}.lt-inset-0{left:0;right:0}.lt-inset-0,.lt-inset-y-0{bottom:0;top:0}.lt-inset-x-0{left:0;right:0}.lt-right-0{right:0}.lt-left-0{left:0}.lt-top-0{top:0}.lt-z-50{z-index:50}.lt-z-\[75\]{z-index:75}.lt--m-2{margin:-.5rem}.lt--my-4{margin-bottom:-1rem;margin-top:-1rem}.lt--my-px{margin-bottom:-1px;margin-top:-1px}.lt-mx-auto{margin-left:auto;margin-right:auto}.lt-mt-2{margin-top:.5rem}.lt-mt-1{margin-top:.25rem}.lt-mt-4{margin-top:1rem}.lt-mr-3{margin-right:.75rem}.lt-block{display:block}.lt-inline-block{display:inline-block}.lt-flex{display:flex}.lt-inline-flex{display:inline-flex}.lt-flow-root{display:flow-root}.lt-grid{display:grid}.lt-hidden{display:none}.lt-h-4{height:1rem}.lt-h-3{height:.75rem}.lt-h-5{height:1.25rem}.lt-h-6{height:1.5rem}.lt-h-10{height:2.5rem}.lt-w-4{width:1rem}.lt-w-48{width:12rem}.lt-w-3{width:.75rem}.lt-w-full{width:100%}.lt-w-10{width:2.5rem}.lt-w-5{width:1.25rem}.lt-w-6{width:1.5rem}.lt-min-w-full{min-width:100%}.lt-flex-1{flex:1 1 0%}.lt-origin-top-right{transform-origin:top right}.lt-rotate-0{--tw-rotate:0deg}.lt-rotate-0,.lt-rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.lt-rotate-180{--tw-rotate:180deg}@-webkit-keyframes lt-pulse{50%{opacity:.5}}@keyframes lt-pulse{50%{opacity:.5}}.lt-animate-pulse{-webkit-animation:lt-pulse 2s cubic-bezier(.4,0,.6,1) infinite;animation:lt-pulse 2s cubic-bezier(.4,0,.6,1) infinite}.lt-flex-wrap{flex-wrap:wrap}.lt-place-content-center{place-content:center}.lt-items-end{align-items:flex-end}.lt-items-center{align-items:center}.lt-items-stretch{align-items:stretch}.lt-justify-center{justify-content:center}.lt-gap-2{gap:.5rem}.lt-gap-0\.5{gap:.125rem}.lt-gap-0{gap:0}.lt-gap-4{gap:1rem}.lt-divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-bottom-width:calc(1px*var(--tw-divide-y-reverse));border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)))}.lt-divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity:1;border-color:rgb(229 231 235/var(--tw-divide-opacity))}.lt-divide-gray-100>:not([hidden])~:not([hidden]){--tw-divide-opacity:1;border-color:rgb(243 244 246/var(--tw-divide-opacity))}.lt-overflow-hidden{overflow:hidden}.lt-overflow-x-auto{overflow-x:auto}.lt-whitespace-nowrap{white-space:nowrap}.lt-rounded-md{border-radius:.375rem}.lt-rounded-lg{border-radius:.5rem}.lt-rounded-full{border-radius:9999px}.lt-rounded{border-radius:.25rem}.\!lt-rounded-r-none{border-bottom-right-radius:0!important;border-top-right-radius:0!important}.\!lt-rounded-l-none{border-bottom-left-radius:0!important;border-top-left-radius:0!important}.lt-border{border-width:1px}.\!lt-border-0{border-width:0!important}.\!lt-border-y-0{border-bottom-width:0!important;border-top-width:0!important}.lt-border-y{border-bottom-width:1px;border-top-width:1px}.\!lt-border-r-0{border-right-width:0!important}.lt-border-b{border-bottom-width:1px}.lt-border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.lt-border-green-600{--tw-border-opacity:1;border-color:rgb(22 163 74/var(--tw-border-opacity))}.lt-border-blue-600{--tw-border-opacity:1;border-color:rgb(37 99 235/var(--tw-border-opacity))}.lt-border-red-600{--tw-border-opacity:1;border-color:rgb(220 38 38/var(--tw-border-opacity))}.lt-border-gray-100{--tw-border-opacity:1;border-color:rgb(243 244 246/var(--tw-border-opacity))}.lt-border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.lt-border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.lt-border-green-500{--tw-border-opacity:1;border-color:rgb(34 197 94/var(--tw-border-opacity))}.lt-bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.lt-bg-green-600{--tw-bg-opacity:1;background-color:rgb(22 163 74/var(--tw-bg-opacity))}.lt-bg-blue-600{--tw-bg-opacity:1;background-color:rgb(37 99 235/var(--tw-bg-opacity))}.lt-bg-red-600{--tw-bg-opacity:1;background-color:rgb(220 38 38/var(--tw-bg-opacity))}.lt-bg-blue-50{--tw-bg-opacity:1;background-color:rgb(239 246 255/var(--tw-bg-opacity))}.lt-bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.lt-bg-green-50{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.lt-bg-yellow-50{--tw-bg-opacity:1;background-color:rgb(254 252 232/var(--tw-bg-opacity))}.lt-bg-red-50{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.lt-bg-green-400{--tw-bg-opacity:1;background-color:rgb(74 222 128/var(--tw-bg-opacity))}.lt-bg-gray-500\/75{background-color:hsla(220,9%,46%,.75)}.lt-p-2{padding:.5rem}.lt-p-4{padding:1rem}.lt-p-0{padding:0}.lt-p-8{padding:2rem}.lt-px-3{padding-left:.75rem;padding-right:.75rem}.lt-py-2{padding-bottom:.5rem;padding-top:.5rem}.lt-px-2\.5{padding-left:.625rem;padding-right:.625rem}.lt-px-2{padding-left:.5rem;padding-right:.5rem}.lt-px-4{padding-left:1rem;padding-right:1rem}.lt-py-3{padding-bottom:.75rem;padding-top:.75rem}.lt-py-4{padding-bottom:1rem;padding-top:1rem}.lt-py-1{padding-bottom:.25rem;padding-top:.25rem}.lt-pl-10{padding-left:2.5rem}.lt-pl-4{padding-left:1rem}.lt-pr-0{padding-right:0}.lt-pt-6{padding-top:1.5rem}.lt-text-left{text-align:left}.lt-text-center{text-align:center}.lt-text-right{text-align:right}.lt-text-sm{font-size:.875rem;line-height:1.25rem}.lt-text-xs{font-size:.75rem;line-height:1rem}.lt-font-medium{font-weight:500}.lt-font-bold{font-weight:700}.lt-capitalize{text-transform:capitalize}.lt-leading-none{line-height:1}.lt-text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity))}.lt-text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.lt-text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity))}.lt-text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.lt-text-blue-600{--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity))}.lt-text-gray-900{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity))}.lt-text-blue-700{--tw-text-opacity:1;color:rgb(29 78 216/var(--tw-text-opacity))}.lt-text-green-600{--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity))}.lt-text-yellow-600{--tw-text-opacity:1;color:rgb(202 138 4/var(--tw-text-opacity))}.lt-text-gray-300{--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.lt-text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.lt-opacity-0{opacity:0}.lt-opacity-100{opacity:1}.lt-shadow-xl{--tw-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1);--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.lt-transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.lt-transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.lt-duration-300{transition-duration:.3s}.lt-duration-200{transition-duration:.2s}.lt-ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.lt-ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.even\:lt-bg-gray-50:nth-child(2n){--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.focus-within\:lt-ring:focus-within{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-within\:lt-ring-blue-100:focus-within{--tw-ring-opacity:1;--tw-ring-color:rgb(219 234 254/var(--tw-ring-opacity))}.hover\:lt-bg-gray-50:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.hover\:lt-text-gray-700:hover{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity))}.hover\:lt-underline:hover{text-decoration-line:underline}.hover\:lt-shadow-sm:hover{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.focus\:lt-border-blue-300:focus{--tw-border-opacity:1;border-color:rgb(147 197 253/var(--tw-border-opacity))}.focus\:lt-bg-gray-50:focus{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.focus\:lt-outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:lt-ring:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\:lt-ring-blue-100:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(219 234 254/var(--tw-ring-opacity))}.focus\:\!lt-ring-transparent:focus{--tw-ring-color:transparent!important}.focus\:lt-ring-offset-0:focus{--tw-ring-offset-width:0px}.disabled\:lt-cursor-not-allowed:disabled{cursor:not-allowed}.lt-group:hover .group-hover\:lt-opacity-100{opacity:1}@media (min-width:640px){.sm\:lt-flex{display:flex}.sm\:lt-w-full{width:100%}.sm\:lt-max-w-sm{max-width:24rem}.sm\:lt-max-w-md{max-width:28rem}.sm\:lt-max-w-lg{max-width:32rem}.sm\:lt-max-w-xl{max-width:36rem}.sm\:lt-max-w-2xl{max-width:42rem}.sm\:lt-translate-y-0{--tw-translate-y:0px}.sm\:lt-scale-95,.sm\:lt-translate-y-0{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\:lt-scale-95{--tw-scale-x:.95;--tw-scale-y:.95}.sm\:lt-scale-100{--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\:lt-justify-center{justify-content:center}.sm\:lt-gap-4{gap:1rem}.sm\:lt-px-0{padding-left:0;padding-right:0}.sm\:lt-text-sm{font-size:.875rem;line-height:1.25rem}} +/*! tailwindcss v3.1.8 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::-webkit-backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.lt-form-input,.lt-form-multiselect,.lt-form-select,.lt-form-textarea{--tw-shadow:0 0 #0000;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}.lt-form-input:focus,.lt-form-multiselect:focus,.lt-form-select:focus,.lt-form-textarea:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}.lt-form-input::-moz-placeholder,.lt-form-textarea::-moz-placeholder{color:#6b7280;opacity:1}.lt-form-input::placeholder,.lt-form-textarea::placeholder{color:#6b7280;opacity:1}.lt-form-input::-webkit-datetime-edit-fields-wrapper{padding:0}.lt-form-input::-webkit-date-and-time-value{min-height:1.5em}.lt-form-input::-webkit-datetime-edit,.lt-form-input::-webkit-datetime-edit-day-field,.lt-form-input::-webkit-datetime-edit-hour-field,.lt-form-input::-webkit-datetime-edit-meridiem-field,.lt-form-input::-webkit-datetime-edit-millisecond-field,.lt-form-input::-webkit-datetime-edit-minute-field,.lt-form-input::-webkit-datetime-edit-month-field,.lt-form-input::-webkit-datetime-edit-second-field,.lt-form-input::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}.lt-form-select{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem}.lt-form-checkbox,.lt-form-radio,.lt-form-select{color-adjust:exact;-webkit-print-color-adjust:exact;print-color-adjust:exact}.lt-form-checkbox,.lt-form-radio{--tw-shadow:0 0 #0000;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;width:1rem}.lt-form-checkbox{border-radius:0}.lt-form-checkbox:focus,.lt-form-radio:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}.lt-form-checkbox:checked,.lt-form-radio:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}.lt-form-checkbox:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E")}.lt-form-checkbox:checked:focus,.lt-form-checkbox:checked:hover,.lt-form-radio:checked:focus,.lt-form-radio:checked:hover{background-color:currentColor;border-color:transparent}.lt-form-checkbox:indeterminate{background-color:currentColor;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}.lt-form-checkbox:indeterminate:focus,.lt-form-checkbox:indeterminate:hover{background-color:currentColor;border-color:transparent}.lt-button{align-items:center;border-radius:.375rem;border-width:1px;display:inline-flex;font-weight:500;gap:.5rem;justify-content:center;transition-duration:.15s;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.lt-button:hover{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.lt-button:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(219 234 254/var(--tw-ring-opacity));box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);outline:2px solid transparent;outline-offset:2px}.lt-button:disabled{cursor:not-allowed;opacity:.5}.lt-button-gray{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(229 231 235/var(--tw-border-opacity));color:rgb(75 85 99/var(--tw-text-opacity))}.lt-button-gray:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.lt-button-success{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(22 163 74/var(--tw-bg-opacity));border-color:rgb(22 163 74/var(--tw-border-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.lt-button-success:hover{--tw-bg-opacity:1;background-color:rgb(21 128 61/var(--tw-bg-opacity))}.lt-button-primary{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(37 99 235/var(--tw-bg-opacity));border-color:rgb(37 99 235/var(--tw-border-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.lt-button-primary:hover{--tw-bg-opacity:1;background-color:rgb(29 78 216/var(--tw-bg-opacity))}.lt-button-danger{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(220 38 38/var(--tw-bg-opacity));border-color:rgb(220 38 38/var(--tw-border-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}.lt-button-danger:hover{--tw-bg-opacity:1;background-color:rgb(185 28 28/var(--tw-bg-opacity))}.lt-sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.lt-fixed{position:fixed}.lt-absolute{position:absolute}.lt-relative{position:relative}.lt-inset-0{left:0;right:0}.lt-inset-0,.lt-inset-y-0{bottom:0;top:0}.lt-inset-x-0{left:0;right:0}.lt-right-0{right:0}.lt-left-0{left:0}.lt-top-0{top:0}.lt-z-50{z-index:50}.lt-z-\[75\]{z-index:75}.lt--m-2{margin:-.5rem}.lt--my-4{margin-bottom:-1rem;margin-top:-1rem}.lt--my-px{margin-bottom:-1px;margin-top:-1px}.lt-mx-auto{margin-left:auto;margin-right:auto}.lt-mt-2{margin-top:.5rem}.lt-mt-1{margin-top:.25rem}.lt-mt-4{margin-top:1rem}.lt-mr-3{margin-right:.75rem}.lt-block{display:block}.lt-inline-block{display:inline-block}.lt-flex{display:flex}.lt-inline-flex{display:inline-flex}.lt-flow-root{display:flow-root}.lt-grid{display:grid}.lt-hidden{display:none}.lt-h-4{height:1rem}.lt-h-3{height:.75rem}.lt-h-5{height:1.25rem}.lt-h-6{height:1.5rem}.lt-h-10{height:2.5rem}.lt-w-4{width:1rem}.lt-w-48{width:12rem}.lt-w-3{width:.75rem}.lt-w-full{width:100%}.lt-w-10{width:2.5rem}.lt-w-5{width:1.25rem}.lt-w-6{width:1.5rem}.lt-min-w-full{min-width:100%}.lt-flex-1{flex:1 1 0%}.lt-origin-top-right{transform-origin:top right}.lt-rotate-0{--tw-rotate:0deg}.lt-rotate-0,.lt-rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.lt-rotate-180{--tw-rotate:180deg}@-webkit-keyframes lt-pulse{50%{opacity:.5}}@keyframes lt-pulse{50%{opacity:.5}}.lt-animate-pulse{-webkit-animation:lt-pulse 2s cubic-bezier(.4,0,.6,1) infinite;animation:lt-pulse 2s cubic-bezier(.4,0,.6,1) infinite}.lt-flex-wrap{flex-wrap:wrap}.lt-place-content-center{place-content:center}.lt-items-end{align-items:flex-end}.lt-items-center{align-items:center}.lt-items-stretch{align-items:stretch}.lt-justify-center{justify-content:center}.lt-gap-2{gap:.5rem}.lt-gap-0\.5{gap:.125rem}.lt-gap-0{gap:0}.lt-gap-4{gap:1rem}.lt-divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-bottom-width:calc(1px*var(--tw-divide-y-reverse));border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)))}.lt-divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity:1;border-color:rgb(229 231 235/var(--tw-divide-opacity))}.lt-divide-gray-100>:not([hidden])~:not([hidden]){--tw-divide-opacity:1;border-color:rgb(243 244 246/var(--tw-divide-opacity))}.lt-overflow-hidden{overflow:hidden}.lt-overflow-x-auto{overflow-x:auto}.lt-whitespace-nowrap{white-space:nowrap}.lt-rounded-md{border-radius:.375rem}.lt-rounded-lg{border-radius:.5rem}.lt-rounded-full{border-radius:9999px}.lt-rounded{border-radius:.25rem}.\!lt-rounded-r-none{border-bottom-right-radius:0!important;border-top-right-radius:0!important}.\!lt-rounded-l-none{border-bottom-left-radius:0!important;border-top-left-radius:0!important}.lt-border{border-width:1px}.\!lt-border-0{border-width:0!important}.\!lt-border-y-0{border-bottom-width:0!important;border-top-width:0!important}.lt-border-y{border-bottom-width:1px;border-top-width:1px}.\!lt-border-r-0{border-right-width:0!important}.lt-border-b{border-bottom-width:1px}.lt-border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.lt-border-green-600{--tw-border-opacity:1;border-color:rgb(22 163 74/var(--tw-border-opacity))}.lt-border-blue-600{--tw-border-opacity:1;border-color:rgb(37 99 235/var(--tw-border-opacity))}.lt-border-red-600{--tw-border-opacity:1;border-color:rgb(220 38 38/var(--tw-border-opacity))}.lt-border-gray-100{--tw-border-opacity:1;border-color:rgb(243 244 246/var(--tw-border-opacity))}.lt-border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.lt-border-blue-200{--tw-border-opacity:1;border-color:rgb(191 219 254/var(--tw-border-opacity))}.lt-border-green-500{--tw-border-opacity:1;border-color:rgb(34 197 94/var(--tw-border-opacity))}.lt-bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.lt-bg-green-600{--tw-bg-opacity:1;background-color:rgb(22 163 74/var(--tw-bg-opacity))}.lt-bg-blue-600{--tw-bg-opacity:1;background-color:rgb(37 99 235/var(--tw-bg-opacity))}.lt-bg-red-600{--tw-bg-opacity:1;background-color:rgb(220 38 38/var(--tw-bg-opacity))}.lt-bg-blue-50{--tw-bg-opacity:1;background-color:rgb(239 246 255/var(--tw-bg-opacity))}.lt-bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.lt-bg-green-50{--tw-bg-opacity:1;background-color:rgb(240 253 244/var(--tw-bg-opacity))}.lt-bg-yellow-50{--tw-bg-opacity:1;background-color:rgb(254 252 232/var(--tw-bg-opacity))}.lt-bg-red-50{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity))}.lt-bg-green-400{--tw-bg-opacity:1;background-color:rgb(74 222 128/var(--tw-bg-opacity))}.lt-bg-gray-500\/75{background-color:hsla(220,9%,46%,.75)}.lt-p-2{padding:.5rem}.lt-p-4{padding:1rem}.lt-p-0{padding:0}.lt-p-8{padding:2rem}.lt-px-3{padding-left:.75rem;padding-right:.75rem}.lt-py-2{padding-bottom:.5rem;padding-top:.5rem}.lt-px-2\.5{padding-left:.625rem;padding-right:.625rem}.lt-px-2{padding-left:.5rem;padding-right:.5rem}.lt-px-4{padding-left:1rem;padding-right:1rem}.lt-py-3{padding-bottom:.75rem;padding-top:.75rem}.lt-py-4{padding-bottom:1rem;padding-top:1rem}.lt-py-1{padding-bottom:.25rem;padding-top:.25rem}.lt-pl-10{padding-left:2.5rem}.lt-pl-4{padding-left:1rem}.lt-pr-0{padding-right:0}.lt-pt-6{padding-top:1.5rem}.lt-text-left{text-align:left}.lt-text-center{text-align:center}.lt-text-right{text-align:right}.lt-text-sm{font-size:.875rem;line-height:1.25rem}.lt-text-xs{font-size:.75rem;line-height:1rem}.lt-font-medium{font-weight:500}.lt-font-bold{font-weight:700}.lt-capitalize{text-transform:capitalize}.lt-leading-none{line-height:1}.lt-text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity))}.lt-text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.lt-text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity))}.lt-text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.lt-text-blue-600{--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity))}.lt-text-gray-900{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity))}.lt-text-blue-700{--tw-text-opacity:1;color:rgb(29 78 216/var(--tw-text-opacity))}.lt-text-green-600{--tw-text-opacity:1;color:rgb(22 163 74/var(--tw-text-opacity))}.lt-text-yellow-600{--tw-text-opacity:1;color:rgb(202 138 4/var(--tw-text-opacity))}.lt-text-gray-300{--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity))}.lt-text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.lt-opacity-0{opacity:0}.lt-opacity-100{opacity:1}.lt-shadow-xl{--tw-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1);--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.lt-transition{transition-duration:.15s;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.lt-transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.lt-duration-300{transition-duration:.3s}.lt-duration-200{transition-duration:.2s}.lt-ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.lt-ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.even\:lt-bg-gray-50:nth-child(2n){--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.focus-within\:lt-ring:focus-within{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-within\:lt-ring-blue-100:focus-within{--tw-ring-opacity:1;--tw-ring-color:rgb(219 234 254/var(--tw-ring-opacity))}.hover\:lt-bg-gray-50:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.hover\:lt-text-gray-700:hover{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity))}.hover\:lt-underline:hover{-webkit-text-decoration-line:underline;text-decoration-line:underline}.hover\:lt-shadow-sm:hover{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.focus\:lt-border-blue-300:focus{--tw-border-opacity:1;border-color:rgb(147 197 253/var(--tw-border-opacity))}.focus\:lt-bg-gray-50:focus{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.focus\:lt-outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:lt-ring:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\:lt-ring-blue-100:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(219 234 254/var(--tw-ring-opacity))}.focus\:\!lt-ring-transparent:focus{--tw-ring-color:transparent!important}.focus\:lt-ring-offset-0:focus{--tw-ring-offset-width:0px}.disabled\:lt-cursor-not-allowed:disabled{cursor:not-allowed}.lt-group:hover .group-hover\:lt-opacity-100{opacity:1}@media (min-width:640px){.sm\:lt-flex{display:flex}.sm\:lt-w-full{width:100%}.sm\:lt-max-w-sm{max-width:24rem}.sm\:lt-max-w-md{max-width:28rem}.sm\:lt-max-w-lg{max-width:32rem}.sm\:lt-max-w-xl{max-width:36rem}.sm\:lt-max-w-2xl{max-width:42rem}.sm\:lt-translate-y-0{--tw-translate-y:0px}.sm\:lt-scale-95,.sm\:lt-translate-y-0{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\:lt-scale-95{--tw-scale-x:.95;--tw-scale-y:.95}.sm\:lt-scale-100{--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\:lt-justify-center{justify-content:center}.sm\:lt-gap-4{gap:1rem}.sm\:lt-px-0{padding-left:0;padding-right:0}.sm\:lt-text-sm{font-size:.875rem;line-height:1.25rem}} diff --git a/utils/livewire-tables/dist/mix-manifest.json b/utils/livewire-tables/dist/mix-manifest.json index 04bf40c8ce..eb14d50c3e 100644 --- a/utils/livewire-tables/dist/mix-manifest.json +++ b/utils/livewire-tables/dist/mix-manifest.json @@ -1,3 +1,3 @@ { - "/livewire-tables/app.css": "/livewire-tables/app.css?id=ed1b839a769f2a0479f8cd315e809815" + "/livewire-tables/app.css": "/livewire-tables/app.css?id=221199ffc920d5ade684160ac9868146" } diff --git a/utils/livewire-tables/resources/views/action-cell.blade.php b/utils/livewire-tables/resources/views/action-cell.blade.php index 1e495ec402..1a66b5c047 100644 --- a/utils/livewire-tables/resources/views/action-cell.blade.php +++ b/utils/livewire-tables/resources/views/action-cell.blade.php @@ -1,6 +1,6 @@
- @@ -15,7 +15,7 @@ class="lt-w-4 lt-h-4" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" /> - +
+
@livewire('hub.components.tables.actions.update-status', [ 'ids' => $selectedIds, ])
- +
diff --git a/utils/livewire-tables/resources/views/index.blade.php b/utils/livewire-tables/resources/views/index.blade.php index a0364ef0db..46ce9d32c8 100644 --- a/utils/livewire-tables/resources/views/index.blade.php +++ b/utils/livewire-tables/resources/views/index.blade.php @@ -6,7 +6,7 @@ }">
- +
@@ -22,10 +22,10 @@ class="lt-block lt-text-xs lt-font-medium lt-text-gray-700 lt-capitalize"> class="lt-w-full lt-mt-1 lt-text-sm lt-text-gray-700 lt-border-gray-200 lt-rounded-md focus:lt-outline-none focus:lt-ring focus:lt-ring-blue-100 focus:lt-border-blue-300 lt-form-input">
- Save Search - +
@if ($errors->first('savedSearchName')) @@ -34,7 +34,7 @@ class="lt-w-full lt-mt-1 lt-text-sm lt-text-gray-700 lt-border-gray-200 lt-round @endif
-
+
@@ -81,13 +81,13 @@ class="lt-w-full lt-pl-10 lt-text-sm lt-text-gray-700 lt-border-gray-200 lt-roun @endif @if ($this->hasSearchApplied) - + Save Search - + @endif @if (count($this->tableFilters) && $this->filterable) - + Filters @if ($this->activeFiltersCount) @@ -95,7 +95,7 @@ class="lt-w-full lt-pl-10 lt-text-sm lt-text-gray-700 lt-border-gray-200 lt-roun ({{ $this->activeFiltersCount }}) @endif - + @endif
@@ -104,7 +104,7 @@ class="lt-w-full lt-pl-10 lt-text-sm lt-text-gray-700 lt-border-gray-200 lt-roun @foreach ($this->savedSearches as $savedSearch)
- @@ -118,9 +118,9 @@ class="lt-w-3 lt-h-3"> stroke-linejoin="round" d="M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0" /> - + - @@ -141,7 +141,7 @@ class="lt-w-3 lt-h-3"> @endif - +
@endforeach
@@ -242,24 +242,24 @@ class="lt-relative lt-px-3 lt-py-2 lt--my-px lt-text-sm lt-text-blue-700 lt-bord @if (count($this->bulkActions)) - - + + @endif @foreach ($this->columns as $column) - +
-
+ @endforeach @if (count($this->actions)) - +
-
+ @endif @endforeach @@ -271,16 +271,16 @@ class="lt-relative lt-px-3 lt-py-2 lt--my-px lt-text-sm lt-text-blue-700 lt-bord @if ($this->bulkActions->count()) - + - + @endif @foreach ($this->columns as $column) - @if ($column->isLivewire()) @@ -290,21 +290,21 @@ class="lt-w-5 lt-h-5 lt-border lt-border-gray-300 lt-rounded-md lt-form-checkbox @else {{ $column->record($row)->render() }} @endif - + @endforeach @if (count($this->actions)) - - + - + @endif @endforeach @else - + @endif diff --git a/utils/livewire-tables/src/Components/Actions/Action.php b/utils/livewire-tables/src/Components/Actions/Action.php index 0299bed9bd..5de166f6fc 100644 --- a/utils/livewire-tables/src/Components/Actions/Action.php +++ b/utils/livewire-tables/src/Components/Actions/Action.php @@ -67,7 +67,7 @@ public function toHtml() public function render() { - return view('tables::actions.base', [ + return view('l-tables::actions.base', [ 'label' => $this->label, 'url' => $this->url, 'record' => $this->record, diff --git a/utils/livewire-tables/src/Components/Actions/BulkAction.php b/utils/livewire-tables/src/Components/Actions/BulkAction.php index 4d0d684206..bb51da8683 100644 --- a/utils/livewire-tables/src/Components/Actions/BulkAction.php +++ b/utils/livewire-tables/src/Components/Actions/BulkAction.php @@ -52,7 +52,7 @@ public function setSelected(array $rows) */ public function render() { - return view('tables::actions.bulk', [ + return view('l-tables::actions.bulk', [ 'label' => $this->label, 'selectedIds' => $this->selectedIds, 'livewire' => $this->livewire, diff --git a/utils/livewire-tables/src/Components/Columns/AvatarColumn.php b/utils/livewire-tables/src/Components/Columns/AvatarColumn.php index f602ab2434..76f5518fef 100644 --- a/utils/livewire-tables/src/Components/Columns/AvatarColumn.php +++ b/utils/livewire-tables/src/Components/Columns/AvatarColumn.php @@ -37,7 +37,7 @@ public function render() $value = "https://www.gravatar.com/avatar/{$hash}?s=100&d=mp"; } - return view('tables::columns.avatar', [ + return view('l-tables::columns.avatar', [ 'record' => $this->record, 'value' => $value, 'gravatar' => $this->gravatar, diff --git a/utils/livewire-tables/src/Components/Columns/BadgeColumn.php b/utils/livewire-tables/src/Components/Columns/BadgeColumn.php index 10d058d817..c62de4265c 100644 --- a/utils/livewire-tables/src/Components/Columns/BadgeColumn.php +++ b/utils/livewire-tables/src/Components/Columns/BadgeColumn.php @@ -32,7 +32,7 @@ public function render() $states = call_user_func($this->states, $this->record); } - return view('tables::columns.badge', array_merge([ + return view('l-tables::columns.badge', array_merge([ 'record' => $this->record, 'value' => $this->getValue(), ], $states)); diff --git a/utils/livewire-tables/src/Components/Columns/BaseColumn.php b/utils/livewire-tables/src/Components/Columns/BaseColumn.php index 0d96e33434..eafbc0c1ea 100644 --- a/utils/livewire-tables/src/Components/Columns/BaseColumn.php +++ b/utils/livewire-tables/src/Components/Columns/BaseColumn.php @@ -134,7 +134,7 @@ public function record($record): self */ public function render() { - return view('tables::columns.base', [ + return view('l-tables::columns.base', [ 'url' => $this->url, 'record' => $this->record, 'value' => $this->getValue(), diff --git a/utils/livewire-tables/src/Components/Columns/ImageColumn.php b/utils/livewire-tables/src/Components/Columns/ImageColumn.php index 5a575385c6..9e1c0cbd83 100644 --- a/utils/livewire-tables/src/Components/Columns/ImageColumn.php +++ b/utils/livewire-tables/src/Components/Columns/ImageColumn.php @@ -12,7 +12,7 @@ class ImageColumn extends BaseColumn */ public function render() { - return view('tables::columns.image', [ + return view('l-tables::columns.image', [ 'url' => $this->url, 'record' => $this->record, 'value' => $this->getValue(), diff --git a/utils/livewire-tables/src/Components/Columns/StatusColumn.php b/utils/livewire-tables/src/Components/Columns/StatusColumn.php index d01aa761d7..705e605fce 100644 --- a/utils/livewire-tables/src/Components/Columns/StatusColumn.php +++ b/utils/livewire-tables/src/Components/Columns/StatusColumn.php @@ -9,7 +9,7 @@ class StatusColumn extends BaseColumn */ public function render() { - return view('tables::columns.status', [ + return view('l-tables::columns.status', [ 'url' => $this->url, 'record' => $this->record, 'value' => $this->getValue(), diff --git a/utils/livewire-tables/src/Components/Filters/BaseFilter.php b/utils/livewire-tables/src/Components/Filters/BaseFilter.php index 5024bcd315..0a528c54ff 100644 --- a/utils/livewire-tables/src/Components/Filters/BaseFilter.php +++ b/utils/livewire-tables/src/Components/Filters/BaseFilter.php @@ -13,7 +13,7 @@ abstract class BaseFilter extends Component implements Htmlable use HasViewProperties, HasTranslations; - public $view = 'tables::filters.base'; + public $view = 'l-tables::filters.base'; protected $query; diff --git a/utils/livewire-tables/src/Components/Filters/DateFilter.php b/utils/livewire-tables/src/Components/Filters/DateFilter.php index 0c3eeeea2d..afb7cb2d1d 100644 --- a/utils/livewire-tables/src/Components/Filters/DateFilter.php +++ b/utils/livewire-tables/src/Components/Filters/DateFilter.php @@ -6,7 +6,7 @@ class DateFilter extends BaseFilter { - public $view = 'tables::filters.date'; + public $view = 'l-tables::filters.date'; public function getViewData() { diff --git a/utils/livewire-tables/src/Components/Filters/SelectFilter.php b/utils/livewire-tables/src/Components/Filters/SelectFilter.php index 8aa51cabd0..edbcae1b1a 100644 --- a/utils/livewire-tables/src/Components/Filters/SelectFilter.php +++ b/utils/livewire-tables/src/Components/Filters/SelectFilter.php @@ -12,7 +12,7 @@ class SelectFilter extends BaseFilter public $heading; - public $view = 'tables::filters.select'; + public $view = 'l-tables::filters.select'; public function mount() { diff --git a/utils/livewire-tables/src/Components/Head.php b/utils/livewire-tables/src/Components/Head.php index bd41bef1ac..f64b603f2d 100644 --- a/utils/livewire-tables/src/Components/Head.php +++ b/utils/livewire-tables/src/Components/Head.php @@ -55,6 +55,6 @@ public function sort() public function render() { - return view('tables::head'); + return view('l-tables::head'); } } diff --git a/utils/livewire-tables/src/Components/Table.php b/utils/livewire-tables/src/Components/Table.php index 605c22b807..e0b6d0f2b7 100644 --- a/utils/livewire-tables/src/Components/Table.php +++ b/utils/livewire-tables/src/Components/Table.php @@ -247,6 +247,6 @@ public function getEmptyMessageProperty() */ public function render() { - return view('tables::index'); + return view('l-tables::index'); } } diff --git a/utils/livewire-tables/src/LivewireTablesServiceProvider.php b/utils/livewire-tables/src/LivewireTablesServiceProvider.php index 5153e96fd1..1a22633024 100644 --- a/utils/livewire-tables/src/LivewireTablesServiceProvider.php +++ b/utils/livewire-tables/src/LivewireTablesServiceProvider.php @@ -38,7 +38,7 @@ public function boot() Livewire::component((new $component)->getName(), $component); } - Blade::componentNamespace('Lunar\\LivewireTables\\View', 'tables'); + Blade::componentNamespace('Lunar\\LivewireTables\\View', 'l-tables'); Blade::directive('livewireTableStyles', function () { $manifest = json_decode(file_get_contents(__DIR__.'/../dist/mix-manifest.json'), true); @@ -50,7 +50,7 @@ public function boot() EOT; }); - $this->loadViewsFrom(__DIR__.'/../resources/views', 'tables'); + $this->loadViewsFrom(__DIR__.'/../resources/views', 'l-tables'); $this->publishes([ __DIR__.'/../resources/views' => resource_path('views/vendor/lunar'), diff --git a/utils/livewire-tables/src/View/ActionCell.php b/utils/livewire-tables/src/View/ActionCell.php index a8921ec83b..ed64433418 100644 --- a/utils/livewire-tables/src/View/ActionCell.php +++ b/utils/livewire-tables/src/View/ActionCell.php @@ -31,6 +31,6 @@ public function __construct(Collection $actions, $record) */ public function render() { - return view('tables::action-cell'); + return view('l-tables::action-cell'); } } diff --git a/utils/livewire-tables/src/View/Button.php b/utils/livewire-tables/src/View/Button.php index 171f432670..60351daa18 100644 --- a/utils/livewire-tables/src/View/Button.php +++ b/utils/livewire-tables/src/View/Button.php @@ -41,6 +41,6 @@ public function __construct($tag = 'button', $theme = 'default', $size = 'defaul */ public function render() { - return view('tables::button'); + return view('l-tables::button'); } } diff --git a/utils/livewire-tables/src/View/Cell.php b/utils/livewire-tables/src/View/Cell.php index 7aae49ae81..ecd7f1b96c 100644 --- a/utils/livewire-tables/src/View/Cell.php +++ b/utils/livewire-tables/src/View/Cell.php @@ -13,6 +13,6 @@ class Cell extends Component */ public function render() { - return view('tables::cell'); + return view('l-tables::cell'); } } diff --git a/utils/livewire-tables/src/View/Support/Modal.php b/utils/livewire-tables/src/View/Support/Modal.php index ae02a2ac4a..bb89da094f 100644 --- a/utils/livewire-tables/src/View/Support/Modal.php +++ b/utils/livewire-tables/src/View/Support/Modal.php @@ -23,6 +23,6 @@ public function __construct($id = null, $maxWidth = null) */ public function render() { - return view('tables::support.modal'); + return view('l-tables::support.modal'); } } diff --git a/utils/livewire-tables/src/View/Support/NoEntries.php b/utils/livewire-tables/src/View/Support/NoEntries.php index eaaac98517..d1ccadbf6e 100644 --- a/utils/livewire-tables/src/View/Support/NoEntries.php +++ b/utils/livewire-tables/src/View/Support/NoEntries.php @@ -20,6 +20,6 @@ public function __construct($message = null) */ public function render() { - return view('tables::support.no-entries'); + return view('l-tables::support.no-entries'); } } diff --git a/utils/livewire-tables/tests/Unit/Columns/TextColumnTest.php b/utils/livewire-tables/tests/Unit/Columns/TextColumnTest.php index adc33c0980..9ba904cb8c 100644 --- a/utils/livewire-tables/tests/Unit/Columns/TextColumnTest.php +++ b/utils/livewire-tables/tests/Unit/Columns/TextColumnTest.php @@ -14,7 +14,7 @@ class TextColumnTest extends TestCase /** @test */ public function can_instantiate_class() { - Livewire::test(TextColumn::class)->assertViewIs('tables::columns.base'); + Livewire::test(TextColumn::class)->assertViewIs('l-tables::columns.base'); } /** @test */ diff --git a/utils/livewire-tables/tests/Unit/TableTest.php b/utils/livewire-tables/tests/Unit/TableTest.php index 5d595dbe39..9aa60c2ba0 100644 --- a/utils/livewire-tables/tests/Unit/TableTest.php +++ b/utils/livewire-tables/tests/Unit/TableTest.php @@ -15,7 +15,7 @@ class TableTest extends TestCase /** @test */ public function can_instantiate_class() { - Livewire::test(Table::class)->assertViewIs('tables::index'); + Livewire::test(Table::class)->assertViewIs('l-tables::index'); } /** @test */