diff --git a/categories.json b/categories.json new file mode 100644 index 0000000..4a62423 --- /dev/null +++ b/categories.json @@ -0,0 +1,47 @@ +{ + "01": "공업/과학 및 사진용 및 농업/원예 및 임업용 화학제; 미가공 인조수지, 미가공 플라스틱; 소화 및 화재예방용 조성물; 조질제 및 땜납용 조제; 수피용 무두질제; 공업용 접착제; 퍼티 및 기타 페이스트 충전제; 퇴비, 거름, 비료; 산업용 및 과학용 생물학적 제제", + "02": "페인트, 니스, 래커; 방청제 및 목재 보존제; 착색제, 염료; 인쇄, 표시 및 판화용 잉크; 미가공 천연수지; 도장용/장식용/인쇄용/미술용 금속박(箔) 및 금속분(紛)", + "03": "비의료용 화장품 및 세면용품; 비의료용 치약; 향료, 에센셜 오일; 표백제 및 기타 세탁용 제제; 세정/광택 및 연마재", + "04": "공업용 오일 및 그리스, 왁스; 윤활제; 먼지흡수제, 먼지습윤제 및 먼지흡착제; 연료 및 발광체; 조명용 양초 및 심지", + "05": "약제, 의료용 및 수의과용 제제; 의료용 위생제; 의료용 또는 수의과용 식이요법 식품 및 제제, 유아용 식품; 인체용 및 동물용 식이보충제; 플라스터, 외상치료용 재료; 치과용 충전재료, 치과용 왁스; 소독제; 해충구제제; 살균제, 제초제", + "06": "일반금속 및 그 합금, 광석; 금속제 건축 및 구축용 재료; 금속제 이동식 건축물; 비전기용 일반금속제 케이블 및 와이어; 소형금속제품; 저장 또는 운반용 금속제 용기; 금고", + "07": "기계, 공작기계, 전동공구; 모터 및 엔진(육상차량용은 제외); 기계 커플링 및 전동장치 부품(육상차량용은 제외); 농기구(수동식 수공구는 제외); 부란기(孵卵器); 자동판매기", + "08": "수동식 수공구 및 수동기구; 커틀러리; 휴대 무기(화기는 제외); 면도기", + "09": "과학, 연구, 항법, 측량, 사진, 영화, 시청각, 광학, 계량, 측정, 신호, 탐지, 시험, 검사, 구명 및 교육용 기기; 전기 분배 또는 전기 사용의 전도, 전환, 변형, 축적, 조절 또는 통제를 위한 기기; 음향/영상 또는 데이터의 기록/전송/재생 또는 처리용 장치 및 기구; 기록 및 내려받기 가능한 미디어, 컴퓨터 소프트웨어, 빈 디지털 또는 아날로그 기록 및 저장매체; 동전작동식 기계장치; 금전등록기, 계산기; 컴퓨터 및 컴퓨터주변기기; 잠수복, 잠수마스크, 잠수용 귀마개, 다이버 및 수영용 노즈클립, 잠수용 장갑, 잠수용 호흡장치; 소화기기", + "10": "외과용, 내과용, 치과용 및 수의과용 기계기구; 의지(義肢), 의안(義眼) 및 의치(義齒); 정형외과용품; 봉합용 재료; 장애인용 치료 및 재활보조장치; 안마기; 유아수유용 기기 및 용품; 성활동용 기기 및 용품", + "11": "조명용, 가열용, 냉각용, 증기발생용, 조리용, 건조용, 환기용, 급수용, 위생용 장치 및 설비", + "12": "수송기계기구; 육상, 항공 또는 해상을 통해 이동하는 수송수단", + "13": "화기(火器); 탄약 및 발사체; 폭약; 폭죽", + "14": "귀금속 및 그 합금; 보석, 귀석 및 반귀석; 시계용구", + "15": "악기; 악보대 및 악기용 받침대; 지휘봉", + "16": "종이 및 판지; 인쇄물; 제본재료; 사진; 문방구 및 사무용품(가구는 제외); 문방구용 또는 가정용 접착제; 제도용구 및 미술용 재료; 회화용 솔; 교재; 포장용 플라스틱제 시트, 필름 및 가방; 인쇄활자, 프린팅블록", + "17": "미가공 및 반가공 고무, 구타페르카, 고무액(gum), 석면, 운모(雲母) 및 이들의 제품; 제조용 압출성형형태의 플라스틱 및 수지; 충전용, 마개용 및 절연용 재료; 비금속제 신축관, 튜브 및 호스", + "18": "가죽 및 모조가죽; 수피; 수하물가방 및 운반용 가방; 우산 및 파라솔; 걷기용 지팡이; 채찍 및 마구(馬具); 동물용 목걸이, 가죽끈 및 의류", + "19": "건축용 및 구축용 비금속제 건축재료; 건축용 비금속제 경질관(硬質管); 아스팔트, 피치, 타르 및 역청; 비금속제 이동식 건축물; 비금속제 기념물", + "20": "가구, 거울, 액자; 보관 또는 운송용 비금속제 컨테이너; 미가공 또는 반가공 뼈, 뿔, 고래수염 또는 나전(螺鈿); 패각; 해포석(海泡石); 호박(琥珀)(원석)", + "21": "가정용 또는 주방용 기구 및 용기; 조리기구 및 식기(포크, 나이프 및 스푼은 제외); 빗 및 스펀지; 솔(페인트 솔은 제외); 솔 제조용 재료; 청소용구; 비건축용 미가공 또는 반가공 유리; 유리제품, 도자기제품 및 토기제품", + "22": "로프 및 노끈; 망(網); 텐트 및 타폴린; 직물제 또는 합성재료제 차양; 돛; 하역물운반용 및 보관용 포대; 충전재료(고무/플라스틱/종이 및 판지제는 제외); 직물용 미가공 섬유 및 그 대용품", + "23": "직물용 실(絲)", + "24": "직물 및 직물대용품; 가정용 린넨; 직물 또는 플라스틱제 커튼", + "25": "의류, 신발, 모자", + "26": "레이스, 장식용 끈 및 자수포, 의류장식용 리본 및 나비매듭리본; 단추, 훅 및 아이(hooks and eyes), 핀 및 바늘; 조화(造花); 머리장식품; 가발", + "27": "카펫, 융단, 매트, 리놀륨 및 기타 바닥깔개용 재료; 비직물제 벽걸이", + "28": "오락용구, 장난감; 비디오게임장치; 체조 및 스포츠용품; 크리스마스트리용 장식품", + "29": "식육, 생선, 가금 및 엽조수; 고기진액; 보존처리/냉동/건조 및 조리된 과일 및 채소; 젤리, 잼, 콤폿; 달걀; 우유, 치즈, 버터, 요구르트 및 기타 유제품; 식용 유지(油脂)", + "30": "커피, 차(茶), 코코아 및 그 대용물; 쌀, 파스타 및 국수; 타피오카 및 사고(sago); 곡분 및 곡물 조제품; 빵, 페이스트리 및 과자; 초콜릿; 아이스크림, 셔벗 및 기타 식용 얼음; 설탕, 꿀, 당밀(糖蜜); 식품용 이스트, 베이킹 파우더; 소금, 조미료, 향신료, 보존처리된 허브; 식초, 소스 및 기타 조미료; 얼음", + "31": "미가공 농업, 수산양식, 원예 및 임업 생산물; 미가공 곡물 및 종자; 신선한 과실 및 채소, 신선한 허브; 살아 있는 식물 및 꽃; 구근(球根), 모종 및 재배용 곡물종자; 살아있는 동물; 동물용 사료 및 음료; 맥아", + "32": "맥주; 비알코올성 음료; 광천수 및 탄산수; 과실음료 및 과실주스; 시럽 및 비알코올성 음료용 제제", + "33": "알코올성 음료(맥주는 제외); 음료제조용 알코올성 제제", + "34": "담배 및 대용담배; 권연 및 여송연; 흡연자용 전자담배 및 기화기; 흡연용구; 성냥", + "35": "광고업; 사업관리/조직 및 경영업; 사무처리업", + "36": "금융, 통화 및 은행업; 보험서비스업; 부동산업", + "37": "건축서비스업; 설치 및 수리서비스업; 채광업/석유 및 가스 시추업", + "38": "통신서비스업", + "39": "운송업; 상품의 포장 및 보관업; 여행알선업", + "40": "재료처리업; 폐기물 재생업; 공기 정화 및 물 처리업; 인쇄 서비스업; 음식 및 음료수 보존업", + "41": "교육업; 훈련제공업; 연예오락업; 스포츠 및 문화활동업", + "42": "과학적, 기술적 서비스업 및 관련 연구, 디자인업; 산업분석, 산업연구 및 산업디자인 서비스업; 품질 관리 및 인증 서비스업; 컴퓨터 하드웨어 및 소프트웨어의 디자인 및 개발업", + "43": "식음료제공서비스업; 임시숙박시설업", + "44": "의료업; 수의업; 인간 또는 동물을 위한 위생 및 미용업; 농업, 수산양식, 원예 및 임업 서비스업", + "45": "법무서비스업; 유형의 재산 및 개인을 물리적으로 보호하기 위한 보안서비스업; 이성(異性) 소개업, 온라인 소셜 네트워킹 서비스업; 장례업; 베이비시팅업" +} diff --git a/config.ini b/config.ini index 535eaa8..a6049e1 100644 --- a/config.ini +++ b/config.ini @@ -1,12 +1,17 @@ [Settings] -maxweightset = 25 +maxweightset = 10 maxlengthset = 100 -maxvolumeset = 160 -addfeeinterval = 5 -addfeesetting = 20 -addfee = 5000 -fontsize = 10 -weightinterval = 4.0 +maxvolumeset = 155 +addfeeinterval = 6 +addfeesetting = 3 +addfee = 2000 +fontsize = 14 +weightinterval = 0.5 setsavesetting = True -favoritedelv = ؽƮؿ(ۺ) +favoritedelv = + +[Kipris] +use_kipris = True +usage_mode = web +api_key = X9Tz3JqC/JcCwxnNewA6qdloIN6QFIitVBgS1a2KVDYk1AmddaDTvzr6+t3dyLZV3gh2TPXdNhxsRQwaKP673Q== diff --git a/delv.py b/delv.py index 1025c53..409c3da 100644 --- a/delv.py +++ b/delv.py @@ -6,10 +6,14 @@ import logging from PyQt5.QtCore import Qt from PyQt5 import QtWidgets, QtCore from PyQt5.QtGui import QFont -import re +import re, json from src.toggleSwitch import ToggleSwitch # toggleSwitch.py 파일에서 ToggleSwitch 클래스를 임포트 from src.logger_module import setup_logger import ctypes +from src.kipris_settingUI import SettingsDialog +from src.kipris_api_from_publicdata import Kipris_API +# from src.kipris_web_from_playwright import Kipris_WEB +from src.kiprisThread import * def minimize_console(): """ 콘솔 창을 최소화하는 함수 """ @@ -25,6 +29,15 @@ class DeliveryFeeCalculator(QtWidgets.QWidget): self.config = configparser.ConfigParser() self.config_path = 'config.ini' + self.use_kipris = False + self.usage_mode = "web" + self.api_key = "" + self.kiprisAPI = None + self.searchThread = None # 스레드 객체를 저장할 멤버 변수 추가 + self.asyncWorker = None + self.search_keyword = None + self.set_status =[] + self.maxWeightSet = 25 self.maxLengthSet = 100 self.maxVolumeSet = 160 @@ -48,9 +61,12 @@ class DeliveryFeeCalculator(QtWidgets.QWidget): self.deliveryFees = {} self.initSettings() + self.initUI() self.loadDeliveryFees() self.setDefaultValues() + self.kipris_Visible() + self.setWindowFlags(self.windowFlags() | Qt.WindowStaysOnTopHint) # self.setAddInterval(self.addFeeInterval) @@ -70,42 +86,69 @@ class DeliveryFeeCalculator(QtWidgets.QWidget): def initSettings(self): # self.settings = QtCore.QSettings('When_Ride_Mycar_Tanya', 'DeliveryFeeCalculator') self.loadSettings() + self.load_history() + + self.user_settings = { + 'use_kipris': self.use_kipris, + 'usage_mode': self.usage_mode, + 'api_key': self.api_key, + } + self.settingDialog = SettingsDialog(parent=self, initial_settings=self.user_settings) def loadSettings(self): """ 설정 파일을 불러옵니다. """ - if not os.path.exists(self.config_path): - self.create_default_settings() - self.config.read(self.config_path) - - self.maxWeightSet = self.config.getint('Settings', 'maxWeightSet', fallback=25) - self.maxLengthSet = self.config.getint('Settings', 'maxLengthSet', fallback=100) - self.maxVolumeSet = self.config.getint('Settings', 'maxVolumeSet', fallback=160) - self.addFeeInterval = self.config.getint('Settings', 'addFeeInterval', fallback=5) - self.addFeeSetting = self.config.getint('Settings', 'addFeeSetting', fallback=20) - self.addFee = self.config.getint('Settings', 'addFee', fallback=1000) - self.fontSize = self.config.getint('Settings', 'fontSize', fallback=14) - self.weightInterval = self.config.getfloat('Settings', 'weightInterval', fallback=0.5) - self.setSaveSetting = self.config.getboolean('Settings', 'setSaveSetting', fallback=False) - self.favoriteDelv = self.config.get('Settings', 'favoriteDelv', fallback="노빠꾸해운(배송비)") + try: + if not os.path.exists(self.config_path): + self.create_default_settings() + self.config.read(self.config_path) + + self.maxWeightSet = self.config.getint('Settings', 'maxWeightSet', fallback=25) + self.maxLengthSet = self.config.getint('Settings', 'maxLengthSet', fallback=100) + self.maxVolumeSet = self.config.getint('Settings', 'maxVolumeSet', fallback=160) + self.addFeeInterval = self.config.getint('Settings', 'addFeeInterval', fallback=5) + self.addFeeSetting = self.config.getint('Settings', 'addFeeSetting', fallback=20) + self.addFee = self.config.getint('Settings', 'addFee', fallback=1000) + self.fontSize = self.config.getint('Settings', 'fontSize', fallback=14) + self.weightInterval = self.config.getfloat('Settings', 'weightInterval', fallback=0.5) + self.setSaveSetting = self.config.getboolean('Settings', 'setSaveSetting', fallback=False) + self.favoriteDelv = self.config.get('Settings', 'favoriteDelv', fallback="노빠꾸해운(배송비)") + self.use_kipris = self.config.getboolean('Kipris', 'use_Kipris', fallback=False) + self.usage_mode = self.config.get('Kipris', 'usage_mode', fallback="web") + self.api_key = self.config.get('Kipris', 'api_key', fallback="") + + print(f"use_kipris : {self.use_kipris}, usage_mode : {self.usage_mode}, api_key : {self.api_key}") + except Exception as e: + logger.error(f"설정을 불러오는 중 오류가 발생했습니다: {e}", exc_info=True) def saveSettings(self): """ 설정을 config.ini 파일에 저장합니다. """ - if not self.config.has_section('Settings'): - self.config.add_section('Settings') - - self.config.set('Settings', 'maxWeightSet', str(self.maxWeightSet)) - self.config.set('Settings', 'maxLengthSet', str(self.maxLengthSet)) - self.config.set('Settings', 'maxVolumeSet', str(self.maxVolumeSet)) - self.config.set('Settings', 'addFeeInterval', str(self.addFeeInterval)) - self.config.set('Settings', 'addFeeSetting', str(self.addFeeSetting)) - self.config.set('Settings', 'addFee', str(self.addFee)) - self.config.set('Settings', 'fontSize', str(self.fontSize)) - self.config.set('Settings', 'weightInterval', str(self.weightInterval)) - self.config.set('Settings', 'setSaveSetting', str(self.setSaveSetting)) - self.config.set('Settings', 'favoriteDelv', str(self.favoriteDelv)) - - with open(self.config_path, 'w') as configfile: - self.config.write(configfile) + try: + if not self.config.has_section('Settings'): + self.config.add_section('Settings') + + self.config.set('Settings', 'maxWeightSet', str(self.maxWeightSet)) + self.config.set('Settings', 'maxLengthSet', str(self.maxLengthSet)) + self.config.set('Settings', 'maxVolumeSet', str(self.maxVolumeSet)) + self.config.set('Settings', 'addFeeInterval', str(self.addFeeInterval)) + self.config.set('Settings', 'addFeeSetting', str(self.addFeeSetting)) + self.config.set('Settings', 'addFee', str(self.addFee)) + self.config.set('Settings', 'fontSize', str(self.fontSize)) + self.config.set('Settings', 'weightInterval', str(self.weightInterval)) + self.config.set('Settings', 'setSaveSetting', str(self.setSaveSetting)) + self.config.set('Settings', 'favoriteDelv', str(self.favoriteDelv)) + + if not self.config.has_section('Kipris'): + self.config.add_section('Kipris') + + self.config.set('Kipris', 'use_kipris', str(self.use_kipris)) + self.config.set('Kipris', 'usage_mode', str(self.usage_mode)) + self.config.set('Kipris', 'api_key', str(self.api_key)) + + with open(self.config_path, 'w') as configfile: + self.config.write(configfile) + except Exception as e: + logger.error(f"설정을 저장하는 중 오류가 발생했습니다: {e}", exc_info=True) + def create_default_settings(self): """ 기본 설정을 생성합니다. """ @@ -119,30 +162,60 @@ class DeliveryFeeCalculator(QtWidgets.QWidget): 'fontSize': '14', 'weightInterval': '0.5', 'setSaveSetting': 'False', - 'favoriteDelv': "노빠꾸해운(배송비)" + 'favoriteDelv': "노빠꾸해운(배송비)", } + self.config['Kipris'] = { + 'use_kipris': 'False', + 'usage_mode': 'web', + 'api_key': '', + } + with open(self.config_path, 'w') as configfile: self.config.write(configfile) - # def loadWindowSettings(self): - # # 윈도우 위치와 크기 설정을 불러옵니다 - # self.resize(self.settings.value("windowSize", QtCore.QSize(400, 300))) - # self.move(self.settings.value("windowPosition", QtCore.QPoint(50, 50))) + def add_history(self, keyword) : + if keyword: + if keyword and keyword not in self.history: # 중복된 검색어가 아니면 추가 + self.history.append(keyword) + print(f"검색어 [{keyword}] 히스토리에 추가") - # def saveWindowSettings(self): - # # 윈도우 위치와 크기 설정을 저장합니다 - # self.settings.setValue("windowSize", self.size()) - # self.settings.setValue("windowPosition", self.pos()) + def load_history(self): + try: + with open("search_history.json", "r") as file: + self.history = json.load(file) + print(f"self.history file loaded{self.history}") + + except (FileNotFoundError, json.JSONDecodeError): + self.history = [] + print(f"self.history{self.history}") + + def save_history(self): + with open("search_history.json", "w") as file: + json.dump(self.history, file) + + def show_history_menu(self, event): + if self.history: + menu = QtWidgets.QMenu(self) + for keyword in self.history: + menu.addAction(keyword, lambda k=keyword: self.kipris_edit.setText(k)) + menu.exec_(self.kipris_edit.mapToGlobal(event.pos())) def closeEvent(self, event): - # 종료 이벤트가 발생할 때 설정 저장 + # 설정 저장 여부 로그 기록 if self.setSaveSetting: logger.debug("설정값 저장") - self.saveSettings() - # self.saveWindowSettings() + self.saveSettings() # 설정 저장 + # self.saveWindowSettings() # 필요한 경우 윈도우 설정 저장 else: logger.debug("설정값 저장하지 않음") + # 검색 히스토리 저장 + self.save_history() + + # 부모 클래스의 종료 이벤트 처리 호출 + super().closeEvent(event) + + # 이벤트 처리 완료를 알림 event.accept() def initUI(self): @@ -151,22 +224,44 @@ class DeliveryFeeCalculator(QtWidgets.QWidget): # 메뉴바 생성 menubar = QtWidgets.QMenuBar(self) - settingsMenu = menubar.addMenu('설정') + helpMenu = menubar.addMenu('도움말') + kiprisMenu = menubar.addMenu('키프리스') - # 도움말 보기 메뉴 아이템 - helpAction = QtWidgets.QAction('도움말 보기', self) - helpAction.triggered.connect(self.showHelp) - settingsMenu.addAction(helpAction) + # 도움말 - 도움말 보기 메뉴 아이템 + helpnemu_helpAction = QtWidgets.QAction('도움말 보기', self) + helpnemu_helpAction.triggered.connect(self.showHelp) + helpMenu.addAction(helpnemu_helpAction) + # 도움말 - ChangeLog 메뉴 아이템 + helpnemu_changelogAction = QtWidgets.QAction('ChangeLog', self) + helpnemu_changelogAction.triggered.connect(self.showChangeLog) + helpMenu.addAction(helpnemu_changelogAction) + # 도움말 - 기본값 설정 메뉴 아이템 + helpnemu_defaultAction = QtWidgets.QAction('기본값 설정', self) + helpnemu_defaultAction.triggered.connect(self.setttingTosetDefaultValues) + helpMenu.addAction(helpnemu_defaultAction) + + # # '설정창 열기' 메뉴 아이템 + openSettingsAction = QtWidgets.QAction('설정창 열기', self) + openSettingsAction.triggered.connect(self.showSettingsDialog) + kiprisMenu.addAction(openSettingsAction) + + + + + # # 키프리스 - APIKEY 메뉴 아이템 + # kiprismenu_settingAction = QtWidgets.QAction('키프리스 ', self) + # kiprismenu_settingAction.triggered.connect(self.showHelp) + # kiprisMenu.addAction(kiprismenu_settingAction) + # # 도움말 - ChangeLog 메뉴 아이템 + # changelogAction = QtWidgets.QAction('ChangeLog', self) + # changelogAction.triggered.connect(self.showChangeLog) + # kiprisMenu.addAction(changelogAction) + # # 도움말 - 기본값 설정 메뉴 아이템 + # defaultAction = QtWidgets.QAction('기본값 설정', self) + # defaultAction.triggered.connect(self.setttingTosetDefaultValues) + # kiprisMenu.addAction(defaultAction) - # ChangeLog 메뉴 아이템 - changelogAction = QtWidgets.QAction('ChangeLog', self) - changelogAction.triggered.connect(self.showChangeLog) - settingsMenu.addAction(changelogAction) - # 기본값 설정 메뉴 아이템 - defaultAction = QtWidgets.QAction('기본값 설정', self) - defaultAction.triggered.connect(self.setttingTosetDefaultValues) - settingsMenu.addAction(defaultAction) # 레이아웃 전체 설정 @@ -393,19 +488,26 @@ class DeliveryFeeCalculator(QtWidgets.QWidget): self.setting_layout.addLayout(self.addMoneySetlayout2) self.setting_layout.addLayout(self.addMoneySetlayout3) - # 키프리스 검색버튼 - self.kipris_layout = QtWidgets.QHBoxLayout() + # 키프리스 프레임 + self.kiprisWidget = QtWidgets.QWidget(self) + self.kipris_layout = QtWidgets.QHBoxLayout(self.kiprisWidget) + self.kiprisWidget.setLayout(self.kipris_layout) + self.kiprisWidget.setVisible(False) self.kipris_label = QtWidgets.QLabel("키프리스 검색") self.kipris_edit = QtWidgets.QLineEdit() self.kipris_btn = QtWidgets.QPushButton("검색") self.kipris_btn.clicked.connect(self.kipris_btn_clicked) + self.kipris_edit.returnPressed.connect(self.kipris_btn_clicked) + self.kipris_edit.mousePressEvent = self.show_history_menu self.kipris_layout.addWidget(self.kipris_label) self.kipris_layout.addWidget(self.kipris_edit) self.kipris_layout.addWidget(self.kipris_btn) self.kipris_layout.setStretch(0,3) self.kipris_layout.setStretch(1,6) self.kipris_layout.setStretch(2,3) - self.setting_layout.addLayout(self.kipris_layout) + # self.setting_layout.addLayout(self.kipris_layout) + self.setting_layout.addWidget(self.kiprisWidget) # self.kiprisWidget을 설정 레이아웃에 추가 + # 항상 위에 토글 스위치 self.alwaysOnTopSwitch = ToggleSwitch(self.setting_frame) @@ -434,6 +536,71 @@ class DeliveryFeeCalculator(QtWidgets.QWidget): self.setWindowTitle('배송비 계산기') + def initSettings_for_kipris_ori(self): + if self.kiprisAPI: + # 현재 객체가 적절한 타입인지 확인 + current_type = type(self.kiprisAPI) + target_type = Kipris_API if self.usage_mode == 'api' else Kipris_WEB + + if current_type is not target_type: + # 기존 객체가 다른 타입이면 삭제하고 새로 생성 + print(f"기존 {self.kiprisAPI} 객체를 삭제하고 새 객체를 생성합니다.") + self.kiprisAPI.close_Kipris() # 기존객체 리소스 정리 + del self.kiprisAPI # 기존 객체 참조 제거 + self.kiprisAPI = target_type(self.api_key) # 새 객체 생성 + print(f"{self.usage_mode.upper()} 방식 kiprisAPI 객체 생성: {self.kiprisAPI}") + else: + print(f"기존에 적절한 {self.kiprisAPI} 객체가 이미 존재합니다.") + else: + # 객체가 없으면 새로 생성 + self.kiprisAPI = Kipris_API(self.api_key) if self.usage_mode == 'api' else Kipris_WEB(self.api_key) + print(f"{self.usage_mode.upper()} 방식 kiprisAPI 객체 생성: {self.kiprisAPI}") + + def initSettings_for_kipris(self): + if self.kiprisAPI: + # 현재 객체가 적절한 타입인지 확인 + current_type = type(self.kiprisAPI) + target_type = Kipris_API if self.usage_mode == 'api' else AsyncWebSearchWorker + + if current_type is not target_type: + # 기존 객체가 다른 타입이면 삭제하고 새로 생성 + print(f"기존 {self.kiprisAPI} 객체를 삭제하고 새 객체를 생성합니다.") + if isinstance(self.kiprisAPI, AsyncWebSearchWorker): + self.kiprisAPI.deleteLater() # 비동기 작업자는 Qt 객체로 관리되므로 deleteLater 사용 + self.kiprisAPI = None + if self.usage_mode == 'api': + self.kiprisAPI = Kipris_API(self.api_key) # 새 객체 생성 + else: + web_scraper = WebScraper() # WebScraper 인스턴스 생성 + self.kiprisAPI = AsyncWebSearchWorker(web_scraper, "") # 초기 키워드는 비워두기 + print(f"{self.usage_mode.upper()} 방식 kiprisAPI 객체 생성: {self.kiprisAPI}") + else: + print(f"기존에 적절한 {self.kiprisAPI} 객체가 이미 존재합니다.") + else: + # 객체가 없으면 새로 생성 + if self.usage_mode == 'api': + self.kiprisAPI = Kipris_API(self.api_key) + else: + web_scraper = WebScraper() # WebScraper 인스턴스 생성 + self.kiprisAPI = AsyncWebSearchWorker(web_scraper, "") # 초기 키워드는 비워두기 + print(f"{self.usage_mode.upper()} 방식 kiprisAPI 객체 생성: {self.kiprisAPI}") + + + def showSettingsDialog(self): + if self.settingDialog.exec_(): + self.use_kipris = self.settingDialog.use_kipris + self.usage_mode = self.settingDialog.usage_mode + self.api_key = self.settingDialog.api_key + + self.kipris_Visible() + + def kipris_Visible(self): + if self.use_kipris: + self.kiprisWidget.setVisible(True) + self.initSettings_for_kipris() + else: + self.kiprisWidget.setVisible(False) + def create_label_and_switch(self, label_text, target_switch): layout = QtWidgets.QHBoxLayout() label = QtWidgets.QLabel(label_text) @@ -481,7 +648,7 @@ class DeliveryFeeCalculator(QtWidgets.QWidget): logger.debug('Excel file loaded successfully.') except Exception as e: - logger.error(f"Error loading Excel file: {e}") + logger.error(f"Error loading Excel file: {e}", exc_info=True) QtWidgets.QMessageBox.critical(self, "Error", "Failed to load the Excel file.") def processSheet(self, df, sheet_name, key): @@ -553,7 +720,7 @@ class DeliveryFeeCalculator(QtWidgets.QWidget): self.additionalFee() except Exception as e: - logger.error(f"Error updating delivery fee: {e}") + logger.error(f"Error updating delivery fee: {e}", exc_info=True) self.deliveryFeeLabel.setText("배송비 업데이트 중 오류 발생") def updateAdditionalDeliveryFee(self): @@ -619,7 +786,7 @@ class DeliveryFeeCalculator(QtWidgets.QWidget): self.additionalFeeLabel.setText(f'경동 택배비[{price_source}]: {fee}') except Exception as e: - logger.error(f"Error updating Additional delivery fee: {e}") + logger.error(f"Error updating Additional delivery fee: {e}", exc_info=True) self.additionalFeeLabel.setText("배송비 업데이트 중 오류 발생") @@ -742,9 +909,59 @@ class DeliveryFeeCalculator(QtWidgets.QWidget): self.show() def kipris_btn_clicked(self): - search_keyword = self.kipris_edit.text() - logger.debug(f"키프리스 검색버튼 클릭 : 키워드 = [{search_keyword}]") - print(f"키프리스 검색버튼 클릭 : 키워드 = [{search_keyword}]") + self.search_keyword = self.kipris_edit.text() + logger.debug(f"키프리스 검색버튼 클릭 : 키워드 = [{self.search_keyword}]") + + # result = self.kiprisAPI.run(self.search_keyword, self.set_status) + # print(f"result {result}") + + if self.search_keyword.strip(): # 검색어가 비어있지 않은 경우에만 검색 수행 + self.handle_search_for_web(self.search_keyword) + + def handle_search_for_web(self, keyword): + self.add_history(keyword) # 검색어 히스토리 추가 + if self.asyncWorker: # 기존에 비동기 작업자가 존재한다면 + self.asyncWorker.thread.quit() # 기존 스레드 종료 + + print(f"키프리스 검색버튼 클릭 : 키워드 = [{keyword}]") + self.asyncWorker = AsyncWebSearchWorker(keyword, self.set_status) # 새 비동기 작업자 생성 + self.asyncWorker.finished.connect(self.display_results_for_web) # 완료 시그널을 결과 표시 함수에 연결 + self.asyncWorker.start() # 비동기 작업 시작 + print("비동기 검색 시작") + + def display_results_for_web(self, result, elapsed_time): + message = f"검색 결과 : {result}\n검색에 걸린 시간: {elapsed_time:.1f}초" + QtWidgets.QMessageBox.information(self, "Search Results", message) + + self.asyncWorker = None # 작업 완료 후 객체 참조 해제 + + def handle_search_for_api(self, keyword): + self.add_history(keyword) + + if self.searchThread is not None and self.searchThread.isRunning(): + self.searchThread.quit() # 이전 스레드가 실행 중이라면 안전하게 종료 + print("기존 쓰레드가 존재하므로 기존 쓰레드 종료") + print(f"키프리스 검색버튼 클릭 : 키워드 = [{keyword}]") + + worker = APISearchWorker(self.kiprisAPI, keyword, self.set_status) + + # worker = SearchWorker(self.kiprisAPI, keyword, self.set_status) + + print("워커 생성") + self.searchThread = SearchThread(worker) + print("쓰레드 생성") + worker.finished.connect(self.display_results) + self.searchThread.finished.connect(self.clear_thread_reference) + self.searchThread.start_search() + print("검색 시작") + + def clear_thread_reference(self): + # 스레드 종료 후 참조를 제거하여 다음 검색을 위해 준비 + self.searchThread = None + + def display_results(self, result, elapsed_time): + message = f"검색 결과 : {result}\n검색에 걸린 시간: {elapsed_time:.1f}초" + QtWidgets.QMessageBox.information(self, "Search Results", message) def reset_action(self): self.lengthInput.setValue(1) diff --git a/search_history.json b/search_history.json new file mode 100644 index 0000000..7f6bb17 --- /dev/null +++ b/search_history.json @@ -0,0 +1 @@ +["\uc2a4\ud0a4\uc5d0\uc774\ud2b8", "\ub86f\ub370", "\uc2a4\ud0a4\uc5d0\uc774\ud2b8", "\ub86f\ub370", "\uc2a4\ud0a4\uc5d0\uc774\ud2b8", "\ub86f\ub370", "\uc368\uc9c0\uc624"] \ No newline at end of file diff --git a/src/Kiprismain.py b/src/Kiprismain.py new file mode 100644 index 0000000..125ab77 --- /dev/null +++ b/src/Kiprismain.py @@ -0,0 +1,182 @@ +import sys +from PyQt5.QtWidgets import QApplication, QMessageBox, QSizePolicy, QWidget, QVBoxLayout, QHBoxLayout, QLabel, QLineEdit, QPushButton, QTextEdit, QGridLayout +from PyQt5.QtGui import QPixmap +from PyQt5.QtCore import Qt, QByteArray, QBuffer, QIODevice +from kipris_web_from_playwright import WebScraper + +class MainApp(QWidget): + def __init__(self): + super().__init__() + self.initUI() + self.scraper = WebScraper() + self.scraper.setup_browser() + + + def initUI(self): + # 검색 레이아웃 + searchLayout = QHBoxLayout() + self.searchLabel = QLabel('검색어 입력:', self) + self.searchLineEdit = QLineEdit(self) + self.searchLineEdit.returnPressed.connect(self.start_search) + self.searchButton = QPushButton('검색 실행', self) + self.searchButton.clicked.connect(self.start_search) + + searchLayout.addWidget(self.searchLabel) + searchLayout.addWidget(self.searchLineEdit) + searchLayout.addWidget(self.searchButton) + + # 로그 레이아웃 + logLayout = QVBoxLayout() + self.logTextEdit = QTextEdit(self) + self.logTextEdit.setReadOnly(True) + + logLayout.addWidget(self.logTextEdit) + + # 메인 레이아웃 + mainLayout = QVBoxLayout() + mainLayout.addLayout(searchLayout) + mainLayout.addLayout(logLayout) + + self.setLayout(mainLayout) + self.setWindowTitle('Web Scraper') + self.setGeometry(300, 300, 300, 400) + + def wrap_text(self, text, width=40): + """주어진 너비에 맞게 텍스트를 줄바꿈합니다.""" + words = text.split() + wrapped_text = '' + line_length = 0 + + for word in words: + if line_length + len(word) + 1 > width: + wrapped_text += '\n' + line_length = 0 + wrapped_text += word + ' ' + line_length += len(word) + 1 + + return wrapped_text.strip() + + def start_search(self): + term = self.searchLineEdit.text() + if not term: + self.logTextEdit.append("검색어를 입력해주세요.") + return + + self.logTextEdit.append("검색을 시작합니다...") + results = self.scraper.search_for_term(term) + if results: + self.logTextEdit.append("검색 완료. 결과를 처리합니다...") + self.show_results(results) + else: + self.logTextEdit.append("검색 결과가 없거나 오류가 발생했습니다.") + QMessageBox.information(self, "검색 결과 없음", "검색 결과가 없으므로 지재권에 안심하시면 됩니다.", QMessageBox.Ok) + + + def show_results(self, results): + + try: + # 결과 위젯 생성 + self.results_widget = QWidget() + layout = QVBoxLayout() + self.results_widget.setLayout(layout) + + # 결과 갯수 확인 및 레이아웃 동적 생성 + total_count = int(results['total_count']) + set_count = min(total_count, 10) + grid_layout = QGridLayout() + layout.addLayout(grid_layout) + grid_index = 0 + grid_columns = 5 + + for i in range(1, set_count + 1): + result_key = f"result_{i}" + if result_key in results: + result = results[result_key] + + # 테두리 설정 + border_style = '' + if result['admin_status'] == '등록': + border_style = 'border: 4px solid red;' + elif result['admin_status'] == '공고': + border_style = 'border: 3px solid black;' + + # 각 결과에 대한 레이아웃 생성 + item_layout = QVBoxLayout() + item_widget = QWidget() # 위젯 생성 + + # item_layout의 크기 정책 설정 + item_widget.setSizePolicy(QSizePolicy.Fixed, QSizePolicy.MinimumExpanding) + + # 이미지 처리 + image_label = QLabel() + image_label.setFixedSize(150, 150) + image_data = self.scraper.fetch_image_data(result['IDimageURL']) + pixmap = QPixmap() + pixmap.loadFromData(image_data) + # QLabel의 크기에 맞게 이미지 크기 조정 + scaled_pixmap = pixmap.scaled(image_label.size(), Qt.KeepAspectRatio, Qt.SmoothTransformation) + image_label.setPixmap(scaled_pixmap) + # QLabel의 가로 세로 중앙에 이미지 표시 + image_label.setAlignment(Qt.AlignCenter) + # 이미지 표시 위젯의 크기 조정 정책 설정 + image_label.setScaledContents(True) + + #이미지 중앙배치를 위해 + horizontal_layout = QHBoxLayout() + horizontal_layout.addWidget(image_label) + horizontal_layout.setAlignment(Qt.AlignCenter) + item_layout.addLayout(horizontal_layout) + + # item_layout.addWidget(image_label) + + # 정보 텍스트 + # info_text = f"상표권명: {result['title']}\n등록상태: {result['admin_status']}\nCategory: {result['product_category']}\nApplicant: {result['applicant']}\nPublication Date: {result['publication_date']}\nRegistration Date: {result['registration_date']}" + info_text = f"상표권명: {result['title']}
\n" \ + f"등록상태: {result['admin_status']}
\n" \ + f"카테고리: {result['product_category']}
\n" \ + f"권리자: {result['applicant']}
\n" \ + f" {result['publication_date']}
\n" \ + f" {result['registration_date']}" + + info_label = QLabel(info_text) + info_label.setToolTip(self.wrap_text(result['category_description'], 50)) + image_label.setToolTip(self.wrap_text(result['category_description'], 50)) + item_layout.addWidget(info_label) + + image_label.setStyleSheet(border_style) + info_label.setStyleSheet(border_style) + + # 레이아웃에 위젯 추가 + row = grid_index // grid_columns + col = grid_index % grid_columns + grid_layout.addLayout(item_layout, row, col) + grid_index += 1 + + # 결과 위젯에 닫기 버튼 추가 + close_button = QPushButton("Close") + close_button.clicked.connect(self.close_results_widget) + layout.addWidget(close_button) + + # 결과 위젯을 메인 윈도우에 추가 + self.results_widget.setGeometry(300, 300, 600, 300) # 위치와 크기 설정 + self.results_widget.setWindowTitle('Search Results') # 타이틀 설정 + self.results_widget.show() + + except Exception as e: + print(f"Error displaying results: {e}") + + + def close_results_widget(self): + # 결과 위젯닫기 함수를 호출할 때 사용하는 메서드 + self.results_widget.close() + + + def closeEvent(self, event): + self.scraper.close_browser() + event.accept() + +if __name__ == '__main__': + app = QApplication(sys.argv) + ex = MainApp() + ex.show() + sys.exit(app.exec_()) diff --git a/src/drivers/.links/5c13fa08a2f8e5d164f3cd3cc4357aaf38615cf1 b/src/drivers/.links/5c13fa08a2f8e5d164f3cd3cc4357aaf38615cf1 new file mode 100644 index 0000000..05a8f38 --- /dev/null +++ b/src/drivers/.links/5c13fa08a2f8e5d164f3cd3cc4357aaf38615cf1 @@ -0,0 +1 @@ +H:\py\AutoPercenty\Lib\site-packages\playwright\driver\package \ No newline at end of file diff --git a/src/drivers/ffmpeg-1009/COPYING.LGPLv2.1 b/src/drivers/ffmpeg-1009/COPYING.LGPLv2.1 new file mode 100644 index 0000000..58af0d3 --- /dev/null +++ b/src/drivers/ffmpeg-1009/COPYING.LGPLv2.1 @@ -0,0 +1,502 @@ + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages--typically libraries--of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations below. + + When we speak of free software, we are referring to freedom of use, +not price. Our General Public Licenses are designed to make sure that +you have the freedom to distribute copies of free software (and charge +for this service if you wish); that you receive source code or can get +it if you want it; that you can change the software and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. + + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it becomes +a de-facto standard. To achieve this, non-free programs must be +allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. + + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be distributed need not include anything that is +normally distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties with +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms of the +ordinary General Public License). + + To apply these terms, attach the following notices to the library. It is +safest to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least the +"copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the library, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James Random Hacker. + + , 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! diff --git a/src/drivers/ffmpeg-1009/DEPENDENCIES_VALIDATED b/src/drivers/ffmpeg-1009/DEPENDENCIES_VALIDATED new file mode 100644 index 0000000..e69de29 diff --git a/src/drivers/ffmpeg-1009/INSTALLATION_COMPLETE b/src/drivers/ffmpeg-1009/INSTALLATION_COMPLETE new file mode 100644 index 0000000..e69de29 diff --git a/src/drivers/ffmpeg-1009/ffmpeg-win64.exe b/src/drivers/ffmpeg-1009/ffmpeg-win64.exe new file mode 100644 index 0000000..494405a Binary files /dev/null and b/src/drivers/ffmpeg-1009/ffmpeg-win64.exe differ diff --git a/src/drivers/webkit-1983/DEPENDENCIES_VALIDATED b/src/drivers/webkit-1983/DEPENDENCIES_VALIDATED new file mode 100644 index 0000000..e69de29 diff --git a/src/drivers/webkit-1983/INSTALLATION_COMPLETE b/src/drivers/webkit-1983/INSTALLATION_COMPLETE new file mode 100644 index 0000000..e69de29 diff --git a/src/drivers/webkit-1983/JavaScriptCore.dll b/src/drivers/webkit-1983/JavaScriptCore.dll new file mode 100644 index 0000000..c2b765b Binary files /dev/null and b/src/drivers/webkit-1983/JavaScriptCore.dll differ diff --git a/src/drivers/webkit-1983/Playwright.exe b/src/drivers/webkit-1983/Playwright.exe new file mode 100644 index 0000000..2ca871d Binary files /dev/null and b/src/drivers/webkit-1983/Playwright.exe differ diff --git a/src/drivers/webkit-1983/WTF.dll b/src/drivers/webkit-1983/WTF.dll new file mode 100644 index 0000000..7dc885a Binary files /dev/null and b/src/drivers/webkit-1983/WTF.dll differ diff --git a/src/drivers/webkit-1983/WebCore.dll b/src/drivers/webkit-1983/WebCore.dll new file mode 100644 index 0000000..abb2392 Binary files /dev/null and b/src/drivers/webkit-1983/WebCore.dll differ diff --git a/src/drivers/webkit-1983/WebKit.resources/WebInspectorUI/CSSDocumentation.js b/src/drivers/webkit-1983/WebKit.resources/WebInspectorUI/CSSDocumentation.js new file mode 100644 index 0000000..a142ee9 --- /dev/null +++ b/src/drivers/webkit-1983/WebKit.resources/WebInspectorUI/CSSDocumentation.js @@ -0,0 +1,25 @@ +/* + * MIT License + * + * Copyright (c) Microsoft Corporation. + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE + * + */ +CSSDocumentation={"-webkit-animation":{"description":"Shorthand property combines six of the animation properties into a single property."},"-webkit-animation-delay":{"description":"Defines when the animation will start."},"-webkit-animation-direction":{"description":"Defines whether or not the animation should play in reverse on alternate cycles."},"-webkit-animation-duration":{"description":"Defines the length of time that an animation takes to complete one cycle."},"-webkit-animation-fill-mode":{"description":"Defines what values are applied by the animation outside the time it is executing."},"-webkit-animation-iteration-count":{"description":"Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once."},"-webkit-animation-name":{"description":"Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation."},"-webkit-animation-play-state":{"description":"Defines whether the animation is running or paused."},"-webkit-animation-timing-function":{"description":"Describes how the animation will progress over one cycle of its duration. See the 'transition-timing-function'."},"-webkit-appearance":{"description":"Changes the appearance of buttons and other controls to resemble native controls.","syntax":"none | button | checkbox | listbox | menulist | menulist-button | meter | progress-bar | push-button | radio | searchfield | slider-horizontal | slider-vertical | square-button | textarea | textfield | -apple-pay-button"},"-webkit-backdrop-filter":{"description":"Applies a filter effect where the first filter in the list takes the element's background image as the input image."},"-webkit-backface-visibility":{"description":"Determines whether or not the 'back' side of a transformed element is visible when facing the viewer. With an identity transform, the front side of an element faces the viewer."},"-webkit-background-clip":{"description":"Determines the background painting area."},"-webkit-background-origin":{"description":"For elements rendered as a single box, specifies the background positioning area. For elements rendered as multiple boxes (e.g., inline boxes on several lines, boxes on several pages) specifies which boxes 'box-decoration-break' operates on to determine the background positioning area(s)."},"-webkit-border-before":{"description":"The -webkit-border-before CSS property is a shorthand property for setting the individual logical block start border property values in a single place in the style sheet.","syntax":"<'border-width'> || <'border-style'> || ","url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-border-before"},"-webkit-border-before-color":{"description":"The -webkit-border-before-color CSS property sets the color of the individual logical block start border in a single place in the style sheet.","syntax":""},"-webkit-border-before-style":{"description":"The -webkit-border-before-style CSS property sets the style of the individual logical block start border in a single place in the style sheet.","syntax":"<'border-style'>"},"-webkit-border-before-width":{"description":"The -webkit-border-before-width CSS property sets the width of the individual logical block start border in a single place in the style sheet.","syntax":"<'border-width'>"},"-webkit-border-image":{"description":"Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values."},"-webkit-box-align":{"description":"Specifies the alignment of nested elements within an outer flexible box element."},"-webkit-box-direction":{"description":"In webkit applications, -webkit-box-direction specifies whether a box lays out its contents normally (from the top or left edge), or in reverse (from the bottom or right edge)."},"-webkit-box-flex":{"description":"Specifies an element's flexibility."},"-webkit-box-flex-group":{"description":"Flexible elements can be assigned to flex groups using the 'box-flex-group' property."},"-webkit-box-ordinal-group":{"description":"Indicates the ordinal group the element belongs to. Elements with a lower ordinal group are displayed before those with a higher ordinal group."},"-webkit-box-orient":{"description":"In webkit applications, -webkit-box-orient specifies whether a box lays out its contents horizontally or vertically."},"-webkit-box-pack":{"description":"Specifies alignment of child elements within the current element in the direction of orientation."},"-webkit-box-reflect":{"description":"Defines a reflection of a border box.","syntax":"[ above | below | right | left ]? ? ?","url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-box-reflect"},"-webkit-box-sizing":{"description":"Box Model addition in CSS3."},"-webkit-break-after":{"description":"Describes the page/column break behavior before the generated box."},"-webkit-break-before":{"description":"Describes the page/column break behavior before the generated box."},"-webkit-break-inside":{"description":"Describes the page/column break behavior inside the generated box."},"-webkit-column-break-after":{"description":"Describes the page/column break behavior before the generated box."},"-webkit-column-break-before":{"description":"Describes the page/column break behavior before the generated box."},"-webkit-column-break-inside":{"description":"Describes the page/column break behavior inside the generated box."},"-webkit-column-count":{"description":"Describes the optimal number of columns into which the content of the element will be flowed."},"-webkit-column-gap":{"description":"Sets the gap between columns. If there is a column rule between columns, it will appear in the middle of the gap."},"-webkit-column-rule":{"description":"This property is a shorthand for setting 'column-rule-width', 'column-rule-style', and 'column-rule-color' at the same place in the style sheet. Omitted values are set to their initial values."},"-webkit-column-rule-color":{"description":"Sets the color of the column rule"},"-webkit-column-rule-style":{"description":"Sets the style of the rule between columns of an element."},"-webkit-column-rule-width":{"description":"Sets the width of the rule between columns. Negative values are not allowed."},"-webkit-column-span":{"description":"Describes the page/column break behavior after the generated box."},"-webkit-column-width":{"description":"This property describes the width of columns in multicol elements."},"-webkit-columns":{"description":"A shorthand property which sets both 'column-width' and 'column-count'."},"-webkit-filter":{"description":"Processes an element's rendering before it is displayed in the document, by applying one or more filter effects."},"-webkit-flow-from":{"description":"Makes a block container a region and associates it with a named flow."},"-webkit-flow-into":{"description":"Places an element or its contents into a named flow."},"-webkit-font-feature-settings":{"description":"This property provides low-level control over OpenType font features. It is intended as a way of providing access to font features that are not widely used but are needed for a particular use case."},"-webkit-hyphens":{"description":"Controls whether hyphenation is allowed to create more break opportunities within a line of text."},"-webkit-line-break":{"description":"Specifies line-breaking rules for CJK (Chinese, Japanese, and Korean) text."},"-webkit-line-clamp":{"description":"The -webkit-line-clamp CSS property allows limiting of the contents of a block container to the specified number of lines.","syntax":"none | ","url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-line-clamp"},"-webkit-mask":{"description":"The mask CSS property alters the visibility of an element by either partially or fully hiding it. This is accomplished by either masking or clipping the image at specific points.","syntax":"[ || [ / ]? || || [ | border | padding | content | text ] || [ | border | padding | content ] ]#"},"-webkit-mask-attachment":{"description":"If a -webkit-mask-image is specified, -webkit-mask-attachment determines whether the mask image's position is fixed within the viewport, or scrolls along with its containing block.","syntax":"#","url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-attachment"},"-webkit-mask-clip":{"description":"Determines the mask painting area, which determines the area that is affected by the mask.","syntax":"[ | border | padding | content | text ]#"},"-webkit-mask-composite":{"description":"The -webkit-mask-composite property specifies the manner in which multiple mask images applied to the same element are composited with one another. Mask images are composited in the opposite order that they are declared with the -webkit-mask-image property.","syntax":"#","url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-composite"},"-webkit-mask-image":{"description":"Sets the mask layer image of an element.","syntax":"#"},"-webkit-mask-origin":{"description":"Specifies the mask positioning area.","syntax":"[ | border | padding | content ]#"},"-webkit-mask-position":{"description":"The mask-position CSS property sets the initial position, relative to the mask position layer defined by mask-origin, for each defined mask image.","syntax":"#"},"-webkit-mask-position-x":{"description":"The -webkit-mask-position-x CSS property sets the initial horizontal position of a mask image.","syntax":"[ | left | center | right ]#","url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-position-x"},"-webkit-mask-position-y":{"description":"The -webkit-mask-position-y CSS property sets the initial vertical position of a mask image.","syntax":"[ | top | center | bottom ]#","url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-position-y"},"-webkit-mask-repeat":{"description":"Specifies how mask layer images are tiled after they have been sized and positioned.","syntax":"#"},"-webkit-mask-repeat-x":{"description":"The -webkit-mask-repeat-x property specifies whether and how a mask image is repeated (tiled) horizontally.","syntax":"repeat | no-repeat | space | round","url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-repeat-x"},"-webkit-mask-repeat-y":{"description":"The -webkit-mask-repeat-y property specifies whether and how a mask image is repeated (tiled) vertically.","syntax":"repeat | no-repeat | space | round","url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-repeat-y"},"-webkit-mask-size":{"description":"Specifies the size of the mask layer images.","syntax":"#"},"-webkit-nbsp-mode":{"description":"Defines the behavior of nonbreaking spaces within text."},"-webkit-overflow-scrolling":{"description":"Specifies whether to use native-style scrolling in an overflow:scroll element.","syntax":"auto | touch","url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-overflow-scrolling"},"-webkit-perspective":{"description":"Applies the same transform as the perspective() transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself."},"-webkit-perspective-origin":{"description":"Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element."},"-webkit-region-fragment":{"description":"The 'region-fragment' property controls the behavior of the last region associated with a named flow."},"-webkit-tap-highlight-color":{"syntax":"","url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-tap-highlight-color"},"-webkit-text-fill-color":{"syntax":"","url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-fill-color"},"-webkit-text-size-adjust":{"description":"Specifies a size adjustment for displaying text content in mobile browsers."},"-webkit-text-stroke":{"syntax":" || ","url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke"},"-webkit-text-stroke-color":{"syntax":"","url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke-color"},"-webkit-text-stroke-width":{"syntax":"","url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke-width"},"-webkit-touch-callout":{"syntax":"default | none","url":"https://developer.mozilla.org/docs/Web/CSS/-webkit-touch-callout"},"-webkit-transform":{"description":"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG."},"-webkit-transform-origin":{"description":"Establishes the origin of transformation for an element."},"-webkit-transform-origin-x":{"description":"The x coordinate of the origin for transforms applied to an element with respect to its border box."},"-webkit-transform-origin-y":{"description":"The y coordinate of the origin for transforms applied to an element with respect to its border box."},"-webkit-transform-origin-z":{"description":"The z coordinate of the origin for transforms applied to an element with respect to its border box."},"-webkit-transform-style":{"description":"Defines how nested elements are rendered in 3D space."},"-webkit-transition":{"description":"Shorthand property combines four of the transition properties into a single property."},"-webkit-transition-delay":{"description":"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied."},"-webkit-transition-duration":{"description":"Specifies how long the transition from the old value to the new value should take."},"-webkit-transition-property":{"description":"Specifies the name of the CSS property to which the transition is applied."},"-webkit-transition-timing-function":{"description":"Describes how the intermediate values used during a transition will be calculated."},"-webkit-user-modify":{"description":"Determines whether a user can edit the content of an element.","syntax":"read-only | read-write | read-write-plaintext-only"},"-webkit-user-select":{"description":"Controls the appearance of selection."},"accent-color":{"description":"Sets the color of the elements accent","syntax":"auto | ","url":"https://developer.mozilla.org/docs/Web/CSS/accent-color"},"additive-symbols":{"description":"@counter-style descriptor. Specifies the symbols used by the marker-construction algorithm specified by the system descriptor. Needs to be specified if the counter system is 'additive'.","syntax":"[ && ]#"},"align-content":{"description":"Aligns a flex container's lines within the flex container when there is extra space in the cross-axis, similar to how 'justify-content' aligns individual items within the main-axis.","syntax":"normal | | | ? ","url":"https://developer.mozilla.org/docs/Web/CSS/align-content"},"align-items":{"description":"Aligns flex items along the cross axis of the current line of the flex container.","syntax":"normal | stretch | | [ ? ]","url":"https://developer.mozilla.org/docs/Web/CSS/align-items"},"align-self":{"description":"Allows the default alignment along the cross axis to be overridden for individual flex items.","syntax":"auto | normal | stretch | | ? ","url":"https://developer.mozilla.org/docs/Web/CSS/align-self"},"align-tracks":{"description":"The align-tracks CSS property sets the alignment in the masonry axis for grid containers that have masonry in their block axis.","syntax":"[ normal | | | ? ]#","url":"https://developer.mozilla.org/docs/Web/CSS/align-tracks"},"all":{"description":"Shorthand that resets all properties except 'direction' and 'unicode-bidi'.","syntax":"initial | inherit | unset | revert | revert-layer","url":"https://developer.mozilla.org/docs/Web/CSS/all"},"alt":{"description":"Provides alternative text for assistive technology to replace the generated content of a ::before or ::after element.","url":"https://developer.mozilla.org/docs/Web/CSS/alt"},"animation":{"description":"Shorthand property combines six of the animation properties into a single property.","syntax":"#","url":"https://developer.mozilla.org/docs/Web/CSS/animation"},"animation-composition":{"description":"The composite operation to use when multiple animations affect the same property.","syntax":"#","url":"https://developer.mozilla.org/docs/Web/CSS/animation-composition"},"animation-delay":{"description":"Defines when the animation will start.","syntax":"