Bladeren bron

【2025】【Edit】背景模块自测问题修正

niehaoyu 3 maanden geleden
bovenliggende
commit
9f20802dbf

+ 4 - 4
PDF Office/KMComponentLibrary/KMComponentLibrary/View/ComponentBaseXibView.swift

@@ -44,7 +44,7 @@ import AppKit
     //MARK: - Setter
     public override var toolTip: String? {
         get {
-            return nil
+            return toolTipString
         }
         set {
             toolTipString = newValue
@@ -121,9 +121,9 @@ import AppKit
         }
         toolTipView?.showWithPoint(point, inView: self.window?.contentView)
         
-        if isMode {
-            ComponentManager.manager.isTooltipMode = true
-        }
+//        if isMode {
+//            ComponentManager.manager.isTooltipMode = true
+//        }
     }
     
     func hideToolTips() {

+ 24 - 8
PDF Office/KMComponentLibrary/KMComponentLibrary/View/Input/ComponentInput/ComponentInput.swift

@@ -15,16 +15,21 @@ import AppKit
     
     //文字变化
     @objc optional func componentInputDidChanged(inputView: ComponentInput)
-  
+    
     @objc optional func componentInputDidLeftIconClicked(inputView: ComponentInput)
+    
+    
+    @objc optional func componentInputDidCoverButtonClicked(inputView: ComponentInput)
+    
 }
 
 public class ComponentInput: ComponentBaseXibView {
-
+    
     @IBOutlet var contendBox: NSBox!
     @IBOutlet var leftIconImg: NSImageView!
     @IBOutlet var rightIconImg: NSImageView!
     @IBOutlet var inputField: ComponentTextField!
+    @IBOutlet var fieldCoverBtn: ComponentTextField!
     
     @IBOutlet var errorTipLabel: NSTextField!
     @IBOutlet var clearButton: NSButton!
@@ -209,8 +214,13 @@ public class ComponentInput: ComponentBaseXibView {
          
         if properties.isDisabled == false && properties.creatable == true {
             inputField.isEditable = true
+            fieldCoverBtn.isHidden = true
         } else {
             inputField.isEditable = false
+            fieldCoverBtn.isHidden = false
+            if properties.text.count > 0 {
+                self.toolTip = properties.text
+            }
         }
         inputField.wantsLayer = true
         inputField.layer?.masksToBounds = true
@@ -288,6 +298,10 @@ public class ComponentInput: ComponentBaseXibView {
         
     }
     
+    @IBAction func coverBtnClicked(_ sender: Any) {
+        delegate?.componentInputDidCoverButtonClicked?(inputView: self)
+    }
+    
     //MARK: - TextNotification
     @objc func textFieldDidBeginEditingNotification(_ notification: Notification) {
  
@@ -374,14 +388,16 @@ public class ComponentInput: ComponentBaseXibView {
 extension ComponentInput: ComponentTextFieldDelegate {
     
     func componentTextFieldDidResponderChanged(textField: NSTextField) {
-        if properties.isDisabled == false {
-            if inputField.isResponder {
-                properties.state = .pressed
-            } else {
-                properties.state = .normal
+        if properties.creatable == true {
+            if properties.isDisabled == false {
+                if inputField.isResponder {
+                    properties.state = .pressed
+                } else {
+                    properties.state = .normal
+                }
             }
+            refreshUI()
         }
-        refreshUI()
         
     }
 }

+ 16 - 1
PDF Office/KMComponentLibrary/KMComponentLibrary/View/Input/ComponentInput/ComponentInput.xib

@@ -12,6 +12,7 @@
                 <outlet property="contendBox" destination="VP6-J0-req" id="h50-4x-tv3"/>
                 <outlet property="contendBoxBottomConst" destination="kji-R5-GLu" id="yeW-8f-cxa"/>
                 <outlet property="errorTipLabel" destination="JfG-qG-Wo7" id="1lH-Ug-QAF"/>
+                <outlet property="fieldCoverBtn" destination="Sst-Ik-YEc" id="lEf-SW-Kvt"/>
                 <outlet property="fieldLeftConst" destination="QTb-Ki-xTY" id="n9Y-bm-JPT"/>
                 <outlet property="fieldRightConst" destination="abd-AW-s0n" id="3Vz-Zh-w75"/>
                 <outlet property="inputField" destination="Sst-Ik-YEc" id="HMj-lj-Pv9"/>
@@ -41,7 +42,7 @@
                                 </constraints>
                                 <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="test" id="Crb-DU-hdX"/>
                             </imageView>
-                            <textField focusRingType="none" verticalHuggingPriority="750" allowsExpansionToolTips="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Sst-Ik-YEc" customClass="ComponentTextField" customModule="KMComponentLibrary" customModuleProvider="target">
+                            <textField focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Sst-Ik-YEc" customClass="ComponentTextField" customModule="KMComponentLibrary" customModuleProvider="target">
                                 <rect key="frame" x="30" y="10" width="232" height="20"/>
                                 <constraints>
                                     <constraint firstAttribute="height" constant="20" id="xJd-f5-u53"/>
@@ -52,6 +53,16 @@
                                     <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
                                 </textFieldCell>
                             </textField>
+                            <button translatesAutoresizingMaskIntoConstraints="NO" id="8jX-OL-Xar">
+                                <rect key="frame" x="32" y="10" width="228" height="20"/>
+                                <buttonCell key="cell" type="bevel" bezelStyle="rounded" alignment="center" imageScaling="proportionallyDown" inset="2" id="f5H-LG-c7z">
+                                    <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
+                                    <font key="font" metaFont="system"/>
+                                </buttonCell>
+                                <connections>
+                                    <action selector="coverBtnClicked:" target="-2" id="9Ev-Ox-1Xk"/>
+                                </connections>
+                            </button>
                             <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="yLZ-26-3S6">
                                 <rect key="frame" x="272" y="12" width="16" height="16"/>
                                 <constraints>
@@ -84,15 +95,19 @@
                             </textField>
                         </subviews>
                         <constraints>
+                            <constraint firstItem="8jX-OL-Xar" firstAttribute="top" secondItem="Sst-Ik-YEc" secondAttribute="top" id="0Ob-qf-mEg"/>
                             <constraint firstItem="Qvo-4I-xhl" firstAttribute="centerY" secondItem="VpB-6Z-psP" secondAttribute="centerY" id="1Yr-Ep-Mdj"/>
+                            <constraint firstItem="8jX-OL-Xar" firstAttribute="trailing" secondItem="Sst-Ik-YEc" secondAttribute="trailing" id="2eh-tS-ug5"/>
                             <constraint firstAttribute="trailing" secondItem="Qvo-4I-xhl" secondAttribute="trailing" constant="12" id="Gnm-2z-cIn"/>
                             <constraint firstItem="Sst-Ik-YEc" firstAttribute="leading" secondItem="VpB-6Z-psP" secondAttribute="leading" constant="32" id="QTb-Ki-xTY"/>
+                            <constraint firstItem="8jX-OL-Xar" firstAttribute="leading" secondItem="Sst-Ik-YEc" secondAttribute="leading" id="RFm-iC-UL1"/>
                             <constraint firstItem="yLZ-26-3S6" firstAttribute="centerY" secondItem="VpB-6Z-psP" secondAttribute="centerY" id="W2x-hH-SD0"/>
                             <constraint firstItem="84r-74-Zt0" firstAttribute="centerY" secondItem="VpB-6Z-psP" secondAttribute="centerY" id="YeY-mk-LZM"/>
                             <constraint firstAttribute="trailing" secondItem="84r-74-Zt0" secondAttribute="trailing" constant="8" id="ZF1-8F-T76"/>
                             <constraint firstAttribute="trailing" secondItem="Sst-Ik-YEc" secondAttribute="trailing" constant="60" id="abd-AW-s0n"/>
                             <constraint firstItem="XBu-aC-O2G" firstAttribute="leading" secondItem="VpB-6Z-psP" secondAttribute="leading" constant="8" id="hqY-64-gLe"/>
                             <constraint firstItem="XBu-aC-O2G" firstAttribute="centerY" secondItem="VpB-6Z-psP" secondAttribute="centerY" id="q6C-84-2kO"/>
+                            <constraint firstItem="8jX-OL-Xar" firstAttribute="bottom" secondItem="Sst-Ik-YEc" secondAttribute="bottom" id="tBk-E2-anO"/>
                             <constraint firstAttribute="trailing" secondItem="yLZ-26-3S6" secondAttribute="trailing" constant="32" id="th2-Kv-0mH"/>
                             <constraint firstItem="Sst-Ik-YEc" firstAttribute="centerY" secondItem="VpB-6Z-psP" secondAttribute="centerY" id="wPw-rY-VTX"/>
                         </constraints>

+ 2 - 7
PDF Office/PDF Master/KMClass/KMPDFViewController/EditTool/Background/KMBackgroundController.swift

@@ -221,12 +221,9 @@ extension KMBackgroundController: KMBGTemplateControllerDelegate {
         delegate?.kmBackgroundControllerDidUpdateMode?(self)
         
         propertyController.backgroundData = KMBackgroundManager.defaultManager.defaultModel
-        
-        backgroundModel = propertyController.backgroundData
-        
+         
         reloadData()
         
-        documentPreview.layoutDocumentView()
     }
     
     func templateControllerDidEditData(_ controller: KMBGTemplateController, _ data: KMBackgroundModel) {
@@ -238,8 +235,6 @@ extension KMBackgroundController: KMBGTemplateControllerDelegate {
         propertyController.backgroundData = data
         propertyController.reloadData()
         
-        backgroundModel = propertyController.backgroundData
-        
-        documentPreview.layoutDocumentView()
+        reloadData()
     }
 }

+ 16 - 5
PDF Office/PDF Master/KMClass/KMPDFViewController/EditTool/Background/Views/KMBGTemplateController.swift

@@ -67,7 +67,7 @@ class KMBGTemplateController: NSViewController {
         collectionView.layer?.backgroundColor = NSColor.clear.cgColor
         collectionView.delegate = self
         collectionView.dataSource = self
-        collectionView.allowsEmptySelection = true
+        collectionView.allowsEmptySelection = false
         collectionView.allowsMultipleSelection = false
         
         collectionView.register(KMBGTemplateItem.self, forItemWithIdentifier: NSUserInterfaceItemIdentifier(rawValue: "KMBGTemplateItem"))
@@ -120,10 +120,11 @@ class KMBGTemplateController: NSViewController {
     //MARK: - action
     @objc func buttonClicked(_ sender: ComponentButton) {
         if sender == addButton {
-            
-            selectedBackground = nil
-            reloadData()
-            delegate?.templateControllerDidSelectedChanged?(self)
+            if selectedBackground != nil {
+                selectedBackground = nil
+                reloadData()
+                delegate?.templateControllerDidSelectedChanged?(self)
+            }
             
             delegate?.templateControllerDidAddData?(self)
         }
@@ -210,4 +211,14 @@ extension KMBGTemplateController: KMBGTemplateItemDelegate {
             }
         }
     }
+    
+//    func kmNBGTemplateItemDidUpdateSelectedState(_ view: KMBGTemplateItem) {
+//        if view.itemSelected {
+//            selectedBackground = view.backgroundModel
+//        } else {
+//            selectedBackground = nil
+//        }
+//        
+//        collectionViewSelectedChanged()
+//    }
 }

+ 13 - 1
PDF Office/PDF Master/KMClass/KMPDFViewController/EditTool/Background/Views/KMBGTemplateItem.swift

@@ -13,6 +13,8 @@ import KMComponentLibrary
     @objc optional func kmNBGTemplateItemDidEdit(_ view: KMBGTemplateItem)
     
     @objc optional func kmNBGTemplateItemDidDelete(_ view: KMBGTemplateItem)
+     
+    @objc optional func kmNBGTemplateItemDidUpdateSelectedState(_ view: KMBGTemplateItem)
  
 }
 
@@ -22,6 +24,8 @@ class KMBGTemplateItem: NSCollectionViewItem {
 
     var backgroundModel: KMBackgroundModel?
     
+    var itemSelected: Bool = false
+    
     weak open var delegate: KMBGTemplateItemDelegate?
 
     var watermarkProperty: ComponentCardWMProperty = ComponentCardWMProperty(state: .normal, icon: nil, text: "Sample Text", editIcon: NSImage(named: "watermark_edit"), deleteIcon: NSImage(named: "pageEdit_delete"))
@@ -32,7 +36,7 @@ class KMBGTemplateItem: NSCollectionViewItem {
          
         watermarkItem.properties = watermarkProperty
         watermarkItem.delegate = self
-        
+//        watermarkItem.setTarget(self, action: #selector(itemClicked(_:)))
     }
     
     //Setter
@@ -54,6 +58,14 @@ class KMBGTemplateItem: NSCollectionViewItem {
         watermarkItem.reloadData()
         
     }
+    
+    @objc func itemClicked(_ item: ComponentCardWatermark) {
+        itemSelected = !itemSelected
+        
+        reloadData()
+        
+        delegate?.kmNBGTemplateItemDidUpdateSelectedState?(self)
+    }
 }
 
 

+ 17 - 1
PDF Office/PDF Master/KMClass/KMPDFViewController/EditTool/Background/Views/KMBackgroundPropertyController.swift

@@ -126,6 +126,7 @@ class KMBackgroundPropertyController: NSViewController {
         fileInputView.properties.propertyInfo.cornerRadius_bottomLeft = 0
         fileInputView.properties.propertyInfo.cornerRadius_bottomRight = 0
         fileInputView.reloadData()
+        fileInputView.delegate = self
         
         fileInputAddonView.properties = ComponentInputAddonProperty(size: .s,
                                                                     state: .normal,
@@ -402,12 +403,18 @@ class KMBackgroundPropertyController: NSViewController {
     }
     
     @objc func chooseURLAction(_ sender: NSView) {
+        self.chooseURLAction(sender, nil)
+    }
+    
+    func chooseURLAction(_ sender: NSView, _ filePath: String? = nil) {
         let openPanel = NSOpenPanel()
         openPanel.canChooseDirectories = false
         openPanel.canChooseFiles = true
         openPanel.allowsMultipleSelection = false
         openPanel.allowedFileTypes = ["jpg", "jpeg", "png", "pdf"]
-        
+        if let path = filePath {
+            openPanel.directoryURL = NSURL.fileURL(withPath: path)
+        }
         openPanel.beginSheetModal(for: self.view.window!) { (result) in
             if result == NSApplication.ModalResponse.OK {
                 guard let url = openPanel.url else { return }
@@ -624,3 +631,12 @@ extension KMBackgroundPropertyController: ComponentInputNumberDelegate {
         delegate?.backgroundPropertyControllerDidUpdate?(self)
     }
 }
+
+//MARK: - ComponentInputDelegate
+extension KMBackgroundPropertyController: ComponentInputDelegate {
+    func componentInputDidCoverButtonClicked(inputView: ComponentInput) {
+        if inputView.properties.text.count > 0 {
+            self.chooseURLAction(inputView, inputView.properties.text)
+        }
+    }
+}

+ 1 - 1
PDF Office/PDF Master/KMClass/KMPDFViewController/EditTool/Bates/Views/KMBatesTemplateController.swift

@@ -66,7 +66,7 @@ class KMBatesTemplateController: NSViewController {
         collectionView.layer?.backgroundColor = NSColor.clear.cgColor
         collectionView.delegate = self
         collectionView.dataSource = self
-        collectionView.allowsEmptySelection = true
+        collectionView.allowsEmptySelection = false
         collectionView.allowsMultipleSelection = false
         
         collectionView.register(KMBatesTemplateItem.self, forItemWithIdentifier: NSUserInterfaceItemIdentifier(rawValue: "KMBatesTemplateItem"))

+ 12 - 10
PDF Office/PDF Master/KMClass/KMPDFViewController/EditTool/SinglePagePDFController/KMEditDocumentController.swift

@@ -8,13 +8,13 @@
 import Cocoa
 
 class KMEditDocumentController: NSViewController {
-
+    
     var pdfDocument: CPDFDocument?
     
     var pdfView: CPDFListView = CPDFListView.init()
-
+    
     let coverView = NSView(frame: CGRectMake(0, 0, 300, 300))
-
+    
     override func viewDidLoad() {
         super.viewDidLoad()
         // Do view setup here.
@@ -25,22 +25,24 @@ class KMEditDocumentController: NSViewController {
         pdfView.autoScales = true
         view.addSubview(pdfView)
          
-        
     }
     
     func reloadData() {
         guard let pdfDocument = self.pdfDocument else { return }
         
-//        DispatchQueue.main.async {
-//            self.pdfView.document = pdfDocument
-//            self.pdfView.layoutDocumentView()
-//        }
-//        
+        DispatchQueue.main.async {
+            self.pdfView.document = pdfDocument
+            self.pdfView.layoutDocumentView()
+        }
+        
     }
     
     func refreshUI() {
         pdfView.updateRender(true)
-       
+        
+        DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + 0.15) {[weak self] in
+            self?.pdfView.updateRender(true)
+        }
     }
     
     func layoutDocumentView() {

+ 1 - 1
PDF Office/PDF Master/KMClass/KMPDFViewController/EditTool/Watermark/Views/Templates/KMNWatermarkTemplateController.swift

@@ -67,7 +67,7 @@ class KMNWatermarkTemplateController: NSViewController {
         collectionView.layer?.backgroundColor = NSColor.clear.cgColor
         collectionView.delegate = self
         collectionView.dataSource = self
-        collectionView.allowsEmptySelection = true
+        collectionView.allowsEmptySelection = false
         collectionView.allowsMultipleSelection = false
         
         collectionView.register(KMNWatermarkTemplateItem.self, forItemWithIdentifier: NSUserInterfaceItemIdentifier(rawValue: "KMNWatermarkTemplateItem"))

+ 1 - 1
PDF Office/PDF Master/KMClass/KMPDFViewController/HeaderFooter/Views/KMHFTemplateController.swift

@@ -64,7 +64,7 @@ class KMHFTemplateController: NSViewController {
         collectionView.layer?.backgroundColor = NSColor.clear.cgColor
         collectionView.delegate = self
         collectionView.dataSource = self
-        collectionView.allowsEmptySelection = true
+        collectionView.allowsEmptySelection = false
         collectionView.allowsMultipleSelection = false
         
         collectionView.register(KMHeaderTemplateItem.self, forItemWithIdentifier: NSUserInterfaceItemIdentifier(rawValue: "KMHeaderTemplateItem"))

+ 149 - 154
PDF Office/PDF Reader Pro.xcodeproj/xcuserdata/kdanmobile.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

@@ -3008,6 +3008,21 @@
                   endingLineNumber = "2651"
                   offsetFromSymbolStart = "2560">
                </Location>
+               <Location
+                  uuid = "18021D19-EAF7-4279-A121-953E8941B3AE - ce3d9fcaeb6c9df9"
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "PDF_Reader_Pro.KMMainViewController.kmEditToolbarViewDidChooseApply(PDF_Reader_Pro.KMEditToolbarView) -&gt; ()"
+                  moduleName = "PDF Reader Pro"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Users/kdanmobile/Documents/Git/PDF_Office/PDF%20Office/PDF%20Master/KMClass/KMPDFViewController/KMMainViewController.swift"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "2651"
+                  endingLineNumber = "2651"
+                  offsetFromSymbolStart = "1972">
+               </Location>
             </Locations>
          </BreakpointContent>
       </BreakpointProxy>
@@ -3103,6 +3118,36 @@
                   endingLineNumber = "4107"
                   offsetFromSymbolStart = "8420">
                </Location>
+               <Location
+                  uuid = "92759DD6-8CD9-4B54-BF74-D83EF6A6D5A5 - 1c7307af3eb14429"
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "PDF_Reader_Pro.KMMainViewController.enterRedact() -&gt; ()"
+                  moduleName = "PDF Reader Pro"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Users/kdanmobile/Documents/Git/PDF_Office/PDF%20Office/PDF%20Master/KMClass/KMPDFViewController/KMMainViewController.swift"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "4107"
+                  endingLineNumber = "4107"
+                  offsetFromSymbolStart = "6868">
+               </Location>
+               <Location
+                  uuid = "92759DD6-8CD9-4B54-BF74-D83EF6A6D5A5 - 1c7307af3eb14429"
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "PDF_Reader_Pro.KMMainViewController.enterRedact() -&gt; ()"
+                  moduleName = "PDF Reader Pro"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Users/kdanmobile/Documents/Git/PDF_Office/PDF%20Office/PDF%20Master/KMClass/KMPDFViewController/KMMainViewController.swift"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "4107"
+                  endingLineNumber = "4107"
+                  offsetFromSymbolStart = "6980">
+               </Location>
             </Locations>
          </BreakpointContent>
       </BreakpointProxy>
@@ -3166,6 +3211,36 @@
                   endingLineNumber = "4439"
                   offsetFromSymbolStart = "1952">
                </Location>
+               <Location
+                  uuid = "4E0E8246-D746-4D5F-A4A2-89C78AEA0880 - 4236ac58ecce8b1f"
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "PDF_Reader_Pro.KMMainViewController.enterPageEdit(Swift.Array&lt;Swift.Int&gt;) -&gt; ()"
+                  moduleName = "PDF Reader Pro"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Users/kdanmobile/Documents/Git/PDF_Office/PDF%20Office/PDF%20Master/KMClass/KMPDFViewController/KMMainViewController.swift"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "4439"
+                  endingLineNumber = "4439"
+                  offsetFromSymbolStart = "1372">
+               </Location>
+               <Location
+                  uuid = "4E0E8246-D746-4D5F-A4A2-89C78AEA0880 - 4236ac58ecce8b1f"
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "PDF_Reader_Pro.KMMainViewController.enterPageEdit(Swift.Array&lt;Swift.Int&gt;) -&gt; ()"
+                  moduleName = "PDF Reader Pro"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Users/kdanmobile/Documents/Git/PDF_Office/PDF%20Office/PDF%20Master/KMClass/KMPDFViewController/KMMainViewController.swift"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "4439"
+                  endingLineNumber = "4439"
+                  offsetFromSymbolStart = "1620">
+               </Location>
             </Locations>
          </BreakpointContent>
       </BreakpointProxy>
@@ -3920,38 +3995,6 @@
             landmarkType = "7">
          </BreakpointContent>
       </BreakpointProxy>
-      <BreakpointProxy
-         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
-         <BreakpointContent
-            uuid = "C001D5BB-1020-4302-BA96-6E3B917F26C1"
-            shouldBeEnabled = "Yes"
-            ignoreCount = "0"
-            continueAfterRunningActions = "No"
-            filePath = "PDF Master/KMClass/KMPDFViewController/EditTool/Background/Views/KMBackgroundPropertyController.swift"
-            startingColumnNumber = "9223372036854775807"
-            endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "501"
-            endingLineNumber = "501"
-            landmarkName = "mouseDown(with:)"
-            landmarkType = "7">
-         </BreakpointContent>
-      </BreakpointProxy>
-      <BreakpointProxy
-         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
-         <BreakpointContent
-            uuid = "AA785032-1B84-47DD-8EE0-C2DB84F207AF"
-            shouldBeEnabled = "Yes"
-            ignoreCount = "0"
-            continueAfterRunningActions = "No"
-            filePath = "PDF Master/KMClass/KMPDFViewController/EditTool/Watermark/Views/KMNWatermarkPropertyController.swift"
-            startingColumnNumber = "9223372036854775807"
-            endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "638"
-            endingLineNumber = "638"
-            landmarkName = "mouseDown(with:)"
-            landmarkType = "7">
-         </BreakpointContent>
-      </BreakpointProxy>
       <BreakpointProxy
          BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
          <BreakpointContent
@@ -4112,22 +4155,6 @@
             landmarkType = "7">
          </BreakpointContent>
       </BreakpointProxy>
-      <BreakpointProxy
-         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
-         <BreakpointContent
-            uuid = "427EB1CD-279A-43BC-9D94-8777F8A10E3A"
-            shouldBeEnabled = "Yes"
-            ignoreCount = "0"
-            continueAfterRunningActions = "No"
-            filePath = "KMComponentLibrary/KMComponentLibrary/View/Radio/ComponentRadio.swift"
-            startingColumnNumber = "9223372036854775807"
-            endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "156"
-            endingLineNumber = "156"
-            landmarkName = "mouseDown(with:)"
-            landmarkType = "7">
-         </BreakpointContent>
-      </BreakpointProxy>
       <BreakpointProxy
          BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
          <BreakpointContent
@@ -4144,22 +4171,6 @@
             landmarkType = "7">
          </BreakpointContent>
       </BreakpointProxy>
-      <BreakpointProxy
-         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
-         <BreakpointContent
-            uuid = "86F429B4-1EDF-42AA-BF12-87CB0DD36BF4"
-            shouldBeEnabled = "Yes"
-            ignoreCount = "0"
-            continueAfterRunningActions = "No"
-            filePath = "KMComponentLibrary/KMComponentLibrary/View/Input/ComponentInputAddon/ComponentInputAddon.swift"
-            startingColumnNumber = "9223372036854775807"
-            endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "247"
-            endingLineNumber = "247"
-            landmarkName = "mouseDown(with:)"
-            landmarkType = "7">
-         </BreakpointContent>
-      </BreakpointProxy>
       <BreakpointProxy
          BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
          <BreakpointContent
@@ -4176,38 +4187,6 @@
             landmarkType = "7">
          </BreakpointContent>
       </BreakpointProxy>
-      <BreakpointProxy
-         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
-         <BreakpointContent
-            uuid = "7AF07EC2-E67C-46C8-BFC7-EADB461D449B"
-            shouldBeEnabled = "Yes"
-            ignoreCount = "0"
-            continueAfterRunningActions = "No"
-            filePath = "KMComponentLibrary/KMComponentLibrary/View/Controller/Position/ComponentCPosition.swift"
-            startingColumnNumber = "9223372036854775807"
-            endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "221"
-            endingLineNumber = "221"
-            landmarkName = "mouseDown(with:)"
-            landmarkType = "7">
-         </BreakpointContent>
-      </BreakpointProxy>
-      <BreakpointProxy
-         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
-         <BreakpointContent
-            uuid = "9CCF5FE8-0CA4-43F9-839C-679D3F960694"
-            shouldBeEnabled = "Yes"
-            ignoreCount = "0"
-            continueAfterRunningActions = "No"
-            filePath = "KMComponentLibrary/KMComponentLibrary/View/Controller/Position/ComponentCPositionItem.swift"
-            startingColumnNumber = "9223372036854775807"
-            endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "117"
-            endingLineNumber = "117"
-            landmarkName = "mouseDown(with:)"
-            landmarkType = "7">
-         </BreakpointContent>
-      </BreakpointProxy>
       <BreakpointProxy
          BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
          <BreakpointContent
@@ -4653,54 +4632,6 @@
             </Locations>
          </BreakpointContent>
       </BreakpointProxy>
-      <BreakpointProxy
-         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
-         <BreakpointContent
-            uuid = "A719B4D9-2B0B-4D03-9922-F6DB6AB10272"
-            shouldBeEnabled = "Yes"
-            ignoreCount = "0"
-            continueAfterRunningActions = "No"
-            filePath = "PDF Master/Class/PDFWindowController/PDFListView/CPDFKitExtensions/CPDFListViewExtension/CPDFListView+Event.m"
-            startingColumnNumber = "9223372036854775807"
-            endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "5369"
-            endingLineNumber = "5369"
-            landmarkName = "-doDragBoundsWithEvent:"
-            landmarkType = "7">
-            <Locations>
-               <Location
-                  uuid = "A719B4D9-2B0B-4D03-9922-F6DB6AB10272 - 1a117e38cc35fa6b"
-                  shouldBeEnabled = "Yes"
-                  ignoreCount = "0"
-                  continueAfterRunningActions = "No"
-                  symbolName = "-[CPDFListView(Event) doDragBoundsWithEvent:]"
-                  moduleName = "PDF Reader Pro"
-                  usesParentBreakpointCondition = "Yes"
-                  urlString = "file:///Users/kdanmobile/Documents/Git/PDF_Office/PDF%20Office/PDF%20Master/Class/PDFWindowController/PDFListView/CPDFKitExtensions/CPDFListViewExtension/CPDFListView+Event.m"
-                  startingColumnNumber = "9223372036854775807"
-                  endingColumnNumber = "9223372036854775807"
-                  startingLineNumber = "5369"
-                  endingLineNumber = "5369"
-                  offsetFromSymbolStart = "1648">
-               </Location>
-               <Location
-                  uuid = "A719B4D9-2B0B-4D03-9922-F6DB6AB10272 - 1a117e38cc35fa6b"
-                  shouldBeEnabled = "Yes"
-                  ignoreCount = "0"
-                  continueAfterRunningActions = "No"
-                  symbolName = "-[CPDFListView(Event) doDragBoundsWithEvent:]"
-                  moduleName = "PDF Reader Pro"
-                  usesParentBreakpointCondition = "Yes"
-                  urlString = "file:///Users/kdanmobile/Documents/Git/PDF_Office/PDF%20Office/PDF%20Master/Class/PDFWindowController/PDFListView/CPDFKitExtensions/CPDFListViewExtension/CPDFListView+Event.m"
-                  startingColumnNumber = "9223372036854775807"
-                  endingColumnNumber = "9223372036854775807"
-                  startingLineNumber = "5369"
-                  endingLineNumber = "5369"
-                  offsetFromSymbolStart = "1640">
-               </Location>
-            </Locations>
-         </BreakpointContent>
-      </BreakpointProxy>
       <BreakpointProxy
          BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
          <BreakpointContent
@@ -4848,33 +4779,97 @@
       <BreakpointProxy
          BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
          <BreakpointContent
-            uuid = "60455479-4E8C-431F-8DD8-234DD757EACC"
+            uuid = "496F1237-F5A1-4EA4-A02D-C47E818BFC7F"
             shouldBeEnabled = "Yes"
             ignoreCount = "0"
             continueAfterRunningActions = "No"
-            filePath = "PDF Master/Class/PDFWindowController/PDFListView/CPDFKitExtensions/CPDFListViewExtension/CPDFListView+Event.m"
+            filePath = "KMComponentLibrary/KMComponentLibrary/View/Input/ComponentInput/ComponentInput.swift"
             startingColumnNumber = "9223372036854775807"
             endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "44"
-            endingLineNumber = "44"
-            landmarkName = "-mouseDown:"
+            startingLineNumber = "373"
+            endingLineNumber = "373"
+            landmarkName = "mouseUp(with:)"
             landmarkType = "7">
+            <Locations>
+               <Location
+                  uuid = "496F1237-F5A1-4EA4-A02D-C47E818BFC7F - 97d00fbdd5c99aa4"
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "KMComponentLibrary.ComponentInput.mouseUp(with: __C.NSEvent) -&gt; ()"
+                  moduleName = "KMComponentLibrary"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Users/kdanmobile/Documents/Git/PDF_Office/PDF%20Office/KMComponentLibrary/KMComponentLibrary/View/Input/ComponentInput/ComponentInput.swift"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "373"
+                  endingLineNumber = "373"
+                  offsetFromSymbolStart = "1196">
+               </Location>
+               <Location
+                  uuid = "496F1237-F5A1-4EA4-A02D-C47E818BFC7F - 97d00fbdd5c99aa4"
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "KMComponentLibrary.ComponentInput.mouseUp(with: __C.NSEvent) -&gt; ()"
+                  moduleName = "KMComponentLibrary"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Users/kdanmobile/Documents/Git/PDF_Office/PDF%20Office/KMComponentLibrary/KMComponentLibrary/View/Input/ComponentInput/ComponentInput.swift"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "373"
+                  endingLineNumber = "373"
+                  offsetFromSymbolStart = "292">
+               </Location>
+            </Locations>
          </BreakpointContent>
       </BreakpointProxy>
       <BreakpointProxy
          BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
          <BreakpointContent
-            uuid = "02F30535-8F42-451E-AFB8-0900E99CAED9"
+            uuid = "35B2CAFD-D1BA-4601-A604-94E0696AAE4C"
             shouldBeEnabled = "Yes"
             ignoreCount = "0"
             continueAfterRunningActions = "No"
-            filePath = "KMComponentLibrary/KMComponentLibrary/View/Select/ComponentSelect.swift"
+            filePath = "KMComponentLibrary/KMComponentLibrary/View/Input/ComponentInput/ComponentInput.swift"
             startingColumnNumber = "9223372036854775807"
             endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "509"
-            endingLineNumber = "509"
-            landmarkName = "componentGroupDidSelect(group:menuItemProperty:)"
+            startingLineNumber = "365"
+            endingLineNumber = "365"
+            landmarkName = "mouseDown(with:)"
             landmarkType = "7">
+            <Locations>
+               <Location
+                  uuid = "35B2CAFD-D1BA-4601-A604-94E0696AAE4C - 97d00fbdd5c99bbd"
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "KMComponentLibrary.ComponentInput.mouseUp(with: __C.NSEvent) -&gt; ()"
+                  moduleName = "KMComponentLibrary"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Users/kdanmobile/Documents/Git/PDF_Office/PDF%20Office/KMComponentLibrary/KMComponentLibrary/View/Input/ComponentInput/ComponentInput.swift"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "366"
+                  endingLineNumber = "366"
+                  offsetFromSymbolStart = "116">
+               </Location>
+               <Location
+                  uuid = "35B2CAFD-D1BA-4601-A604-94E0696AAE4C - 6a1e74244d5c8ea1"
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "KMComponentLibrary.ComponentInput.mouseDown(with: __C.NSEvent) -&gt; ()"
+                  moduleName = "KMComponentLibrary"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Users/kdanmobile/Documents/Git/PDF_Office/PDF%20Office/KMComponentLibrary/KMComponentLibrary/View/Input/ComponentInput/ComponentInput.swift"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "365"
+                  endingLineNumber = "365"
+                  offsetFromSymbolStart = "56">
+               </Location>
+            </Locations>
          </BreakpointContent>
       </BreakpointProxy>
    </Breakpoints>