Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
Sailassist
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
54
Merge Requests
54
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gr-ssv
Sailassist
Commits
117f2ec2
Commit
117f2ec2
authored
Nov 10, 2023
by
sugita mamoru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
デザイン調整
parent
cc4862e7
Show whitespace changes
Inline
Side-by-side
Showing
28 changed files
with
630 additions
and
56 deletions
+630
-56
project.pbxproj
Seilassist/Sailassist.xcodeproj/project.pbxproj
+16
-0
Contents.json
...Set/BackgroundColor/BottomNavColor.colorset/Contents.json
+38
-0
Contents.json
...ackgroundColor/ChatEmargencyColor1.colorset/Contents.json
+20
-0
Contents.json
...ackgroundColor/ChatEmargencyColor2.colorset/Contents.json
+20
-0
Contents.json
...rSet/BackgroundColor/FormBackColor.colorset/Contents.json
+38
-0
Contents.json
...et/BackgroundColor/ListActiveColor.colorset/Contents.json
+38
-0
Contents.json
...Set/BackgroundColor/LoginbkColor03.colorset/Contents.json
+29
-0
Contents.json
...kgroundColor/ModalWindowFrontColor.colorset/Contents.json
+38
-0
Contents.json
...rSet/BackgroundColor/NoticebkColor.colorset/Contents.json
+38
-0
Contents.json
...et/ButtonColor/PrimaryDisableColor.colorset/Contents.json
+2
-2
Contents.json
...Set/IconColor/EmargencyIconColor02.colorset/Contents.json
+38
-0
Contents.json
...orSet/IconColor/TaskStateIconColor.colorset/Contents.json
+38
-0
Contents.json
...assist/Assets.xcassets/ColorSet/NoticeColor/Contents.json
+6
-0
Contents.json
...s/ColorSet/NoticeColor/NoticeColor.colorset/Contents.json
+38
-0
Contents.json
...s/ColorSet/TextColor/ChatDateColor.colorset/Contents.json
+0
-0
ChatView.swift
Seilassist/Sailassist/Chat/ChatView.swift
+22
-6
ChatInputView.swift
Seilassist/Sailassist/Chat/View/ChatInputView.swift
+4
-6
CustomCornerRadius.swift
Seilassist/Sailassist/Chat/View/CustomCornerRadius.swift
+16
-11
MyChatContentView.swift
Seilassist/Sailassist/Chat/View/MyChatContentView.swift
+24
-5
OtherChatContentView.swift
Seilassist/Sailassist/Chat/View/OtherChatContentView.swift
+37
-0
ColorSet.swift
Seilassist/Sailassist/Constants/ColorSet.swift
+51
-6
FontStyle.swift
Seilassist/Sailassist/Constants/FontStyle.swift
+7
-0
LoginView.swift
Seilassist/Sailassist/Login/LoginView.swift
+2
-1
EcaListView.swift
Seilassist/Sailassist/Map/Task/View/EcaListView.swift
+16
-6
MapTaskView.swift
Seilassist/Sailassist/Map/Task/View/MapTaskView.swift
+2
-3
TaskSwitchingMenuView.swift
...sist/Sailassist/Map/Task/View/TaskSwitchingMenuView.swift
+17
-5
MainTabView.swift
Seilassist/Sailassist/Tab/MainTabView.swift
+8
-5
NavigationTitleView.swift
Seilassist/Sailassist/Tab/View/NavigationTitleView.swift
+27
-0
No files found.
Seilassist/Sailassist.xcodeproj/project.pbxproj
View file @
117f2ec2
...
@@ -47,6 +47,8 @@
...
@@ -47,6 +47,8 @@
02A1DE2F2AFB4AA0005BCF55
/* ChatInputView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
02A1DE2E2AFB4AA0005BCF55
/* ChatInputView.swift */
;
};
02A1DE2F2AFB4AA0005BCF55
/* ChatInputView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
02A1DE2E2AFB4AA0005BCF55
/* ChatInputView.swift */
;
};
02A1DE312AFB61D8005BCF55
/* MyChatContentView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
02A1DE302AFB61D8005BCF55
/* MyChatContentView.swift */
;
};
02A1DE312AFB61D8005BCF55
/* MyChatContentView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
02A1DE302AFB61D8005BCF55
/* MyChatContentView.swift */
;
};
02A1DE332AFB654A005BCF55
/* CustomCornerRadius.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
02A1DE322AFB654A005BCF55
/* CustomCornerRadius.swift */
;
};
02A1DE332AFB654A005BCF55
/* CustomCornerRadius.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
02A1DE322AFB654A005BCF55
/* CustomCornerRadius.swift */
;
};
02C3E5CE2AFCA04700AF7837
/* OtherChatContentView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
02C3E5CD2AFCA04700AF7837
/* OtherChatContentView.swift */
;
};
02C3E5D12AFCC16800AF7837
/* NavigationTitleView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
02C3E5D02AFCC16800AF7837
/* NavigationTitleView.swift */
;
};
02CD068F2AE6535F005F8D8F
/* MapSource.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
02CD068E2AE6535F005F8D8F
/* MapSource.swift */
;
};
02CD068F2AE6535F005F8D8F
/* MapSource.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
02CD068E2AE6535F005F8D8F
/* MapSource.swift */
;
};
02CD06912AE6536B005F8D8F
/* LayerEnum.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
02CD06902AE6536B005F8D8F
/* LayerEnum.swift */
;
};
02CD06912AE6536B005F8D8F
/* LayerEnum.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
02CD06902AE6536B005F8D8F
/* LayerEnum.swift */
;
};
02CD06932AE88970005F8D8F
/* ServerSession.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
02CD06922AE88970005F8D8F
/* ServerSession.swift */
;
};
02CD06932AE88970005F8D8F
/* ServerSession.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
02CD06922AE88970005F8D8F
/* ServerSession.swift */
;
};
...
@@ -141,6 +143,8 @@
...
@@ -141,6 +143,8 @@
02A1DE2E2AFB4AA0005BCF55
/* ChatInputView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
name
=
ChatInputView.swift
;
path
=
Sailassist/Chat/View/ChatInputView.swift
;
sourceTree
=
SOURCE_ROOT
;
};
02A1DE2E2AFB4AA0005BCF55
/* ChatInputView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
name
=
ChatInputView.swift
;
path
=
Sailassist/Chat/View/ChatInputView.swift
;
sourceTree
=
SOURCE_ROOT
;
};
02A1DE302AFB61D8005BCF55
/* MyChatContentView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
name
=
MyChatContentView.swift
;
path
=
Sailassist/Chat/View/MyChatContentView.swift
;
sourceTree
=
SOURCE_ROOT
;
};
02A1DE302AFB61D8005BCF55
/* MyChatContentView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
name
=
MyChatContentView.swift
;
path
=
Sailassist/Chat/View/MyChatContentView.swift
;
sourceTree
=
SOURCE_ROOT
;
};
02A1DE322AFB654A005BCF55
/* CustomCornerRadius.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
name
=
CustomCornerRadius.swift
;
path
=
Sailassist/Chat/View/CustomCornerRadius.swift
;
sourceTree
=
SOURCE_ROOT
;
};
02A1DE322AFB654A005BCF55
/* CustomCornerRadius.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
name
=
CustomCornerRadius.swift
;
path
=
Sailassist/Chat/View/CustomCornerRadius.swift
;
sourceTree
=
SOURCE_ROOT
;
};
02C3E5CD2AFCA04700AF7837
/* OtherChatContentView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
name
=
OtherChatContentView.swift
;
path
=
Sailassist/Chat/View/OtherChatContentView.swift
;
sourceTree
=
SOURCE_ROOT
;
};
02C3E5D02AFCC16800AF7837
/* NavigationTitleView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
name
=
NavigationTitleView.swift
;
path
=
Sailassist/Tab/View/NavigationTitleView.swift
;
sourceTree
=
SOURCE_ROOT
;
};
02CD068E2AE6535F005F8D8F
/* MapSource.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
MapSource.swift
;
sourceTree
=
"<group>"
;
};
02CD068E2AE6535F005F8D8F
/* MapSource.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
MapSource.swift
;
sourceTree
=
"<group>"
;
};
02CD06902AE6536B005F8D8F
/* LayerEnum.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
LayerEnum.swift
;
sourceTree
=
"<group>"
;
};
02CD06902AE6536B005F8D8F
/* LayerEnum.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
LayerEnum.swift
;
sourceTree
=
"<group>"
;
};
02CD06922AE88970005F8D8F
/* ServerSession.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
ServerSession.swift
;
sourceTree
=
"<group>"
;
};
02CD06922AE88970005F8D8F
/* ServerSession.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
ServerSession.swift
;
sourceTree
=
"<group>"
;
};
...
@@ -279,6 +283,7 @@
...
@@ -279,6 +283,7 @@
020B983E2AD8C3500029DE4C
/* Tab */
=
{
020B983E2AD8C3500029DE4C
/* Tab */
=
{
isa
=
PBXGroup
;
isa
=
PBXGroup
;
children
=
(
children
=
(
02C3E5CF2AFCC15700AF7837
/* View */
,
02CE4DC92ADF9D2E002E79BC
/* ViewModel */
,
02CE4DC92ADF9D2E002E79BC
/* ViewModel */
,
020B98582AD92A4C0029DE4C
/* MainTabView.swift */
,
020B98582AD92A4C0029DE4C
/* MainTabView.swift */
,
);
);
...
@@ -420,11 +425,20 @@
...
@@ -420,11 +425,20 @@
children
=
(
children
=
(
02A1DE2E2AFB4AA0005BCF55
/* ChatInputView.swift */
,
02A1DE2E2AFB4AA0005BCF55
/* ChatInputView.swift */
,
02A1DE302AFB61D8005BCF55
/* MyChatContentView.swift */
,
02A1DE302AFB61D8005BCF55
/* MyChatContentView.swift */
,
02C3E5CD2AFCA04700AF7837
/* OtherChatContentView.swift */
,
02A1DE322AFB654A005BCF55
/* CustomCornerRadius.swift */
,
02A1DE322AFB654A005BCF55
/* CustomCornerRadius.swift */
,
);
);
path
=
View
;
path
=
View
;
sourceTree
=
"<group>"
;
sourceTree
=
"<group>"
;
};
};
02C3E5CF2AFCC15700AF7837
/* View */
=
{
isa
=
PBXGroup
;
children
=
(
02C3E5D02AFCC16800AF7837
/* NavigationTitleView.swift */
,
);
path
=
View
;
sourceTree
=
"<group>"
;
};
02CE4D7D2ADE4297002E79BC
/* View */
=
{
02CE4D7D2ADE4297002E79BC
/* View */
=
{
isa
=
PBXGroup
;
isa
=
PBXGroup
;
children
=
(
children
=
(
...
@@ -663,10 +677,12 @@
...
@@ -663,10 +677,12 @@
020B98672ADD15050029DE4C
/* MenuView.swift in Sources */
,
020B98672ADD15050029DE4C
/* MenuView.swift in Sources */
,
020B98572AD924F50029DE4C
/* CameraPreview.swift in Sources */
,
020B98572AD924F50029DE4C
/* CameraPreview.swift in Sources */
,
02CD068F2AE6535F005F8D8F
/* MapSource.swift in Sources */
,
02CD068F2AE6535F005F8D8F
/* MapSource.swift in Sources */
,
02C3E5CE2AFCA04700AF7837
/* OtherChatContentView.swift in Sources */
,
020B98442AD8E4910029DE4C
/* FontStyle.swift in Sources */
,
020B98442AD8E4910029DE4C
/* FontStyle.swift in Sources */
,
02CE4D892ADF62E1002E79BC
/* EcaSettingView.swift in Sources */
,
02CE4D892ADF62E1002E79BC
/* EcaSettingView.swift in Sources */
,
02CE4D872ADF62A7002E79BC
/* EcaListView.swift in Sources */
,
02CE4D872ADF62A7002E79BC
/* EcaListView.swift in Sources */
,
020B986C2ADD3E810029DE4C
/* InTextLib.swift in Sources */
,
020B986C2ADD3E810029DE4C
/* InTextLib.swift in Sources */
,
02C3E5D12AFCC16800AF7837
/* NavigationTitleView.swift in Sources */
,
020B98472AD8FEE30029DE4C
/* ColorSet.swift in Sources */
,
020B98472AD8FEE30029DE4C
/* ColorSet.swift in Sources */
,
020B98652ADD14F60029DE4C
/* NotificationView.swift in Sources */
,
020B98652ADD14F60029DE4C
/* NotificationView.swift in Sources */
,
);
);
...
...
Seilassist/Sailassist/Assets.xcassets/ColorSet/BackgroundColor/BottomNavColor.colorset/Contents.json
0 → 100644
View file @
117f2ec2
{
"colors"
:
[
{
"color"
:
{
"color-space"
:
"srgb"
,
"components"
:
{
"alpha"
:
"0.700"
,
"blue"
:
"0xF5"
,
"green"
:
"0xF5"
,
"red"
:
"0xF5"
}
},
"idiom"
:
"universal"
},
{
"appearances"
:
[
{
"appearance"
:
"luminosity"
,
"value"
:
"dark"
}
],
"color"
:
{
"color-space"
:
"srgb"
,
"components"
:
{
"alpha"
:
"0.850"
,
"blue"
:
"0x3C"
,
"green"
:
"0x38"
,
"red"
:
"0x38"
}
},
"idiom"
:
"universal"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
Seilassist/Sailassist/Assets.xcassets/ColorSet/BackgroundColor/ChatEmargencyColor1.colorset/Contents.json
0 → 100644
View file @
117f2ec2
{
"colors"
:
[
{
"color"
:
{
"color-space"
:
"srgb"
,
"components"
:
{
"alpha"
:
"1.000"
,
"blue"
:
"0x2E"
,
"green"
:
"0x2E"
,
"red"
:
"0xBD"
}
},
"idiom"
:
"universal"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
Seilassist/Sailassist/Assets.xcassets/ColorSet/BackgroundColor/ChatEmargencyColor2.colorset/Contents.json
0 → 100644
View file @
117f2ec2
{
"colors"
:
[
{
"color"
:
{
"color-space"
:
"srgb"
,
"components"
:
{
"alpha"
:
"1.000"
,
"blue"
:
"0x2E"
,
"green"
:
"0x2B"
,
"red"
:
"0x2B"
}
},
"idiom"
:
"universal"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
Seilassist/Sailassist/Assets.xcassets/ColorSet/BackgroundColor/FormBackColor.colorset/Contents.json
0 → 100644
View file @
117f2ec2
{
"colors"
:
[
{
"color"
:
{
"color-space"
:
"srgb"
,
"components"
:
{
"alpha"
:
"0.400"
,
"blue"
:
"0xFF"
,
"green"
:
"0xFF"
,
"red"
:
"0xFF"
}
},
"idiom"
:
"universal"
},
{
"appearances"
:
[
{
"appearance"
:
"luminosity"
,
"value"
:
"dark"
}
],
"color"
:
{
"color-space"
:
"srgb"
,
"components"
:
{
"alpha"
:
"0.080"
,
"blue"
:
"0xFF"
,
"green"
:
"0xFF"
,
"red"
:
"0xFF"
}
},
"idiom"
:
"universal"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
Seilassist/Sailassist/Assets.xcassets/ColorSet/BackgroundColor/ListActiveColor.colorset/Contents.json
0 → 100644
View file @
117f2ec2
{
"colors"
:
[
{
"color"
:
{
"color-space"
:
"srgb"
,
"components"
:
{
"alpha"
:
"0.400"
,
"blue"
:
"0xFF"
,
"green"
:
"0xFF"
,
"red"
:
"0xFF"
}
},
"idiom"
:
"universal"
},
{
"appearances"
:
[
{
"appearance"
:
"luminosity"
,
"value"
:
"dark"
}
],
"color"
:
{
"color-space"
:
"srgb"
,
"components"
:
{
"alpha"
:
"0.060"
,
"blue"
:
"0xFF"
,
"green"
:
"0xFF"
,
"red"
:
"0xFF"
}
},
"idiom"
:
"universal"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
Seilassist/Sailassist/Assets.xcassets/ColorSet/BackgroundColor/LoginbkColor03.colorset/Contents.json
0 → 100644
View file @
117f2ec2
{
"colors"
:
[
{
"idiom"
:
"universal"
},
{
"appearances"
:
[
{
"appearance"
:
"luminosity"
,
"value"
:
"dark"
}
],
"color"
:
{
"color-space"
:
"srgb"
,
"components"
:
{
"alpha"
:
"1.000"
,
"blue"
:
"0x4F"
,
"green"
:
"0x48"
,
"red"
:
"0x29"
}
},
"idiom"
:
"universal"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
Seilassist/Sailassist/Assets.xcassets/ColorSet/BackgroundColor/ModalWindowFrontColor.colorset/Contents.json
0 → 100644
View file @
117f2ec2
{
"colors"
:
[
{
"color"
:
{
"color-space"
:
"srgb"
,
"components"
:
{
"alpha"
:
"1.000"
,
"blue"
:
"0xE7"
,
"green"
:
"0xE7"
,
"red"
:
"0xE7"
}
},
"idiom"
:
"universal"
},
{
"appearances"
:
[
{
"appearance"
:
"luminosity"
,
"value"
:
"dark"
}
],
"color"
:
{
"color-space"
:
"srgb"
,
"components"
:
{
"alpha"
:
"1.000"
,
"blue"
:
"0xE9"
,
"green"
:
"0xE3"
,
"red"
:
"0xE3"
}
},
"idiom"
:
"universal"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
Seilassist/Sailassist/Assets.xcassets/ColorSet/BackgroundColor/NoticebkColor.colorset/Contents.json
0 → 100644
View file @
117f2ec2
{
"colors"
:
[
{
"color"
:
{
"color-space"
:
"srgb"
,
"components"
:
{
"alpha"
:
"0.200"
,
"blue"
:
"0x21"
,
"green"
:
"0x21"
,
"red"
:
"0xFB"
}
},
"idiom"
:
"universal"
},
{
"appearances"
:
[
{
"appearance"
:
"luminosity"
,
"value"
:
"dark"
}
],
"color"
:
{
"color-space"
:
"srgb"
,
"components"
:
{
"alpha"
:
"0.200"
,
"blue"
:
"0x1D"
,
"green"
:
"0x1D"
,
"red"
:
"0xF8"
}
},
"idiom"
:
"universal"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
Seilassist/Sailassist/Assets.xcassets/ColorSet/ButtonColor/PrimaryDisableColor.colorset/Contents.json
View file @
117f2ec2
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
"color"
:
{
"color"
:
{
"color-space"
:
"srgb"
,
"color-space"
:
"srgb"
,
"components"
:
{
"components"
:
{
"alpha"
:
"0.
005
"
,
"alpha"
:
"0.
500
"
,
"blue"
:
"0xFF"
,
"blue"
:
"0xFF"
,
"green"
:
"0xFF"
,
"green"
:
"0xFF"
,
"red"
:
"0xFF"
"red"
:
"0xFF"
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
"color"
:
{
"color"
:
{
"color-space"
:
"srgb"
,
"color-space"
:
"srgb"
,
"components"
:
{
"components"
:
{
"alpha"
:
"0.0
05
"
,
"alpha"
:
"0.0
50
"
,
"blue"
:
"0xFF"
,
"blue"
:
"0xFF"
,
"green"
:
"0xFF"
,
"green"
:
"0xFF"
,
"red"
:
"0xFF"
"red"
:
"0xFF"
...
...
Seilassist/Sailassist/Assets.xcassets/ColorSet/IconColor/EmargencyIconColor02.colorset/Contents.json
0 → 100644
View file @
117f2ec2
{
"colors"
:
[
{
"color"
:
{
"color-space"
:
"srgb"
,
"components"
:
{
"alpha"
:
"1.000"
,
"blue"
:
"0x2E"
,
"green"
:
"0x2E"
,
"red"
:
"0xBD"
}
},
"idiom"
:
"universal"
},
{
"appearances"
:
[
{
"appearance"
:
"luminosity"
,
"value"
:
"dark"
}
],
"color"
:
{
"color-space"
:
"srgb"
,
"components"
:
{
"alpha"
:
"1.000"
,
"blue"
:
"0x2E"
,
"green"
:
"0x2E"
,
"red"
:
"0xBD"
}
},
"idiom"
:
"universal"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
Seilassist/Sailassist/Assets.xcassets/ColorSet/IconColor/TaskStateIconColor.colorset/Contents.json
0 → 100644
View file @
117f2ec2
{
"colors"
:
[
{
"color"
:
{
"color-space"
:
"srgb"
,
"components"
:
{
"alpha"
:
"0.200"
,
"blue"
:
"0x3C"
,
"green"
:
"0x38"
,
"red"
:
"0x38"
}
},
"idiom"
:
"universal"
},
{
"appearances"
:
[
{
"appearance"
:
"luminosity"
,
"value"
:
"dark"
}
],
"color"
:
{
"color-space"
:
"srgb"
,
"components"
:
{
"alpha"
:
"0.200"
,
"blue"
:
"0xFF"
,
"green"
:
"0xFF"
,
"red"
:
"0xFF"
}
},
"idiom"
:
"universal"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
Seilassist/Sailassist/Assets.xcassets/ColorSet/NoticeColor/Contents.json
0 → 100644
View file @
117f2ec2
{
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
Seilassist/Sailassist/Assets.xcassets/ColorSet/NoticeColor/NoticeColor.colorset/Contents.json
0 → 100644
View file @
117f2ec2
{
"colors"
:
[
{
"color"
:
{
"color-space"
:
"srgb"
,
"components"
:
{
"alpha"
:
"1.000"
,
"blue"
:
"0x21"
,
"green"
:
"0x21"
,
"red"
:
"0xFB"
}
},
"idiom"
:
"universal"
},
{
"appearances"
:
[
{
"appearance"
:
"luminosity"
,
"value"
:
"dark"
}
],
"color"
:
{
"color-space"
:
"srgb"
,
"components"
:
{
"alpha"
:
"1.000"
,
"blue"
:
"0x1D"
,
"green"
:
"0x1D"
,
"red"
:
"0xF8"
}
},
"idiom"
:
"universal"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
Seilassist/Sailassist/Assets.xcassets/ColorSet/TextColor/ChatDat
a
Color.colorset/Contents.json
→
Seilassist/Sailassist/Assets.xcassets/ColorSet/TextColor/ChatDat
e
Color.colorset/Contents.json
View file @
117f2ec2
File moved
Seilassist/Sailassist/Chat/ChatView.swift
View file @
117f2ec2
...
@@ -11,22 +11,38 @@ struct ChatView: View {
...
@@ -11,22 +11,38 @@ struct ChatView: View {
@State
var
isEmargency
:
Bool
=
false
@State
var
isEmargency
:
Bool
=
false
var
body
:
some
View
{
var
body
:
some
View
{
ZStack
{
ZStack
{
VStack
{
if
isEmargency
{
if
isEmargency
{
LinearGradient
(
gradient
:
Gradient
(
colors
:
[
.
red
,
.
black
]),
startPoint
:
.
top
,
endPoint
:
.
bottom
)
LinearGradient
(
gradient
:
Gradient
(
colors
:
[
.
chatEmargencyColor1
,
.
chatEmargencyColor2
]),
startPoint
:
.
top
,
endPoint
:
.
bottom
)
.
ignoresSafeArea
()
.
ignoresSafeArea
()
}
}
}
VStack
{
VStack
{
ZStack
{
Text
(
"Chat"
)
ScrollView
(
.
vertical
)
{
OtherChatContentView
()
Button
(
"Change Emargency"
){
MyChatContentView
()
}
HStack
{
Spacer
()
VStack
{
Button
{
isEmargency
.
toggle
()
isEmargency
.
toggle
()
}
label
:
{
Image
(
systemName
:
"exclamationmark.triangle.fill"
)
.
foregroundColor
(
.
white
)
.
frame
(
width
:
48
,
height
:
48
)
.
background
(
ColorSet
.
Notice
.
color
)
.
cornerRadius
(
50
)
}
.
padding
(
9
)
Spacer
()
}
}
}
}
}
}
ChatInputView
()
ChatInputView
()
}
}
.
background
(
ColorSet
.
BackgroundPrimary
.
color
)
}
}
}
}
...
...
Seilassist/Sailassist/Chat/View/ChatInputView.swift
View file @
117f2ec2
...
@@ -12,20 +12,18 @@ struct ChatInputView: View {
...
@@ -12,20 +12,18 @@ struct ChatInputView: View {
@State
var
inputText
=
""
@State
var
inputText
=
""
@FocusState
var
isKeyboard
:
Bool
@FocusState
var
isKeyboard
:
Bool
var
body
:
some
View
{
var
body
:
some
View
{
VStack
{
VStack
(
spacing
:
0
)
{
Spacer
()
Spacer
()
.
onTapGesture
{
Divider
()
isKeyboard
=
false
}
HStack
(
spacing
:
11
){
HStack
(
spacing
:
11
){
TextField
(
""
,
text
:
$
inputText
,
onEditingChanged
:
{
isEdit
in
TextField
(
""
,
text
:
$
inputText
,
onEditingChanged
:
{
isEdit
in
sceneDelegate
.
tabWindow
?
.
isHidden
=
isEdit
sceneDelegate
.
tabWindow
?
.
isHidden
=
isEdit
})
})
.
focused
(
$
isKeyboard
)
.
focused
(
$
isKeyboard
)
.
foregroundColor
(
.
black
)
.
foregroundColor
(
ColorSet
.
BodyChat
.
color
)
.
padding
(
10
)
.
padding
(
10
)
.
background
(
.
white
)
.
background
(
ColorSet
.
ChatForm
.
color
)
.
cornerRadius
(
10
)
.
cornerRadius
(
10
)
.
padding
(
.
vertical
,
10
)
.
padding
(
.
vertical
,
10
)
.
padding
(
.
leading
,
20
)
.
padding
(
.
leading
,
20
)
...
...
Seilassist/Sailassist/Chat/View/CustomCornerRadius.swift
View file @
117f2ec2
...
@@ -8,8 +8,7 @@
...
@@ -8,8 +8,7 @@
import
Foundation
import
Foundation
import
SwiftUI
import
SwiftUI
struct
RoundedCorners
:
View
{
fileprivate
struct
RoundedCorners
:
View
{
var
color
:
Color
=
.
clear
var
tl
:
CGFloat
=
0.0
var
tl
:
CGFloat
=
0.0
var
tr
:
CGFloat
=
0.0
var
tr
:
CGFloat
=
0.0
var
bl
:
CGFloat
=
0.0
var
bl
:
CGFloat
=
0.0
...
@@ -36,7 +35,6 @@ struct RoundedCorners: View {
...
@@ -36,7 +35,6 @@ struct RoundedCorners: View {
path
.
addLine
(
to
:
CGPoint
(
x
:
0
,
y
:
tl
))
path
.
addLine
(
to
:
CGPoint
(
x
:
0
,
y
:
tl
))
path
.
addArc
(
center
:
CGPoint
(
x
:
tl
,
y
:
tl
),
radius
:
tl
,
startAngle
:
Angle
(
degrees
:
180
),
endAngle
:
Angle
(
degrees
:
270
),
clockwise
:
false
)
path
.
addArc
(
center
:
CGPoint
(
x
:
tl
,
y
:
tl
),
radius
:
tl
,
startAngle
:
Angle
(
degrees
:
180
),
endAngle
:
Angle
(
degrees
:
270
),
clockwise
:
false
)
}
}
.
fill
(
color
)
}
}
}
}
}
}
...
@@ -44,14 +42,21 @@ struct RoundedCorners: View {
...
@@ -44,14 +42,21 @@ struct RoundedCorners: View {
enum
Corners
{
enum
Corners
{
case
tl
case
tl
case
tr
case
tr
case
bl
case
br
}
}
//struct CustomCornerRadiusModifier: ViewModifier {
fileprivate
struct
CustomCornerRadiusModifier
:
ViewModifier
{
// let cornerRadius: CGFloat
let
cornerRadius
:
CGFloat
// let maskedCorners: [Corners]
let
corners
:
[
Corners
]
//
// func body(content: Content) -> some View {
func
body
(
content
:
Content
)
->
some
View
{
// content.mask(PartlyRoundedCornerView(cornerRadius: self.cornerRadius,
content
.
mask
(
RoundedCorners
(
tl
:
corners
.
contains
(
.
tl
)
?
cornerRadius
:
0.0
,
tr
:
corners
.
contains
(
.
tr
)
?
cornerRadius
:
0.0
,
bl
:
corners
.
contains
(
.
bl
)
?
cornerRadius
:
0.0
,
br
:
corners
.
contains
(
.
br
)
?
cornerRadius
:
0.0
))}
// maskedCorners: self.maskedCorners))}
}
//}
extension
View
{
func
cornerRadius
(
_
radius
:
CGFloat
,
corners
:
[
Corners
])
->
some
View
{
self
.
modifier
(
CustomCornerRadiusModifier
(
cornerRadius
:
radius
,
corners
:
corners
))
}
}
Seilassist/Sailassist/Chat/View/MyChatContentView.swift
View file @
117f2ec2
...
@@ -9,12 +9,31 @@ import SwiftUI
...
@@ -9,12 +9,31 @@ import SwiftUI
struct
MyChatContentView
:
View
{
struct
MyChatContentView
:
View
{
var
body
:
some
View
{
var
body
:
some
View
{
VStack
{
HStack
{
Text
(
"Hello, World!"
)
Spacer
()
.
padding
()
VStack
(
alignment
:
.
trailing
,
spacing
:
6
)
{
.
background
(
.
black
)
Text
(
"テキストメッセージテキストメッセージテキストメッセージテキストメッセージテキストメッセージテキストメッセージ"
)
.
cornerRadius
(
10
,
antialiased
:
false
)
.
font
(
FontStyle
.
DefaultText
.
font
)
.
foregroundColor
(
ColorSet
.
BodyChat
.
color
)
.
padding
(
15
)
.
background
(
ColorSet
.
ChatBaloon
.
color
)
.
cornerRadius
(
10
,
corners
:
[
.
tl
,
.
tr
,
.
bl
])
HStack
(
spacing
:
8
){
Text
(
"yyyy/MM/dd hh:mm"
)
.
font
(
FontStyle
.
DateText
.
font
)
.
foregroundColor
(
ColorSet
.
ChatDate
.
color
)
Image
(
systemName
:
"eye.fill"
)
.
resizable
()
.
scaledToFit
()
.
frame
(
width
:
17
,
height
:
17
)
}
}
.
padding
(
.
trailing
,
20
)
}
}
.
padding
(
.
leading
,
80
)
}
}
}
}
...
...
Seilassist/Sailassist/Chat/View/OtherChatContentView.swift
0 → 100644
View file @
117f2ec2
//
// OtherChatContentView.swift
// Sailassist
//
// Created by Mamoru Sugita on 2023/11/09.
//
import
SwiftUI
struct
OtherChatContentView
:
View
{
var
body
:
some
View
{
HStack
{
VStack
(
alignment
:
.
leading
,
spacing
:
10
)
{
Text
(
"テキストメッセージテキストメッセージテキストメッセージテキストメッセージテキストメッセージテキストメッセージ"
)
.
font
(
FontStyle
.
DefaultText
.
font
)
.
foregroundColor
(
ColorSet
.
BodyChat
.
color
)
.
padding
(
15
)
.
background
(
ColorSet
.
ChatBaloon
.
color
)
.
cornerRadius
(
10
,
corners
:
[
.
tl
,
.
tr
,
.
br
])
HStack
(
alignment
:
.
top
){
Text
(
"yyyy/MM/dd hh:mm"
)
.
font
(
FontStyle
.
DateText
.
font
)
.
foregroundColor
(
ColorSet
.
ChatDate
.
color
)
}
}
.
padding
(
.
leading
,
20
)
Spacer
()
}
.
padding
(
.
trailing
,
80
)
}
}
#Preview {
OtherChatContentView
()
}
Seilassist/Sailassist/Constants/ColorSet.swift
View file @
117f2ec2
...
@@ -37,24 +37,30 @@ enum ColorSet: String, CaseIterable{
...
@@ -37,24 +37,30 @@ enum ColorSet: String, CaseIterable{
case
BodyChat
case
BodyChat
/// Text - Body notice
/// Text - Body notice
case
BodyNotice
case
BodyNotice
/// Text - Chat dat
a
/// Text - Chat dat
e
case
ChatDat
a
case
ChatDat
e
// MARK: Background Color
// MARK: Background Color
/// Background - Primary
/// Background - Primary
case
BackgroundPrimary
case
BackgroundPrimary
/// Background - Secondary
/// Background - Secondary
case
BackgroundSecondary
case
BackgroundSecondary
/// Background - Bottom Nav
case
BottomNav
/// Background - Teriary
/// Background - Teriary
case
BackgroundTeriary
case
BackgroundTeriary
/// Background - Chat baloon
/// Background - Chat baloon
case
ChatBaloon
case
ChatBaloon
/// Background - Modal window back
/// Background - Modal window back
case
ModalWindowBack
case
ModalWindowBack
/// Background - Modal window front
case
ModalWindowFront
/// Background - Login bk 01
/// Background - Login bk 01
case
LoginBk01
case
LoginBk01
/// Background - Login bk 02
/// Background - Login bk 02
case
LoginBk02
case
LoginBk02
/// Background - Login bk 03
case
LoginBk03
/// Background - Splash
/// Background - Splash
case
Splash
case
Splash
/// Background - Acordion inner
/// Background - Acordion inner
...
@@ -63,6 +69,18 @@ enum ColorSet: String, CaseIterable{
...
@@ -63,6 +69,18 @@ enum ColorSet: String, CaseIterable{
case
EmargencyBtn
case
EmargencyBtn
/// Background - Chat form
/// Background - Chat form
case
ChatForm
case
ChatForm
/// Background - Chat Emargency - red
case
ChatEmargency1
/// Background - Chat Emargency - red
case
ChatEmargency2
/// Background - Form Text
case
FormText
/// Background - Notice bk
case
NoticeBk
/// Background - List Active
case
ListActive
// MARK: Button Color
// MARK: Button Color
/// Button - Primary active
/// Button - Primary active
...
@@ -78,7 +96,7 @@ enum ColorSet: String, CaseIterable{
...
@@ -78,7 +96,7 @@ enum ColorSet: String, CaseIterable{
/// Button - Toggle on
/// Button - Toggle on
case
ToggleOn
case
ToggleOn
/// Button - Slidebar
/// Button - Slidebar
case
Slider
case
Slide
ba
r
/// Button - Coning active
/// Button - Coning active
case
ConingActive
case
ConingActive
...
@@ -95,6 +113,10 @@ enum ColorSet: String, CaseIterable{
...
@@ -95,6 +113,10 @@ enum ColorSet: String, CaseIterable{
case
ShipSetting
case
ShipSetting
/// Icon - Emargency icon
/// Icon - Emargency icon
case
EmargencyIcon
case
EmargencyIcon
/// Icon - Emargency icon 02
case
EmargencyIcon02
/// Icon - Task State Icon
case
TaskStateIcon
// MARK: Line Color
// MARK: Line Color
...
@@ -111,6 +133,7 @@ enum ColorSet: String, CaseIterable{
...
@@ -111,6 +133,7 @@ enum ColorSet: String, CaseIterable{
// MARK: Notice Color
// MARK: Notice Color
/// Notice - Notice
/// Notice - Notice
case
Notice
// MARK: Status ship Color
// MARK: Status ship Color
/// Status -
/// Status -
...
@@ -156,22 +179,28 @@ extension ColorSet{
...
@@ -156,22 +179,28 @@ extension ColorSet{
"BodyChatColor"
"BodyChatColor"
case
.
BodyNotice
:
case
.
BodyNotice
:
"BodyNoticeColor"
"BodyNoticeColor"
case
.
ChatDat
a
:
case
.
ChatDat
e
:
"ChatDat
a
Color"
"ChatDat
e
Color"
case
.
BackgroundPrimary
:
case
.
BackgroundPrimary
:
"PrimaryColor"
"PrimaryColor"
case
.
BackgroundSecondary
:
case
.
BackgroundSecondary
:
"SecondaryColor"
"SecondaryColor"
case
.
BottomNav
:
"BottomNavColor"
case
.
BackgroundTeriary
:
case
.
BackgroundTeriary
:
"TeriaryColor"
"TeriaryColor"
case
.
ChatBaloon
:
case
.
ChatBaloon
:
"ChatBaloonColor"
"ChatBaloonColor"
case
.
ModalWindowBack
:
case
.
ModalWindowBack
:
"ModalWindowBackColor"
"ModalWindowBackColor"
case
.
ModalWindowFront
:
"ModalWindowFrontColor"
case
.
LoginBk01
:
case
.
LoginBk01
:
"LoginbkColor01"
"LoginbkColor01"
case
.
LoginBk02
:
case
.
LoginBk02
:
"LoginbkColor02"
"LoginbkColor02"
case
.
LoginBk03
:
"LoginbkColor03"
case
.
Splash
:
case
.
Splash
:
"SplashColor"
"SplashColor"
case
.
AcordionInner
:
case
.
AcordionInner
:
...
@@ -180,6 +209,16 @@ extension ColorSet{
...
@@ -180,6 +209,16 @@ extension ColorSet{
"EmargencyBtnColor"
"EmargencyBtnColor"
case
.
ChatForm
:
case
.
ChatForm
:
"ChatFormColor"
"ChatFormColor"
case
.
ChatEmargency1
:
"ChatEmargencyColor1"
case
.
ChatEmargency2
:
"ChatEmargencyColor2"
case
.
FormText
:
"FormBackColor"
case
.
NoticeBk
:
"NoticeBkColor"
case
.
ListActive
:
"ListActiveColor"
case
.
PrimaryActiveButton
:
case
.
PrimaryActiveButton
:
"PrimaryActiveButtonColor"
"PrimaryActiveButtonColor"
case
.
PrimaryDisable
:
case
.
PrimaryDisable
:
...
@@ -192,7 +231,7 @@ extension ColorSet{
...
@@ -192,7 +231,7 @@ extension ColorSet{
"ToggleOffColor"
"ToggleOffColor"
case
.
ToggleOn
:
case
.
ToggleOn
:
"ToggleOnColor"
"ToggleOnColor"
case
.
Slider
:
case
.
Slide
ba
r
:
"SliderColor"
"SliderColor"
case
.
ConingActive
:
case
.
ConingActive
:
"ConingActiveColor"
"ConingActiveColor"
...
@@ -208,6 +247,10 @@ extension ColorSet{
...
@@ -208,6 +247,10 @@ extension ColorSet{
"ShipSettingColor"
"ShipSettingColor"
case
.
EmargencyIcon
:
case
.
EmargencyIcon
:
"EmargencyIconColor"
"EmargencyIconColor"
case
.
EmargencyIcon02
:
"EmargencyIconColor02"
case
.
TaskStateIcon
:
"TaskStateIconColor"
case
.
ScrollBarColor
:
case
.
ScrollBarColor
:
"ScrollBarColor"
"ScrollBarColor"
case
.
SearchBarColor
:
case
.
SearchBarColor
:
...
@@ -218,6 +261,8 @@ extension ColorSet{
...
@@ -218,6 +261,8 @@ extension ColorSet{
"LineColor02"
"LineColor02"
case
.
LineColor03
:
case
.
LineColor03
:
"LineColor03"
"LineColor03"
case
.
Notice
:
"NoticeColor"
}
}
}
}
}
}
Seilassist/Sailassist/Constants/FontStyle.swift
View file @
117f2ec2
...
@@ -33,6 +33,9 @@ enum FontStyle: String, CaseIterable{
...
@@ -33,6 +33,9 @@ enum FontStyle: String, CaseIterable{
///アイコン付きラジオボタン
///アイコン付きラジオボタン
case
RadioButtonText
case
RadioButtonText
///日付
case
DateText
}
}
extension
FontStyle
{
extension
FontStyle
{
...
@@ -60,6 +63,8 @@ extension FontStyle{
...
@@ -60,6 +63,8 @@ extension FontStyle{
return
.
medium
return
.
medium
case
.
RadioButtonText
:
case
.
RadioButtonText
:
return
.
regular
return
.
regular
case
.
DateText
:
return
.
bold
}
}
}
}
...
@@ -91,6 +96,8 @@ extension FontStyle{
...
@@ -91,6 +96,8 @@ extension FontStyle{
return
10
return
10
case
.
RadioButtonText
:
case
.
RadioButtonText
:
return
10
return
10
case
.
DateText
:
return
12
}
}
}
}
}
}
...
...
Seilassist/Sailassist/Login/LoginView.swift
View file @
117f2ec2
...
@@ -41,7 +41,7 @@ struct LoginView: View {
...
@@ -41,7 +41,7 @@ struct LoginView: View {
var
body
:
some
View
{
var
body
:
some
View
{
ZStack
{
ZStack
{
Triangle
()
Triangle
()
.
fill
(
Color
.
red
)
.
fill
(
Color
Set
.
LoginBk03
.
color
)
.
ignoresSafeArea
()
.
ignoresSafeArea
()
VStack
{
VStack
{
//ロゴ
//ロゴ
...
@@ -108,6 +108,7 @@ struct LoginView: View {
...
@@ -108,6 +108,7 @@ struct LoginView: View {
}
}
}
}
}
}
.
background
(
ColorSet
.
LoginBk01
.
color
)
.
fullScreenCover
(
isPresented
:
$
scannerViewModel
.
isShowing
,
onDismiss
:
{
LoginCheckQR
()},
content
:
{
.
fullScreenCover
(
isPresented
:
$
scannerViewModel
.
isShowing
,
onDismiss
:
{
LoginCheckQR
()},
content
:
{
QRReadView
(
viewMode
:
.
constant
(
.
SelectType
),
viewModel
:
scannerViewModel
)
QRReadView
(
viewMode
:
.
constant
(
.
SelectType
),
viewModel
:
scannerViewModel
)
})
})
...
...
Seilassist/Sailassist/Map/Task/View/EcaListView.swift
View file @
117f2ec2
...
@@ -14,7 +14,8 @@ struct EcaListView: View {
...
@@ -14,7 +14,8 @@ struct EcaListView: View {
ForEach
(
sharingData
.
ecaArea
.
map
{
$0
.
1
},
id
:
\
.
name
){
eca
in
ForEach
(
sharingData
.
ecaArea
.
map
{
$0
.
1
},
id
:
\
.
name
){
eca
in
HStack
{
HStack
{
Text
(
eca
.
name
)
Text
(
eca
.
name
)
.
padding
(
17
)
.
font
(
FontStyle
.
DefaultText
.
font
)
.
foregroundColor
(
ColorSet
.
Body
.
color
)
Spacer
()
Spacer
()
if
!
eca
.
isEnable
{
if
!
eca
.
isEnable
{
Button
(
action
:
{
Button
(
action
:
{
...
@@ -23,22 +24,31 @@ struct EcaListView: View {
...
@@ -23,22 +24,31 @@ struct EcaListView: View {
sharingData
.
editEcaArea
(
key
:
eca
.
name
,
value
:
newData
)
sharingData
.
editEcaArea
(
key
:
eca
.
name
,
value
:
newData
)
},
label
:
{
},
label
:
{
Image
(
"icon_plus"
)
Image
(
"icon_plus"
)
.
padding
()
.
resizable
()
.
frame
(
width
:
12
,
height
:
12
)
.
padding
(
8
)
})
})
.
frame
(
width
:
28
,
height
:
28
)
.
background
(
.
primaryActiveIcon
)
.
background
(
.
primaryActiveIcon
)
.
cornerRadius
(
50
)
.
cornerRadius
(
50
)
.
padding
()
.
padding
()
}
else
{
}
else
{
Text
(
"Registerd"
)
Text
(
"Registerd"
)
.
frame
(
height
:
24
)
.
font
(
FontStyle
.
SupplementText2
.
font
)
.
background
(
.
primaryDisable
)
.
frame
(
height
:
25
)
.
cornerRadius
(
12
)
.
foregroundColor
(
ColorSet
.
ButtonDisable
.
color
)
.
padding
()
.
padding
(
.
vertical
,
4
)
.
padding
(
.
horizontal
,
10
)
.
background
(
ColorSet
.
PrimaryDisable
.
color
)
.
cornerRadius
(
99
)
}
}
}
}
.
frame
(
height
:
62
)
.
padding
(
.
horizontal
,
30
)
Divider
()
Divider
()
.
background
(
.
white
)
}
}
}
}
}
}
...
...
Seilassist/Sailassist/Map/Task/View/MapTaskView.swift
View file @
117f2ec2
...
@@ -29,7 +29,7 @@ struct MapTaskView: View {
...
@@ -29,7 +29,7 @@ struct MapTaskView: View {
var
body
:
some
View
{
var
body
:
some
View
{
VStack
{
VStack
{
Capsule
()
Capsule
()
.
foregroundColor
(
Color
(
.
systemGray5
)
)
.
foregroundColor
(
Color
Set
.
ScrollBarColor
.
color
)
.
frame
(
width
:
45
,
height
:
3
)
.
frame
(
width
:
45
,
height
:
3
)
.
padding
(
.
top
,
10
)
.
padding
(
.
top
,
10
)
...
@@ -49,6 +49,7 @@ struct MapTaskView: View {
...
@@ -49,6 +49,7 @@ struct MapTaskView: View {
Spacer
()
Spacer
()
Text
(
viewMode
.
title
)
Text
(
viewMode
.
title
)
.
font
(
FontStyle
.
TitleL
.
font
)
.
frame
(
height
:
20
)
.
frame
(
height
:
20
)
.
padding
(
.
vertical
,
14
)
.
padding
(
.
vertical
,
14
)
...
@@ -84,8 +85,6 @@ struct MapTaskView: View {
...
@@ -84,8 +85,6 @@ struct MapTaskView: View {
}
}
}
}
.
padding
(
.
leading
,
20
)
.
padding
(
.
trailing
,
10
)
Spacer
()
Spacer
()
.
frame
(
height
:
55
)
.
frame
(
height
:
55
)
...
...
Seilassist/Sailassist/Map/Task/View/TaskSwitchingMenuView.swift
View file @
117f2ec2
...
@@ -30,14 +30,20 @@ struct TaskSwitchingMenuView: View {
...
@@ -30,14 +30,20 @@ struct TaskSwitchingMenuView: View {
newData
.
isRunning
=
true
newData
.
isRunning
=
true
sharingData
.
editEcaArea
(
key
:
eca
.
name
,
value
:
newData
)
sharingData
.
editEcaArea
(
key
:
eca
.
name
,
value
:
newData
)
}
label
:
{
}
label
:
{
HStack
{
Circle
()
Circle
()
.
frame
(
width
:
14
,
height
:
14
)
.
foregroundColor
(
eca
.
isRunning
?
ColorSet
.
PrimaryActiveIcon
.
color
:
ColorSet
.
TaskStateIcon
.
color
)
Spacer
()
.
frame
(
width
:
10
)
.
frame
(
width
:
10
)
.
foregroundColor
(
eca
.
isRunning
?
.
red
:
.
blue
)
Text
(
eca
.
name
)
Text
(
eca
.
name
)
.
font
(
FontStyle
.
DefaultText
.
font
)
.
foregroundColor
(
ColorSet
.
Body
.
color
)
.
foregroundColor
(
ColorSet
.
Body
.
color
)
}
}
}
Spacer
()
Spacer
()
Menu
{
Menu
{
...
@@ -58,7 +64,8 @@ struct TaskSwitchingMenuView: View {
...
@@ -58,7 +64,8 @@ struct TaskSwitchingMenuView: View {
}
}
}
label
:
{
}
label
:
{
Image
(
systemName
:
"ellipsis"
)
Image
(
systemName
:
"ellipsis"
)
.
padding
()
.
frame
(
width
:
22
,
height
:
22
)
// .padding()
}
}
.
disabled
(
eca
.
isRunning
)
.
disabled
(
eca
.
isRunning
)
.
alert
(
"delete"
,
isPresented
:
$
isDeleteAlert
)
{
.
alert
(
"delete"
,
isPresented
:
$
isDeleteAlert
)
{
...
@@ -83,9 +90,11 @@ struct TaskSwitchingMenuView: View {
...
@@ -83,9 +90,11 @@ struct TaskSwitchingMenuView: View {
Text
(
"eca delete"
)
Text
(
"eca delete"
)
}
}
}
}
.
frame
(
height
:
50
)
.
frame
(
height
:
60
)
.
padding
(
.
horizontal
,
30
)
Divider
()
Divider
()
.
background
(
.
white
)
}
}
}
}
//AddECAボタン
//AddECAボタン
...
@@ -93,14 +102,17 @@ struct TaskSwitchingMenuView: View {
...
@@ -93,14 +102,17 @@ struct TaskSwitchingMenuView: View {
viewMode
=
.
EcaList
viewMode
=
.
EcaList
},
label
:
{
},
label
:
{
Text
(
"Add ECA Task"
)
Text
(
"Add ECA Task"
)
.
font
(
FontStyle
.
DefaultText
.
font
)
.
padding
()
.
padding
()
})
})
.
frame
(
width
:
153
,
height
:
42
)
.
foregroundColor
(
ColorSet
.
ButtonText
.
color
)
.
background
(
ColorSet
.
PrimaryActiveIcon
.
color
)
.
background
(
ColorSet
.
PrimaryActiveIcon
.
color
)
.
cornerRadius
(
30
)
.
cornerRadius
(
30
)
Spacer
()
Spacer
()
}
}
.
padding
()
//
.padding()
}
}
}
}
...
...
Seilassist/Sailassist/Tab/MainTabView.swift
View file @
117f2ec2
...
@@ -25,7 +25,7 @@ struct MainTabView: View {
...
@@ -25,7 +25,7 @@ struct MainTabView: View {
@EnvironmentObject
private
var
sceneDelegate
:
SceneDelegate
@EnvironmentObject
private
var
sceneDelegate
:
SceneDelegate
init
()
{
init
()
{
let
appearance
:
UITabBarAppearance
=
UITabBarAppearance
()
let
appearance
:
UITabBarAppearance
=
UITabBarAppearance
()
appearance
.
backgroundColor
=
UIColor
(
ColorSet
.
BackgroundPrimary
.
color
)
appearance
.
backgroundColor
=
.
clear
UITabBar
.
appearance
()
.
scrollEdgeAppearance
=
appearance
UITabBar
.
appearance
()
.
scrollEdgeAppearance
=
appearance
UITabBar
.
appearance
()
.
standardAppearance
=
appearance
UITabBar
.
appearance
()
.
standardAppearance
=
appearance
}
}
...
@@ -41,6 +41,7 @@ struct MainTabView: View {
...
@@ -41,6 +41,7 @@ struct MainTabView: View {
NavigationStack
{
NavigationStack
{
MapRepresentable
()
MapRepresentable
()
.
ignoresSafeArea
()
}
}
.
tag
(
Tab
.
task
)
.
tag
(
Tab
.
task
)
...
@@ -62,10 +63,10 @@ struct MainTabView: View {
...
@@ -62,10 +63,10 @@ struct MainTabView: View {
}
}
.
zIndex
(
0
)
.
zIndex
(
0
)
.
presentationDragIndicator
(
.
hidden
)
.
presentationDragIndicator
(
.
hidden
)
.
presentationDetents
([
.
height
(
15
5
),
.
medium
,
.
fraction
(
0.99
)])
.
presentationDetents
([
.
height
(
15
0
),
.
medium
,
.
fraction
(
0.99
)])
.
presentationCornerRadius
(
15
)
.
presentationCornerRadius
(
15
)
.
presentationBackgroundInteraction
(
.
enabled
(
upThrough
:
.
medium
))
.
presentationBackgroundInteraction
(
.
enabled
(
upThrough
:
.
medium
))
.
presentationBackground
(
ColorSet
.
ModalWindowBack
.
color
)
.
presentationBackground
(
ColorSet
.
BackgroundSecondary
.
color
)
.
interactiveDismissDisabled
()
.
interactiveDismissDisabled
()
})
})
}
}
...
@@ -96,9 +97,9 @@ struct CustomTabBar: View {
...
@@ -96,9 +97,9 @@ struct CustomTabBar: View {
}
}
}
}
.
frame
(
height
:
5
5
)
.
frame
(
height
:
5
0
)
}
}
.
background
(
.
regularMaterial
)
.
background
(
ColorSet
.
BottomNav
.
color
)
}
}
}
}
...
@@ -106,4 +107,6 @@ struct CustomTabBar: View {
...
@@ -106,4 +107,6 @@ struct CustomTabBar: View {
#Preview {
#Preview {
MainTabView
()
MainTabView
()
.
environmentObject
(
SelectedTabModel
())
.
environmentObject
(
SceneDelegate
())
}
}
Seilassist/Sailassist/Tab/View/NavigationTitleView.swift
0 → 100644
View file @
117f2ec2
//
// NavigationTitleView.swift
// Sailassist
//
// Created by Mamoru Sugita on 2023/11/09.
//
import
SwiftUI
struct
NavigationTitleView
:
View
{
var
body
:
some
View
{
VStack
{
HStack
{
Text
(
/*@START_MENU_TOKEN@*/
"Hello, World!"
/*@END_MENU_TOKEN@*/
)
}
Divider
()
Spacer
()
}
}
}
#Preview {
NavigationTitleView
()
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment